AWS Classroom Series – 09/Nov/2021

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 Preview

  • 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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube