Packer as a Service

Hi all. Anyone has experience in using packer.io functionality as a service? I’d like to setup a machine on premise with a service for building and provisioning images that I can contact from remote clients.
Is it possible to interact with the core of packer.io through REST?
Alternatively is it possible to build images from templates accessed through http urls instead of file system?
Or do I have to set things up on my own?
Thank you very much.

I have (in the past) setup a Packer build job under Nomad as a parametrized job.

User submits parameters like the branch and a few other things.

The jobs ends up executing on a cloud VM (under an IAM role) and emits an AMI.

Once you “think in Nomad”, you can easily model the questions you are asking;
artifact stanza for downloading the json, etc.

HTH.

1 Like