Deploying your website on AWS is a great way to take advantage of the scalability, reliability, and security that AWS has to offer, you’ll need to create a bucket in Amazon S3, which will serve as your website’s host. Once you’ve created your bucket, you can then upload your website’s files to it. Once your website’s files are uploaded, you can then create a CNAME record that points your domain name to your Amazon S3 bucket.
What will you Learn in the Project in Deploying a website on AWS?
- How to create MySQL Database on AWS?
- How to create an S3 Bucket? How to set up MySQL on a server?
- How to Run a website on the local host?
- How to Run a website on EC2 server?
- How to create IAM Role?
- How to create freenom Domain?
- How to create hosted zone in Route 53?
- How to create a Record set in Route 53?
Tools & Technologies Used
We will be using the following AWS services in the project:
- AWS EC2
- AWS RDS
- AWS S3
- AWS IAM
- AWS Route 53
Tasks Performed
The project is divided into the following tasks:
Task-1: Deploy MySQL DataBase on AWS
Task-2: Create S3 Bucket, Ubuntu server and connect to server
Task-3: Install MySQL Client on server and connect to RDS
Task-4: Create a Database and create a table
Task-5: Configure website and run the website on local host
Task-6: Create a repository in GitHub, push config file and run website on EC2 Server
Task-7: Create IAM Role for EC2 Service to give access to upload a data to S3
Task-8: Create domain on freenom and create hosted zone in Route 53 to connect freenom domain
Task-9: Create Record set to connect Route 53 service to EC2 server and access website