Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to create an EBS optimized instance #740

Closed
rmg opened this issue Dec 21, 2013 · 5 comments · Fixed by #2806
Closed

No way to create an EBS optimized instance #740

rmg opened this issue Dec 21, 2013 · 5 comments · Fixed by #2806
Labels

Comments

@rmg
Copy link

rmg commented Dec 21, 2013

Every time I try to create a launch instance with a provisioned IOPS root, packer sits waiting while the EC2 console tells me the instance was terminated due to an invalid configuration.

AFAICT, using provisioned IOPS requires --ebs-optimized be set on the instance itself.

Am I missing something?

@mitchellh
Copy link
Contributor

Is there a public AMI I could use to reproduce this?

@rmg
Copy link
Author

rmg commented Dec 23, 2013

I've been trying to do it with both Amazon (http://aws.amazon.com/amazon-linux-ami/) and Ubuntu (http://cloud-images.ubuntu.com/locator/ec2/) with the same results.

I was hoping I could do something like use provisioned IOPs for the launch_block_device_mappings to speed up the package installation phase of my packer builds.

@mitchellh
Copy link
Contributor

You actually can do this using launch_block_device_mappings by making sure to set "volume_type" equal to "io1" and setting the iops. I think you'll have to select the proper snapshot ID too. This isn't any different than the console launching the thing, although the console prepopulates some fields for you.

@michaeldauria
Copy link

I believe this may have been closed by mistake: https://github.com/mitchellh/goamz/blob/master/ec2/ec2.go#L259

@rmg
Copy link
Author

rmg commented Dec 14, 2014

I didn't have time to dig into it earlier, but mitchellh/goamz#94 does indeed look like it adds to the goamz library what I was looking for.

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants