vRA 8 + NSX-T Blog Series Part 3: vRA 8 Blueprint with Existing Security Group (network profile)
You can create a vRA 8 blueprint to deploy machines and place them in existing NSX-T security group(s) using a network profile.
Note that with this method, however, any and all security groups that you select in the network profile will be applied to the machines. If you have multiple machines in a blueprint and want to specify which security group each machine should use, then use vRA tag or segment port tag (refer to series part 4 & 5 for those methods).
Demo Product Versions
- vSphere 6.5 U3
- vRA 8.0.1 (including vRSLCM and vIDM)
- NSX-T 2.5.1
- vSAN 6.6.1
- NSX-T account connected
- Basic infrastructure configured (Projects, Cloud Zones, Flavor Mappings, Image Mappings)
- Security group(s) configured
- Create or edit a network profile.
- Select which existing security groups you’d like to use.
- Create a blueprint with Cloud Agnostic Machine and NSX Network objects.
- Create inputs in the blueprint to customize the machine name.
Demo / Example
Configure Network Profile
- Go to “Infrastructure” > “Network Profiles” (under Configure) and click “+ NEW NETWORK PROFILE” (or you can choose to edit an existing network profile).
- Choose an account/region and give the profile a name.
- Configure existing networks or on-demand networks.
- Go to “Security Groups” tab and select “+ ADD SECURITY GROUP”.
- Select security group(s) that you’d like to apply.
- Save the network profile.
Create and Configure Blueprint
- Go to “Blueprints” and Click “+ NEW” to create a new blueprint.
- Give a name to the blueprint and choose a project.
- Drag on a Cloud Agnostic Machine and a NSX Network onto the canvas. Note that you do not need to add the Security Group object to the blueprint.
- Connect the Cloud Agnostic Machine to the NSX Network on the canvas.
- On the right side in the YAML file, choose an image and size for the machine.
- network:, add the line
assignment: staticto give a static IP address to the machine from the IP range we’ve created.
- For the NSX network, change the
propertiesaccordingly depending on whether you have configured existing or on-demand networks in the network profile. In this demo, I’ll be using an on-demand network.
- Click “TEST”.
- Click “DEPLOY” to create a new deployment.
- Give it a deployment name, choose “Current Draft”, the click “DEPLOY”.