This message was deleted.
# general
s
This message was deleted.
w
If there are changes in the target app folder, it will re-
docker build
and
docker push
. The Fargate Service will then be updated to point to this new version of the image, which will trigger a rolling update using the minimum and maximum percentages you can specify.
a
*#*$&# freaking awesome!!! 😄
Im assuming with
const cluster = new awsx.ecs.Cluster("cluster");
I'm able to associate the cluster to a set of public subnets in a VPC so that it can talk to a DB in the private subnets?
If I associate a list of public subnets that reside in different AZs with the cluster, do you know the default deployment strategy of the Fargate tasks in Pulumi? Do they spread across all the AZs?
w
Yes - you can pass a
vpc
parameter to the cluster to associate it with that VPC.
I don’t know the precise spread strategy for Fargate, though I suspect it is documented by AWS.
a
awesome thanks!
w
FWIW: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
By default, Fargate tasks are spread across Availability Zones.