top of page

Deploying Multiple VMs with VCF Automation

  • Writer: Brock Peterson
    Brock Peterson
  • 19 minutes ago
  • 1 min read

We've discussed VM Deployments with VCF Automation several times before and published many Blueprints to GitHub. In this blog we'll discuss a VCF Automation Blueprint to deploy multiple VMs, let's go.


All screenshots here are taken from VCF Automation 8.18.1. My Blueprint starts like this.



I started with array input, requiring 3 fields:

  • vm_name

  • vm_display_name

  • vm_owner


I then ask for standard input for other items: size, os, network, and category.



Once I have all my inputs, I build the VMs like this.



Since I have a maximum of 10 VMs for this Blueprint, I have 10 of the Cloud_vSphere_Machine_x stanzas, but you can have whatever you want. If you'd like the full Blueprint you can get it here.


Click DEPLOY to try a deployment from here. Add your VM Names, VM Display Names, and VM Owner as instructed.



Select the Size, OS, Network, and Category and click DEPLOY. I've written this Blueprint such that all VMs will be the same Size, OS, Network, and Category, but one could just as easily make those array inputs in the YAML.



Once complete it will look like this, took a couple minutes to finish. Over in vCenter you'll see the 3 new VMs.



As expected, the VM Display Name and VM DNS Name show as expected. IPs were assigned based on our Network Profile IP Range. There are several ways to request multiple VMs per VCF Automation deployment, this is just one of them. Hope it was helpful!





Comments


    bottom of page