AWS Flask Docker CI/CD Deployment
Budget: $10 – $30 USD
I have a small Python Flask application that needs to be live on AWS within the next couple of days. I already have the codebase ready; what I need is the full deployment pipeline put in place so future updates roll out smoothly.
Here’s what I’d like you to handle:
• Spin up and harden an AWS EC2 instance
• Install Docker and containerise the Flask app
• Configure Nginx as the reverse proxy in front of the container
• Set up CI/CD with Jenkins (my preferred tool) so that every push to the main branch rebuilds the image and redeploys automatically
• Apply basic security best-practices: firewall rules, SSL/TLS termination, and the appropriate IAM roles/policies for least-privilege access
Acceptance criteria
• App is reachable over HTTPS at the public DNS of the EC2 instance
• Jenkins pipeline runs end-to-end on a sample commit without manual intervention
• Dockerfile, Jenkinsfile, and nginx.conf are committed back to the repo with clear comments
• All AWS resources are tagged, and a brief README explains how to tear down or reproduce the setup
The task is straightforward but important to me; if everything goes smoothly, I’ll have plenty of follow-up work. Please include links or brief notes on similar deployments you’ve done so I can get a feel for your style.
Here’s what I’d like you to handle:
• Spin up and harden an AWS EC2 instance
• Install Docker and containerise the Flask app
• Configure Nginx as the reverse proxy in front of the container
• Set up CI/CD with Jenkins (my preferred tool) so that every push to the main branch rebuilds the image and redeploys automatically
• Apply basic security best-practices: firewall rules, SSL/TLS termination, and the appropriate IAM roles/policies for least-privilege access
Acceptance criteria
• App is reachable over HTTPS at the public DNS of the EC2 instance
• Jenkins pipeline runs end-to-end on a sample commit without manual intervention
• Dockerfile, Jenkinsfile, and nginx.conf are committed back to the repo with clear comments
• All AWS resources are tagged, and a brief README explains how to tear down or reproduce the setup
The task is straightforward but important to me; if everything goes smoothly, I’ll have plenty of follow-up work. Please include links or brief notes on similar deployments you’ve done so I can get a feel for your style.
Related categories:
Python
System Admin
Linux
Nginx
Amazon Web Services
Docker
Flask
Jenkins
DevOps
CI/CD