To give a background,
Im follwing the above guide from amazon to create a s3 backed AMI from ebs based ec2 instance.
Basically, it involves the following 3 steps:
- Bundle the volume using ec2-bundle-vol
- Upload the bundle to s3 using ec2-upload-bundle
- Register the newly created AMI using ec2-register
The first two steps are working just fine. I have bundled and uploaded the data to s3 but while registering i get the following error.
Client.InvalidManifest: Invalid block device mapping: Invalid virtual name 'ebs0'
Does the new AMI still uses EBS? If so, How do i force it to use S3?
Should i use --block-device-mapping in any one of the step?
Thanks in advance.