09/06/2022, 11:58 PM
Hello! I'm trying to figure out if Pulumi is right for my org. The ability to declaratively specify and track my architecture in my chosen languages i intriguing, but one thing that seems to be missing is the ability to build vm images with a config so I can achieve immutable deployments. This is of course possible to do for docker images with dockerfiles, but it isn't possible with VM's (as far as I know). Is there a supplementary tool that people use for this purpose? I came across Hashicorp's "Packer”, which seems to be the kind of thing I'm looking for, but I'm curious if the community has particular tools that they have found work well with Pulumi. The specific features I need are • ability to produce vm images • ability to deterministically specify images via config • ideally, integration with OpenStack


09/07/2022, 12:35 AM
It is possible for AWS, via AWS Image Builder, which is fully supported through Pulumi.


09/07/2022, 12:35 AM
Hey Augustine, let us look at your questions and respond by tomorrow. We appreciate the interest.


09/07/2022, 2:49 PM
There is also hashicorp packer for this purposes ( automation vm image building )
👍 1
Sorry, not read completely your question.)


09/08/2022, 1:47 PM
You can definitely use Packer or AWS Image Builder for your AMI pipeline process - whichever you prefer. If you place your app's code in the AMI, then you'd want your AMI pipeline to trigger a
pulumi up -y
at the end, and just target
. This will cause the latest version of your app to be deployed.
If you want to integrate everything into a single Pulumi program and you're using Packer, you can use the Command provider to run the
command, but I would probably do my AMI and infra code in separate steps because creating an AMI can take a while and if it fails, you want a faster feedback loop.