Inventory Instances Then Image First
A 2-step recipe with Amazon EC2. We can help you get access.
Recipe · 2 steps
Inventory Instances Then Image First
with Amazon EC2 · IT Infrastructure Management
Page through described instances and image the first one found.
- Describe instances and branch on the NextToken cursor, looping while more pages remain and proceeding once the listing is complete.
- Create an AMI from the first instance discovered during paging.
What you'll need to have ready
- imageName: A name for the AMI captured from the first discovered instance.
- maxResults: The maximum number of instances to return per page.
For your developer
Arazzo workflow amazon-ec2:paginate-instances-then-image, 2 operations: DescribeInstances → CreateImage. Specs on APIs.io.