Designing your first Cloud Assembly blueprint for vSphere
Install & Configuration
0
In my previous post I configured a vSphere Cloud Zone including Flavor- and Image Mappings, Storage- and Network Profiles. In this post I will walk you through how to design your first Cloud Assembly blueprint for vSphere using the Cloud Account, Cloud Zone and all other configurations you setup in the previous posts.
Create your first vSphere Blueprint
- In Cloud Assembly under the Blueprint tab click New.
- Enter a name for the blueprint and select your Project. Click Create.
- From the left menu drag a vSphere Machine and a vSphere Network component to the canvas. In the right pane of the blueprint screen, the YAML editor, infrastructure-as-code will automatically be generated for the selected components.
- Let’s modify the YAML code of the vSphere Machine.
- Remove the following lines:
- cpuCount: 1
- total MemoryMB: 1024
- Add a image value to the image property. For example, image: ‘centos’
- Add a flavor property with a value. For example, flavor: ‘small’
- Drag a connection from the vSphere Machine to the vSphere Network component. In the YAML code, a network dependency will automatically be created.
- Remove the following lines:
- Now, modify the vSphere network YAML code.
- Under the networks property, add a assignment property with the value static. (If you want your IP address to be assigned by DHCP, set the value to dynamic)
- Enter a name for the network.
- Add a Constraints property followed by a tag. Add the tag you used for the vSphere network which has an IP-range configured. For example, ‘ipam:true‘.
- In the blueprint screen, click Version.
- Enter a version number and optionally a Description and Change Log. Click Create.
- In the blueprint screen, click Deploy.
- Select Create a new deployment.
- Enter a Deployment Name.
- Select the Blueprint Version and click Deploy.
- In Cloud Assembly under the Deployments tab, you can see the progress of your deployment.
- When the deployment is successfull, the status of the deployed Resources are shown.
- Under Networks, you can check if the VM is given a Static IP address from the configured IP-range.
- And finally, login to vCenter to check if the VM is running.
In my next post I wil show you how to integrate your on-premises Puppet Enterprise environment with Cloud Assembly and use Puppet Roles for deploying software.
Other articles in the series Cloud Automation Services:
- So Cloud Automation Services are here, what’s next? How can I use it?
- Deploying a Data Collector for Cloud Assembly
- Setting up a vSphere Cloud Zone in Cloud Assembly
- Designing your first Cloud Assembly blueprint for vSphere
- Integrate Puppet with Cloud Assembly
- How to create a Cloud Agnostic service in Cloud Assembly
- Using input parameters to create dynamic blueprint requests in Cloud Automation Services
- How to use remote access authentication in your Cloud Assembly deployments
- Cloud Automation Services in action
- Customizing your CAS deployment using Cloud-Init
- Onboard existing workloads in Cloud Automation Services
- Opensource Configuration Management tools integration with Cloud Automation Services – Part 1
- Opensource Configuration Management tools integration with vRealize Automation Cloud – Part 2
Related Posts:
- Setting up a vSphere Cloud Zone in Cloud Assembly by Dimitri De Swart
- So Cloud Automation Services are here, what's next?… by Dimitri De Swart
- Using input parameters to create dynamic blueprint… by Anne Jan Elsinga
- Integrate Puppet with Cloud Assembly by Dimitri De Swart
- Deploying a Data Collector for Cloud Assembly by Dimitri De Swart
Dimitri de Swart
Dimitri is an IT professional with more than 20+ years of experience. He now works for NetApp as a Sr Solution Architect Cloud with broad and in-depth knowledge of SDDC solutions, managing Private-, Public- and Hybrid Cloud, Modern Applications and DevOps. Dimitri also worked for VMware as a Cloud Management Specialist and is VMware VSP, VTSP, VCP and VCAP certified. Also AWS Certified Solutions Architect, DevOps DASA certified and a VMware vExpert.
Related Posts
Leave a Reply Cancel reply
You must be logged in to post a comment.