AWS Classroomnotes 22/Dec/2022

Activity 1

  • Create an free tier eligible mysql rds instance
aws rds create-db-instance --db-instance-identifier "qtrdsfromclidec22" --db-instance-class "db.t3.micro" --engine "mysql" --master-username "qtdevops" --master-user-password "rootroot" --allocated-storage 20

aws rds delete-db-instance --db-instance-identifier "qtrdsfromclidec22" --skip-final-snapshot

* Add a read replica of the instance created above in other region
* promote the read replica and delete the primary instance created
* resize the instance left and then delete

  • Create a free tier eligible dynamo db table and then delete it
  • Create a snapshot for any rds instance.
  • Create an rds instance with the following
    • 10 days of backup
    • schedule window for maintenance is 12:30 to 1:30

CLI Introduction

  • Interactivity options with AWS
  • CLI helps us in interacting with AWS from command line
  • Commands can be combine to form scripts which can be run on windows or linux or mac.
  • Install aws cli and configure aws cli with access key and secret key

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner