MENU

Fun & Interesting

Routing web traffic to your ECS Docker containers (using the AWS Application Load Balancer)

Tom Gregory 2,405 5 years ago
Video Not Working? Fix It Now

Learn how to attach your ECS Service to an Application Load Balancer, with a simple walk-through example you can try for yourself in CloudFormation. Discover all the AWS resources, including the Load Balancer Listener, Targets, and Target Groups. We'll use all these resources to scale your Docker application up for high availability. CLOUDFORMATION TEMPLATE Check out this GitHub Gist https://gist.github.com/tkgregory/995dbedbc30b3132d0559cde63f273e6 CLOUDFORMATION UPDATE STACK COMMAND (REMOVE NEWLINES) aws cloudformation update-stack --stack-name example-deployment --template-body file://./ecs.yml --capabilities CAPABILITY_NAMED_IAM --parameters ParameterKey=Subnet1ID,ParameterValue=subnet-id-1 ParameterKey=Subnet2ID,ParameterValue=subnet-id-2 ParameterKey=VPCID,ParameterValue=vpc-id PREVIOUS VIDEO Check out the previous video mentioned in this video https://youtu.be/fCUDwn_LO5Y

Comment