Stopping an Amazon RDS DB Instance Temporarily
问题 Is there a way to create a cron job in AWS that automatically starts / stops the DB everyday ? 回答1: You can use AWS Lambda Scheduled Events to start and stop the RDS Server writing code using AWS SDK for RDS. You can use startDBInstance and stopDBInstance methods. Following example shows how to stop the DB instance using AWS SDK for NodeJS. var params = { DBInstanceIdentifier: 'STRING_VALUE', /* required */ DBSnapshotIdentifier: 'STRING_VALUE' }; rds.stopDBInstance(params, function(err, data)