How to import vRA7 Blueprints as code

vRealize Automation has a ton of great new features that make it easier than ever to build and manage your hybrid cloud. In this guide I will walk you trough using the latest Cloud Client Command Line utility to import blueprints as code.

Pre-Reqs

  • An installation of vRealize Automation 7 – Enterprise Edition
  • A reservation with a static IP pool.
  • A CentOS 7 or RHEL 7 blueprint with vRA Agent installed and tested. See my guide here.
  • The Kuberenetes Blueprint code downloaded from here.
  • vRealize Cloud Client 4 downloaded and installed from here.
  • vRA Icon Pack downloaded from here
  • A quite place where you will not be interrupted

Importing Blueprints in vRealize Automation 7

First, let’s upload the Kubernetes blueprint using cloud client.

Login to cloud client as a cloud admin. You will need the Infrastructure Architect and Software Architect Roles in vRA

CloudClientLogin
vra login userpass --user cloudadmin --tenant vsphere.local --server https://vra-01a.corp.local --password VMware1!

Now import the blueprint you downloaded, make sure you specify the correct path and file name and press enter.

CloudClientImport

vra content import --path C:\temp\Kubernetes-composite-blueprint.zip --resolution OVERWRITE --precheck WARN --verbose

Now login to vRA and go to design tab and click on the Kubernetes Blueprint to edit it

You will need to update the Master and Minion to point to your template, snapshot (if using Linked Clones) and your customization Spec. Note: this blueprint uses Software Components so it will need to point to a template with the vRA 7 Automation Agent installed.

Now go to the Administration tab, Catalog Management, Catalog Items and change the icon and entitle it to a service.

Note, you will find the Kubernetes Icon in the icon pack.

Now your ready to fire off a new request, for more info on the Kubernetes Blueprint see here.

For information on exporting a blueprint you create. See my guide here!
Remember sharing is caring!

6 Replies to “How to import vRA7 Blueprints as code”

  1. Pingback: The vRA Software Components Ansible Integration – VMtoCloud.com

  2. Pingback: The vRA Guest Agent Ansible Integration – VMtoCloud.com

  3. Pingback: vRA with Ansible Server and vRO integration – VMtoCloud.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.