In this video I show you how to deploy a Python FastAPI app on AWS ECS Fargate. I also show how to attach an application load balancer to the service.
Please consider liking if you found the video useful and subscribe for more!
Subscribe here: https://www.youtube.com/channel/UCKId3YaJ-uQ0Z4PMEGtg88A?sub_confirmation=1
Link to code: https://github.com/mhkamal1/ecs-sample
Installing AWS CLI: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Setup CLI Authentication: https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-user.html
00:00 Intro
00:16 Create ECR repository
00:44 Build Image and upload to ECR
03:40 Create task definition
06:00 Create ECS Cluster and Service
09:40 Demo!
10:05 Attach Application Load Balancer
11:45 Demo with Application Load Balancer
12:17 Wrap-up