Skip to content

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

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...