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

Possibility to create AMI from a local image #84

Closed
moulip opened this issue Mar 23, 2017 · 3 comments
Closed

Possibility to create AMI from a local image #84

moulip opened this issue Mar 23, 2017 · 3 comments

Comments

@moulip
Copy link

moulip commented Mar 23, 2017

It would be cool to have the possibility to create an AMI from a locally created VM.

For instance with aws shell, after having uploaded the OVA on S3
aws ec2 import-image --description "WAB_504" --disk-containers file:///myfile.json

@fxaguessy
Copy link
Contributor

This can now be done with this awless template. Run it with the latest version of awless on master :

awless run repo:upload_image -v

You have to specify the bucket in which the image will be copied, a description, and the VM filepath.

After running the template, you can monitor the progress of the AMI building with awless list importimagetasks. When the task is over, don't forget to remove the object on s3 with awless delete s3object

@moulip
Copy link
Author

moulip commented May 12, 2017

Good to know ;-)
I'll give it a try and be back to you ASAP with my feedback !
Thx

@fxaguessy
Copy link
Contributor

This is now in v0.0.24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants