Test Flask app to run in AWS. App is deployed via docker-compose.
For test purposes ec2 instance is bootstrapped in public subnet.
DO NOT USE IN PRODUCTION!
- S3 bucket
- DynamoDB table
- IAM credentials
- public key added:
keys/id_rsa.pub
- Set AWS credentials
terraform init
terraform plan
terraform apply
- Update app.py file
terraform apply
terraform destroy