To shutdown (stop) and start a Relational Database Service (RDS) instance in AWS, you can follow these steps:
Stopping an RDS Instance
- Sign in to the AWS Management Console: Go to the AWS Management Console and sign in with your credentials.
- 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.
- 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.
- 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.
- Confirm the Stop Action: A confirmation dialog will appear. Confirm that you want to stop the instance by clicking “Stop.”
Starting an RDS Instance
- Sign in to the AWS Management Console: Go to the AWS Management Console and sign in with your credentials.
- Navigate to the RDS Dashboard: In the AWS Management Console, open the RDS dashboard.
- 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.
- 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.
- 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
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND