cmachler / aws-lambda-ebs-backups

Python scripts to be run using AWS's Lambda service to Backup and Delete Snapshots of EBS Volumes
MIT License
31 stars 21 forks source link

Backup Policy unable to take Sanpshot of Reserved Instances #10

Closed mkatkade closed 7 years ago

mkatkade commented 7 years ago

Hi @cmachler ,

I have created Backup and Retention policy for my EC2 instances. The policy is executing successfully, however it is unable to find any instance in any regions. I have 80 instances running in "US East (N. Virginia)" regions and all instances are reserved. PFA screenshot for reference and kindly suggest

ebs-backup-1 ebs-backup-2 ebs-backup-3

if any changes are required for reserved instances.

cmachler commented 7 years ago

You may want to check you have correct role assigned in the function. For troubleshooting you may want to create a test script to just print out the instances, and start troubleshooting. From what info you have provided I would have to guess its permissions related. I am closing the issue since I believe its permissions issue on your side, and you will need to troubleshoot that.

screenshot from 2017-07-12 06-00-14