Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.55 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.55 KB

Flask-Nginx in EC2 instances

Flask application powered by Waitress WSGI server to display a basic html website in an EC2 instance using NGINX to port forward HTTP calls to the html contents making it accessible to the internet from the EC2 public IP address.

The repo comes with configuration scripts for EC2 instance images for Amazon Linux, Ubuntu, and Windows. To use them, copy the script content inside the User Data section when creating the instance.

AMI Script
Amazon Linux amazon.conf
Ubuntu ubuntu.conf
Windows windows.conf

Nginx-Only in EC2 instances

Display a basic html website in an EC2 instance using NGINX to port forward HTTP calls to the html contents making it accessible to the internet from the EC2 public IP address.

The repo comes with configuration scripts for EC2 instance images for Amazon Linux, Ubuntu, and Windows. To use them, copy the script content inside the User Data section when creating the instance.

AMI Script
Amazon Linux amazon.conf
Ubuntu ubuntu.conf
Windows windows.conf