Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

AWS Tutorials: How to Shutdown (Stop / Start) Relational Database Service?

To shutdown (stop) and start a Relational Database Service (RDS) instance in AWS, you can follow these steps:

Stopping an RDS Instance

  1. Sign in to the AWS Management Console: Go to the AWS Management Console and sign in with your credentials.
  2. Navigate to the RDS Dashboard: In the AWS Management Console, open the RDS dashboard by searching for “RDS” in the services menu or directly selecting “RDS” from the services list.
  3. Select the RDS Instance: In the RDS dashboard, select “Databases” from the navigation pane to view your instances. Find the RDS instance you want to stop.
  4. Stop the Instance:
    • Select the checkbox next to the RDS instance you want to stop.
    • Click on the “Actions” dropdown menu.
    • Choose “Stop” from the list of actions.
  5. Confirm the Stop Action: A confirmation dialog will appear. Confirm that you want to stop the instance by clicking “Stop.”

Starting an RDS Instance

  1. Sign in to the AWS Management Console: Go to the AWS Management Console and sign in with your credentials.
  2. Navigate to the RDS Dashboard: In the AWS Management Console, open the RDS dashboard.
  3. Select the RDS Instance: In the RDS dashboard, select “Databases” from the navigation pane to view your instances. Find the RDS instance you want to start.
  4. Start the Instance:
    • Select the checkbox next to the RDS instance you want to start.
    • Click on the “Actions” dropdown menu.
    • Choose “Start” from the list of actions.
  5. Confirm the Start Action: A confirmation dialog will appear. Confirm that you want to start the instance by clicking “Start.”

AWS Command Line Interface (CLI) to stop and start an RDS instance

Stop RDS Instance:

$ aws rds stop-db-instance --db-instance-identifier your-db-instance-identifier

Start RDS Instance:


$ aws rds start-db-instance --db-instance-identifier your-db-instance-identifier

Replace your-db-instance-identifier with the identifier of your RDS instance.

Script for Stopping and Starting RDS Instance

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x