Building Azure Image from AWS Instance

14 views
Skip to first unread message

myapp

unread,
Aug 6, 2018, 5:48:25 AM8/6/18
to Packer
Hello Team

We are building our product Appliances in AWS, Azure, GC and VMware. Current process is tedious where we build the appliances separately for each provider. Is there a way by which I can create images for all the providers from single source instance. Source instance can run on AWS or VMware.

regards

Rickard von Essen

unread,
Aug 6, 2018, 7:07:11 AM8/6/18
to packe...@googlegroups.com
You can use qemu and the *-import post-processors to import it into all three cloud providers. But you have to care for all the difference between them in the same build.

Note that there is a googlecompute-import since v 1.2.5 but the link in the docs index got lost on the site, but you can find it on:

Just a word of warning in my own opinion it's most likely not worth optimizing build time by increasing complexity. Maybe it's better optimizing the install process of the software to make it faster to build all three images. Or build in layers so most of the time you only have to rebuild to small/fast top layer. 

/ Rickard 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d8aefa6f-e89c-407d-8e88-fbafde2f07cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages