Homework 7 (AWS)
Due Apr 22, total of 100 points
Description
In this final assignment, you will deploy your grading application to the cloud using Amazon Web Services (AWS) EC2:
- Set up an AWS account and navigate the AWS Management Console
- Launch and configure an EC2 instance
- Deploy your Django application to the EC2 instance
- Configure security settings and networking for your deployed application
Your tasks include:
- AWS Setup:
- Create an AWS account (if you don't already have one)
- Explore the AWS Management Console
- Set up IAM users and configure appropriate permissions
- EC2 Instance Setup:
- Launch an EC2 instance with an appropriate Amazon Machine Image (AMI)
- Configure security groups to allow necessary inbound/outbound traffic
- Generate and use a key pair for secure SSH access
- Application Deployment:
- Install necessary software on the EC2 instance (e.g., Python, Django, database)
- Transfer your application code to the EC2 instance
- Configure your Django settings for production environment
- Web Server Configuration:
- Install and configure a web server (Nginx)
- Configure your web server to proxy requests to the Django server
- Final Steps:
- Set up a domain name (optional) and configure DNS
- Implement basic monitoring and logging
Requirements:2>
- Document each step of your deployment process
- Implement proper security measures (HTTPS)
- Ensure your application is accessible and functioning correctly on the public internet
Note: Be cautious with AWS resources to avoid unexpected charges. Remember to shut down resources when not in use.