pogzyb / deploy-flask-into-aws-with-terraform

Sample Flask app with Postgres db as well as the complete terraform code used to launch the app in AWS (ECS, RDS, ALB, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo project for deploying apps into AWS

0. Contents

  • src/
    • contains a simple Python Flask application, which is hooked up to Postgres Database
    • the application was updated to utilize "threads" and "js polling" for long-running background tasks
  • terraform/
    • contains the terraform code necessary to deploy the application into AWS
    • infrastructure components are all automatically provisioned when terraform apply is run

1. Prereqs

  • docker
  • terraform
  • aws account with aws-cli installed and configured

2. How-to

  • work-in-progress...

About

Sample Flask app with Postgres db as well as the complete terraform code used to launch the app in AWS (ECS, RDS, ALB, etc.)


Languages

Language:HCL 35.4%Language:Python 31.6%Language:HTML 29.8%Language:Dockerfile 2.6%Language:Shell 0.6%