What is Amazon RDS (Relational Database Service)?

Amazon Relational Database Service (RDS) is a managed relational database service provided by Amazon Web Services (AWS). It simplifies the setup, operation, and scaling of relational databases in the cloud.

Useful AWS RDS CLI Commands:

Create a DB Instance:

aws rds create-db-instance --db-instance-identifier <identifier> --db-instance-class <class> --engine <engine> --master-username <username> --master-user-password <password> --allocated-storage <size> 
Enter fullscreen mode
Exit fullscreen mode

Delete a DB Instance:

aws rds delete-db-instance --db-instance-identifier <identifier> --skip-final-snapshot 
Enter fullscreen mode
Exit fullscreen mode

Modify a DB Instance:

aws rds modify-db-instance --db-instance-identifier <identifier> --apply-immediately --db-instance-class <new-class> 
Enter fullscreen mode
Exit fullscreen mode

Describe DB Instances:

aws rds describe-db-instances --db-instance-identifier <identifier> 
Enter fullscreen mode
Exit fullscreen mode

Reboot a DB Instance:

aws rds reboot-db-instance --db-instance-identifier <identifier> 
Enter fullscreen mode
Exit fullscreen mode

Create a DB Snapshot:

aws rds create-db-snapshot --db-snapshot-identifier <snapshot-identifier> --db-instance-identifier <instance-identifier> 
Enter fullscreen mode
Exit fullscreen mode

Describe DB Snapshots:

aws rds describe-db-snapshots --db-snapshot-identifier <snapshot-identifier> 
Enter fullscreen mode
Exit fullscreen mode

Restore DB Instance from Snapshot:

aws rds restore-db-instance-from-db-snapshot --db-instance-identifier <new-instance-identifier> --db-snapshot-identifier <snapshot-identifier> 
Enter fullscreen mode
Exit fullscreen mode

Create a Read Replica:

aws rds create-db-instance-read-replica --db-instance-identifier <replica-identifier> --source-db-instance-identifier <source-identifier> 
Enter fullscreen mode
Exit fullscreen mode

Promote Read Replica:

aws rds promote-read-replica --db-instance-identifier <replica-identifier> 
Enter fullscreen mode
Exit fullscreen mode

Read More and Learn More about AWS


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

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

Continue reading

Scroll to Top
Getting started in web development. Should you opt for hybrid app development ?.