DEV Community

Devops Den
Devops Den

Posted on

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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay