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

Packer.io For Building AMI #20

Open
cancan101 opened this issue Jan 11, 2016 · 3 comments
Open

Packer.io For Building AMI #20

cancan101 opened this issue Jan 11, 2016 · 3 comments

Comments

@cancan101
Copy link
Contributor

https://packer.io/ offers a way of scripting up AMI creation.
See for example: https://github.com/awslabs/cfncluster-cookbook/blob/develop/build_ami.sh

@ogrisel
Copy link
Contributor

ogrisel commented Jan 11, 2016

Thanks @cancan101. Please feel free to submit a PR if you wish to turn our scripts into something that can be used with packer to make it possible to re-generate the AMI from the command line.

@ogrisel
Copy link
Contributor

ogrisel commented Jan 11, 2016

Note that CUDA imposes a reboot in the middle of the image creation process. I am not sure how if this constraint will work well with packer...

@cancan101
Copy link
Contributor Author

  1. packer.io supports reboots. See: Handling Reboots.
  2. I think the reboot in the script is at the very end of the CUDA / Nvidia build. Theoretically you could break this into to AMI builds any ways. One for the CUDA + Nvidia part and one for the DL part.

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

No branches or pull requests

2 participants