diff --git a/README.md b/README.md new file mode 100644 index 0000000..75ac864 --- /dev/null +++ b/README.md @@ -0,0 +1,105 @@ +# Manual AWS EC2 Deployment Project + +A simple project demonstrating the manual deployment of a web application on an AWS EC2 instance using Nginx. This project serves as a practical guide for deploying static web content using AWS infrastructure. + +## 📋 Project Overview + +This project consists of a web application built with: +- HTML (19.9%) +- CSS (70.4%) +- JavaScript (9.7%) + +The application is configured to be deployed on an AWS EC2 instance using Nginx as the web server. + +## 🚀 Features + +- Step-by-step demonstration of manual EC2 deployment +- Nginx server configuration +- Static web application showcase +- AWS infrastructure setup guidelines + +## 🛠️ Prerequisites + +Before you begin, ensure you have: +- An AWS account +- Basic understanding of AWS EC2 +- Familiarity with Nginx +- Basic knowledge of HTML, CSS, and JavaScript + +## 📦 Installation & Deployment Steps + +1. **AWS EC2 Setup** + ```bash + # Clone this repository + git clone https://github.com/Bunny0311/manual-aws-ec2-deployment- + ``` + +2. **Launch EC2 Instance** + - Launch an EC2 instance in your AWS Console + - Choose an appropriate AMI (e.g., Amazon Linux 2 or Ubuntu) + - Configure security groups to allow HTTP (port 80) and SSH (port 22) + +3. **Install Nginx** + ```bash + # For Ubuntu + sudo apt update + sudo apt install nginx + + # For Amazon Linux + sudo amazon-linux-extras install nginx1 + ``` + +4. **Deploy Application** + - Copy the web application files to your EC2 instance + - Configure Nginx to serve your application + +## ⚙️ Configuration + +### Nginx Configuration Example +```nginx +server { + listen 80; + server_name your_domain.com; + + root /path/to/your/application; + index index.html; + + location / { + try_files $uri $uri/ =404; + } +} +``` + +## 🔒 Security Considerations + +- Keep your EC2 instance updated +- Use secure SSH keys for instance access +- Configure AWS security groups properly +- Implement HTTPS using SSL/TLS certificates + +## 🚦 Usage + +1. Access your application through your EC2 instance's public IP or domain +2. Navigate through the web interface +3. Monitor server logs for any issues: + ```bash + sudo tail -f /var/log/nginx/error.log + ``` + +## 👥 Contributing + +Contributions are welcome! Please feel free to submit a Pull Request. + +## 📝 License + +This project is open source and available under the [MIT License](LICENSE). + +## 📧 Contact + +- GitHub: [@Bunny0311](https://github.com/Bunny0311) + +## 🙏 Acknowledgments + +- AWS Documentation +- Nginx Documentation +- The web development community diff --git a/README.txt b/README.txt deleted file mode 100644 index 31b8d04..0000000 --- a/README.txt +++ /dev/null @@ -1,33 +0,0 @@ -Phantom by HTML5 UP -html5up.net | @ajlkn -Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) - - -This is Phantom, a simple design built around a grid of large, colorful, semi-interactive -image tiles (of which you can have as many or as few as you like). Makes use of some -SVG and animation techniques I've been experimenting with on that other project of mine -you may have heard about (https://carrd.co), and includes a handy generic page for whatever. - -Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images -you can use for pretty much whatever. - -(* = not included) - -AJ -aj@lkn.io | @ajlkn - - -Credits: - - Demo Images: - Unsplash (unsplash.com) - - Icons: - Font Awesome (fortawesome.github.com/Font-Awesome) - - Other: - jQuery (jquery.com) - html5shiv.js (@afarkas @jdalton @jon_neal @rem) - Misc. Sass functions (@HugoGiraudel) - Respond.js (j.mp/respondjs) - Skel (skel.io) \ No newline at end of file diff --git a/Screenshorts/Screenshot 2025-10-22 030351.png b/Screenshorts/Screenshot 2025-10-22 030351.png new file mode 100644 index 0000000..5ac6f37 Binary files /dev/null and b/Screenshorts/Screenshot 2025-10-22 030351.png differ diff --git a/Screenshorts/Screenshot 2025-10-22 030431.png b/Screenshorts/Screenshot 2025-10-22 030431.png new file mode 100644 index 0000000..9adfb61 Binary files /dev/null and b/Screenshorts/Screenshot 2025-10-22 030431.png differ diff --git a/Screenshorts/Screenshot 2025-10-22 031854.png b/Screenshorts/Screenshot 2025-10-22 031854.png new file mode 100644 index 0000000..1641fbe Binary files /dev/null and b/Screenshorts/Screenshot 2025-10-22 031854.png differ diff --git a/Screenshorts/Screenshot 2025-10-22 031951.png b/Screenshorts/Screenshot 2025-10-22 031951.png new file mode 100644 index 0000000..1f47389 Binary files /dev/null and b/Screenshorts/Screenshot 2025-10-22 031951.png differ diff --git a/Screenshorts/Screenshot 2025-10-22 032006.png b/Screenshorts/Screenshot 2025-10-22 032006.png new file mode 100644 index 0000000..ac99495 Binary files /dev/null and b/Screenshorts/Screenshot 2025-10-22 032006.png differ diff --git a/Screenshorts/Screenshot 2025-10-22 032020.png b/Screenshorts/Screenshot 2025-10-22 032020.png new file mode 100644 index 0000000..9de38c4 Binary files /dev/null and b/Screenshorts/Screenshot 2025-10-22 032020.png differ