Skip to content

Flask application and Nginx server to deploy in EC2 instance.

Notifications You must be signed in to change notification settings

shyguyCreate/ec2-webpage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Flask application and Nginx server to deploy in EC2 instance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published