Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shyguycreate/ec2-webpage
Flask application and Nginx server to deploy in an EC2 instance.
https://github.com/shyguycreate/ec2-webpage
aws ec2 flask nginx python waitress web
Last synced: about 1 month ago
JSON representation
Flask application and Nginx server to deploy in an EC2 instance.
- Host: GitHub
- URL: https://github.com/shyguycreate/ec2-webpage
- Owner: shyguyCreate
- Created: 2024-11-09T22:36:32.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-10T04:22:34.000Z (about 1 month ago)
- Last Synced: 2024-11-10T05:19:51.677Z (about 1 month ago)
- Topics: aws, ec2, flask, nginx, python, waitress, web
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](/user-data/flask-nginx/amazon.conf) |
| Ubuntu | [ubuntu.conf](/user-data/flask-nginx/ubuntu.conf) |
| Windows | [windows.conf](/user-data/flask-nginx/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](/user-data/nginx-only/amazon.conf) |
| Ubuntu | [ubuntu.conf](/user-data/nginx-only/ubuntu.conf) |
| Windows | [windows.conf](/user-data/nginx-only/windows.conf) |