How do I use a Lambda function to stop an Amazon RDS instance for longer than 7 days? @amazonwebservices
How do I use a Lambda function to stop an Amazon RDS instance for longer than 7 days?  @amazonwebservices
Uploaded September 2026 | Updated November 2026, 10 hours ago
Need to keep an RDS instance stopped for more than a week? Bridget shows how to use tagged Lambda functions and EventBridge schedules to get past the 7-day automatic restart.

0:00 Introduction

0:43 Create the IAM policy

1:26 Create the IAM role for Lambda

1:50 Add autostart and autostop tags

2:30 Create the start Lambda function

3:18 Create the stop Lambda function

3:40 Test both functions

4:16 Schedule with EventBridge rules

5:17 Closing

For more information, see the Knowledge Center article:
https://repost.aws/knowledge-center/rds-stop-seven-days

This video is part of the AWS Knowledge Center series: trusted, expert-reviewed answers to common questions across AWS services.

Subscribe to AWS: https://go.aws/subscribe

Create a free AWS account: https://go.aws/signup
Try AWS for free: https://go.aws/free
Connect with an expert: https://go.aws/contact
Explore more: https://go.aws/more

Next steps:
Explore on AWS in Analyst Research: https://go.aws/reports
Discover, deploy, and manage software that runs on AWS: https://go.aws/marketplace
Join the AWS Partner Network: https://go.aws/partners
Learn more on how Amazon builds and operates software: https://go.aws/library

Do you have technical AWS questions?
Ask the community of experts on AWS re:Post: https://go.aws/3lPaoPb

Why AWS?
Amazon Web Services is the world’s most comprehensive and broadly adopted cloud, enabling customers to build anything they can imagine. We offer the greatest choice of innovative cloud capabilities and expertise, on the most extensive global infrastructure with industry-leading security, reliability, and performance.

#AWS #AmazonWebServices #CloudComputing
How do I use a Lambda function to stop an Amazon RDS instance for longer than 7 days?Think Quick | TeaserGameDay: Real Estate Adventure (Assembly Required)GameDay Rapid Rewind: Real Estate Adventure | Amazon Web ServicesHow CloudZero Helps Customers Optimize Cloud Costs on AWS | Amazon Web ServicesKereis Modernizes Insurance CX with Amazon Connect Customer | Amazon Web ServicesThink Quick | TeaserHow do I upgrade my ElastiCache for Redis or Valkey engine version?How do I use SMTP to send emails through Amazon SES?Amazonian Like thatAWS for Telecom: Modernize, Transform, Elevate Experiences, Grow | Amazon Web ServicesAmazon SageMaker demo: Data quality monitoring | Amazon Web Services
Amazon Web Services |

How do I use a Lambda function to stop an Amazon RDS instance for longer than 7 days?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER