How to stop and start RDS instance in AWS using Python

I’ve been working on a project that requires us to shutdown and startup our development databases to save costs.. I’ve come up with a python script to perform the tasks.

This could be modified to your own requirements.

Here is the code:

Print Friendly, PDF & Email


  1. Hi ,

    Whether above script loops through and stops the db instance.
    For me , it checks only first db instance, i used the same code as above.

Leave a Reply

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

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