Is anyone on here provisioning and configuring VMs on Proxmox, in a programmatic way?
I'm hoping to get something going with vagrant, ansible, etc, and/or perhaps the Proxmox API. I have several proxmox nodes in a cluster.
Specifying a KVM template, hardware specifics (disk size, VLAN id etc), and then being able to create, boot and execute a script or ansible playbook to configure that VM or group of VMs is the goal.
Right now I'm manually cloning a KVM template, doing a git check out of shell script(s), and running them to configure the VM for a specific role, along with setting IP info and hostname, and setting appropriate VLAN .. at a minimum.
Whenever I bring up a new "stack" there are several VMs involved, so the whole process is quite tedious (LDAP, web apps, mail, database, storage stuff, VoIP etc). Like I said I have some shell scripts, but id love to be able to abra-cadabra from my macbook, specify variable information in .yaml file or similar .. and have a new stack sitting on my proxmox cluster, with the correct packages, apache confs, and networking info etc.
I've been doing some of this with Docker on KVM, but theres just some stuff that doesn't lend well to that (dockerizing VoIP for example, or Postfix, or legacy apps with complex upgrade paths.. I'm probably preaching to the choir here)
In short, I want to automate bringing up a new "customer stack" with several VMs together, even just to demo for a customer and then blow it away without wasting tons of time.
I'm just overwhelmed by the amount of automation and virtualization/containerization stuff out there.. its really insane! ansible, docker, vagrant, openstack, the list goes on and on and on.
I do like proxmox and already have it running and have a teeny experience with ansible and vagrant now (and lots of docker actually)..
Thanks for any info.
I'm hoping to get something going with vagrant, ansible, etc, and/or perhaps the Proxmox API. I have several proxmox nodes in a cluster.
Specifying a KVM template, hardware specifics (disk size, VLAN id etc), and then being able to create, boot and execute a script or ansible playbook to configure that VM or group of VMs is the goal.
Right now I'm manually cloning a KVM template, doing a git check out of shell script(s), and running them to configure the VM for a specific role, along with setting IP info and hostname, and setting appropriate VLAN .. at a minimum.
Whenever I bring up a new "stack" there are several VMs involved, so the whole process is quite tedious (LDAP, web apps, mail, database, storage stuff, VoIP etc). Like I said I have some shell scripts, but id love to be able to abra-cadabra from my macbook, specify variable information in .yaml file or similar .. and have a new stack sitting on my proxmox cluster, with the correct packages, apache confs, and networking info etc.
I've been doing some of this with Docker on KVM, but theres just some stuff that doesn't lend well to that (dockerizing VoIP for example, or Postfix, or legacy apps with complex upgrade paths.. I'm probably preaching to the choir here)
In short, I want to automate bringing up a new "customer stack" with several VMs together, even just to demo for a customer and then blow it away without wasting tons of time.
I'm just overwhelmed by the amount of automation and virtualization/containerization stuff out there.. its really insane! ansible, docker, vagrant, openstack, the list goes on and on and on.
I do like proxmox and already have it running and have a teeny experience with ansible and vagrant now (and lots of docker actually)..
Thanks for any info.