AWS CLI Commands for creation, operations, deletion of RDS
-
Refer Here for the rds cli page
-
Lets create a mysql free tier instance (db.t2.micro)
-
All the create commands have suffix of create, we have identified create-db-instance as the command Refer Here for the documentation
-
Refer Here for the commands used to create the database (note we have a windows version in ps1 file and linux/mac version in .sh file)
-
Lets try to find the status of the database we created Refer Here
-
Lets try to find the endpoint of the database. Refer Here for the changes

-
Now lets try to delete the db Refer Here for the changeset
-
Activity:
- Create a security group with 3306 port opened for all and make a note of security group id and name (you can use console)
- Create a multi az db-instance with mysql engine
- instance class db.t2.micro
- allocated storage 20
- publically accessible
- give any instance name and db-name
- Refer Here for the changeset
