Automate the creation of EC2 instance from a VMDK in an S3 Bucket?

0

Currently I'm using the VM Import/Export to manually stand up EC2 instances from VMDKs stored on an S3 bucket. While this is great for small scale use cases, I'd ideally like the ability to cram this into a CloudFormation template so I can scale/automate the process. My Google-Fu isn't strong enough for me to find the correct way of doing this, or if it's even possible so I'm hoping the folks that browse Re:Post might have some experience.

The ideal workflow would be having an S3 bucket full of VMDKs. Then uploading a CFT stack that would build the VPC, route table, subnets, yadda, yadda, yadda, then spin up instances based on the VMDKs. Any and all help is appreciated. Thanks!

AWS
asked 2 years ago546 views
1 Answer
1
Accepted Answer

I imported via VM Import/Export, turned the images into AMIs, and used EC2 Image Builder console wizard to create an image pipeline. That made this work.

AWS
answered 2 years ago
profile picture
EXPERT
reviewed 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions