我对 Amazon RDS 有疑问。我想根据需要启动/停止 AWS RDS 实例。 AWS 控制台不允许我这样做。
我知道的唯一方法是拍摄 rds 实例的快照并将其删除,然后在需要时使用该快照创建 rds 实例。 使用 Boto 有没有更好的方法来实现相同的目标?
请您参考如下方法:
假设你可以使用 boto3...
开始: http://boto3.readthedocs.io/en/latest/reference/services/rds.html#RDS.Client.start_db_instance
停止: http://boto3.readthedocs.io/en/latest/reference/services/rds.html#RDS.Client.stop_db_instance
