How to Deploy Flask App on AWS ECS using AWS Fargate?

preview_player
Показать описание
This tutorial will show you how we can deploy an flask app on AWS fargate within a container.

💥CloudWays COUPON CODE: CLOUDGURU25
☝️☝️ USE THE EXCLUSIVE COUPON CODE ABOVE TO GET 25% OFF FOR 3 MONTHS💥

Topics covered in this video:
Create a docker image for the flask app
Push it to AWS ECR (Elastic Container Registry)
Started an ECS Task on AWS serverless Fargate
Access the flask API from web browser

#awsfargate #awsecs #flask
Рекомендации по теме
Комментарии
Автор


💥CloudWays COUPON CODE: CLOUDGURU25
☝☝ USE THE EXCLUSIVE COUPON CODE ABOVE TO GET 25% OFF FOR 3 MONTHS💥

CloudGurus
Автор

Hello, nice tutorial. I'm having a challenge deploying my task. I'm using poetry in my flask application. The task exits immediately after deploying it on aws. This is what I get in the logs "exec /usr/local/bin/poetry: exec format error". Will be glad for your help.

boatengjohnson
Автор

Great tutorial! Quick question, how come the docker container gets routed to port 5000? In your code, it shows all your mappings are for port 8000, where did 5000 come from? Thanks for your help!

simonl