# RDS instance snapshot and restore

**URL:** <https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [October 12, 2016, 9:54pm UTC](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781 "2016-10-12T21:54:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony2](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@Tony2](https://forum.ansible.com/u/Tony2)\
**Post date:** [October 12, 2016, 9:54pm UTC](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781/1 "2016-10-12T21:54:26Z")

</div>

Hi All,  
I am trying to create a playbook intend to create an RDS MySQL snapshot and then create a restore form the snapshot. I used the aws cli locally and it works but don’t know how to translate the commands in a ansible playbook. In my understanding Ansiblee use ssh but I can’t ssh the rds instance. Anybody can help me?

Thanks

Tony

---

<div class="post-metadata">

**Author:** ![Alexander\_H\_Laughlin](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Alexander\_H\_Laughlin](https://forum.ansible.com/u/Alexander_H_Laughlin)\
**Post date:** [October 13, 2016, 9:45pm UTC](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781/2 "2016-10-13T21:45:47Z")

</div>

The appropriate documentation is here:

[http://docs.ansible.com/ansible/rds\_module.html](http://docs.ansible.com/ansible/rds_module.html)

And you can find best practices and a style guide here:

[http://docs.ansible.com/ansible/playbooks\_best\_practices.html](http://docs.ansible.com/ansible/playbooks_best_practices.html)
