AWS ECS Deploy Containerized Flask Application

Overview

  1. Create an AWS Account
  2. Install and Configure AWS CLI
  3. Install Docker
  4. Create or clone flask application with a Dockerfile
  5. Create Docker Image from Dockerfile
  6. Run and View Docker Image Locally
  7. Create Repository in ECS Registry

Create Docker Image from Dockerfile

Run Docker Image

Create Repository in Elastic Container Registry

Execute the command below to create a repository in the elastic container registry

Authenticate with newly created ECR repo

Push to newly authenticated repo