09 CC Experiment-12
09 CC Experiment-12
Faculty of Technology
Department of Information and Communication Technology
Subject: Cloud Computing Aim: Create RDS using AWS.
Experiment No: 12 Date: 16/04/2024 Enrolment No: 92110133014
4. You will now add a rule to the security group to permit inbound database requests.
5. In the Inbound rules pane, choose Add rule
The security group currently has no rules. You will add a rule to permit access from the
Web Security Group.
6. Configure the following settings:
a. Type: MySQL/Aurora (3306)
b. CIDR, IP, Security Group or Prefix List: Type sg and then select Web
Security Group.
Marwadi University
Faculty of Technology
Department of Information and Communication Technology
Subject: Cloud Computing Aim: Create RDS using AWS.
Experiment No: 12 Date: 16/04/2024 Enrolment No: 92110133014
7. This configures the Database security group to permit inbound traffic on port 3306 from
any EC2 instance that is associated with the Web Security Group.
8. Choose Create security group
You will use this security group when launching the Amazon RDS database.
14. Expand the list of values under Availability Zones and select the first two zones: us-east-
1a and us-east-1b.
15. Expand the list of values under Subnets and select the subnets associated with the
CIDR ranges 10.0.1.0/24 and 10.0.3.0/24.
These subnets should now be shown in the Subnets selected table.
16. Choose Create
You will use this DB subnet group when creating the database in the next task.
28. This will turn off backups, which is not normally recommended, but will make the
database deploy faster for this lab.
29. Choose Create database
Your database will now be launched.
If you receive an error that mentions "not authorized to perform: iam:CreateRole", make
sure you unchecked Enable Enhanced monitoring in the previous step.
30. Choose lab-db (choose the link itself).
You will now need to wait approximately 4 minutes for the database to be available. The
deployment process is deploying a database in two different Availability zones.
While you are waiting, you might want to review the Amazon RDS FAQs or grab a cup of
coffee.
31. Wait until Info changes to Modifying or Available.
32. Scroll down to the Connectivity & security section and copy the Endpoint field.
It will look similar to: lab-db.cggq8lhnxvnv.us-west-2.rds.amazonaws.com
33. Paste the Endpoint value into a text editor. You will use it later in the lab.
35. To copy the WebServer IP address, choose on the Details drop down menu above these
instructions, and then choose Show.
36. Open a new web browser tab, paste the WebServer IP address and press Enter.
The web application will be displayed, showing information about the EC2 instance.
37. Choose the RDS link at the top of the page.
You will now configure the application to connect to your database.
38. Configure the following settings:
Marwadi University
Faculty of Technology
Department of Information and Communication Technology
Subject: Cloud Computing Aim: Create RDS using AWS.
Experiment No: 12 Date: 16/04/2024 Enrolment No: 92110133014
39. A message will appear explaining that the application is running a command to copy
information to the database. After a few seconds the application will display an Address
Book.
The Address Book application is using the RDS database to store information.
40. Test the web application by adding, editing and removing contacts.
The data is being persisted to the database and is automatically replicating to the second
Availability Zone.
Marwadi University
Faculty of Technology
Department of Information and Communication Technology
Subject: Cloud Computing Aim: Create RDS using AWS.
Experiment No: 12 Date: 16/04/2024 Enrolment No: 92110133014
Conclusion:
->At the end of this Lab, I learned about how we can create relational databases in AWS, what
are settings that we need to configure,and
->Also, what are the important configuration that we need to save for the result we want.