Skip to main content

04. Create MySQL Database using Amazon RDS

Learn how to create, manage, snapshot, and delete a MySQL RDS instance using the Standard Create option in the AWS Management Console.


πŸͺœ 1. Navigate to RDS​

  1. Sign in to the AWS Management Console.
  2. Open the Amazon RDS service.
  3. In the left panel, select Databases.
  4. Click Create database.

βš™οΈ 2. Choose Creation Method​

OptionDescription
Easy CreateAutomatically uses recommended settings.
Standard CreateAllows full customization.

πŸ‘‰ Select Standard Create.

🧩 3. Choose Database Engine​

OptionSelection
Engine typeMySQL
EditionMySQL Community
Version8.0.23 (recommended)

🧱 4. Choose a Template​

Select Free Tier to use the AWS Free Tier benefits.
This automatically configures low-cost defaults.

πŸͺͺ 5. Settings​

SettingValue
DB identifierdatabase-1
Master usernameadmin
Master passwordRandom1234 (enter twice)

πŸ’» 6. DB Instance Configuration​

SettingValue
DB instance classdb.t2.micro
Storage typegp2 (SSD)
Allocated storage20 GB
Storage autoscalingβœ… Enabled (max 1000 GB)

🌐 7. Connectivity​

OptionSetting
Virtual Private Cloud (VPC)Default or custom
Public accessYes (to connect from your local machine)
VPC security groupCreate new β†’ demo-database-rds
Availability ZoneNo preference
Database port3306

πŸ” 8. Authentication​

OptionSetting
Authentication methodPassword authentication

Leave additional configuration options as default.

πŸš€ 9. Create the Database​

  1. Review your settings.
  2. Click Create database.
  3. Wait for the status to change from Creating β†’ Available.

πŸ“Š 10. View and Monitor​

Once available:

  • Check Connectivity & Security for the Endpoint and Port.
  • View Monitoring to see CPU utilization, storage, and connections.
  • Explore Logs & Events, Configuration, and Backups tabs.
IAM Roles Example

πŸ“Έ 11. Create a Snapshot​

  1. Select your database.
  2. Choose Actions β†’ Take Snapshot.
  3. Enter name: demo-snapshot.
  4. Wait until the snapshot status is Available.

♻️ 12. Restore or Copy Snapshot​

ActionPurpose
Restore SnapshotCreate a new database from a snapshot.
Copy SnapshotDuplicate it to another region (Disaster Recovery).
Share SnapshotShare with another AWS account.

🧹 13. Clean Up​

  1. Delete snapshot
    • Select it β†’ Actions β†’ Delete Snapshot.
  2. Delete database
    • Select DB β†’ Actions β†’ Delete.
    • Disable β€œCreate final snapshot.”
    • Disable β€œRetain automated backups.”
    • Type delete me β†’ Confirm.

βœ… Result​

You have:

  • Created a MySQL RDS instance
  • Taken and managed database snapshots
  • Learned to monitor, restore, copy, and delete RDS resources