The create Amazon EBS Snpashots action in policies.
search cancel

The create Amazon EBS Snpashots action in policies.

book

Article ID: 379962

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

When using the create Amazon EBS snapshots action in a policy 

Where does the snapshot go?

What is snapshot named?

What tags are added?

Also when send to a webhook what information is included in the message? 

Resolution

When using the create Amazon EBS snapshots action in a policy 


- Where does the snapshot go?
[Answer]: In AWS, It is created in the AWS Account and Region that the Volume is in. In CloudHealth, we also create the Asset as a part of the Action in the Snapshot asset report here:   https://apps.cloudhealthtech.com/assets/aws/ec2/snapshots 


-What is snapshot named?
[Answer]: It is named after the volume name. We create snapshots by calling the AWS API passing it the volume name and any description if present. By default AWS creates a snapshot by prepending the word "snap-" to the volume id digits and removing the "vol-" that precedes the digits.


-What tags are added?
[Answer]: We do not add any tags.  


-Also when send to a webhook what information is included in the message? 
[Answer]: The webhook template can be modified to include the desired information as explained here:
https://docs.vmware.com/en/VMware-Tanzu-CloudHealth/SaaS/using-and-managing-vmware-tanzu-cloudhealth/GUID-integrating-with-third-party-services.html?hWord=N4IghgNiBcIO4FMBGALA9mg1iAvkA#create-and-test-a-webhook-2