Setup a vCloud Air Endpoint in vRealize Automation
Every company nowadays want to do ‘something’ with cloud services. For this POC I had one use case proving we could deploy workloads to vCloud Air just like you would deploying the to the local vSphere infrastructure.
vCloud Air is available as a subscription service and OnDemand, providing more purchasing options. With vCloud Air OnDemand, you have instant access to infrastructure that can be managed by the same group that administers your on-premises vSphere environment. With this service, you are only billed for the resources you use on a per-minute basis, and pay only for the resources you consume. With vCloud Air subscription offering, you get a predictable monthly bill and ability to purchase cloud with a purchase order.
vRealize Automation is at its best when you position it as a Cloud Management Platform (CMP) leveraging multiple infrastructures to deliver a hybrid cloud infrastructure. The combination of both vRealize Automation and vCloud Air lends you tools to become more agile and enable various use cases that are not found in the traditional data center.
To start, we need to have a vCloud Air account which will enable you to setup a VDC and will have some catalogs that you can build virtual machines from.
- A vRealize Automation 6.1.x or 6.2.x Advanced or Enterprise installation;
- Access to vCloud Air OnDemand or subscription services;
- Infrastructure Administrator rights on vRealize Automation;
- Account Administrator rights on vCloud Air.
Login to vCloud Air
Next, log in to vCloud Air and go to your Virtual Data Center Details and select Cloud Provider Access from the menu on the right side (click image for enlargement).
Write down the details provided, you need these to connect vRealize Automation to vCloud Air.
In my case the address is: http://p6v1-vcd.vchs.vmware.com:433 and the Organization Name: Mxxxxxxxxx-xxxx.
NOTE: Because I encountered some problems with my Internet connection, it looked like my setting where wrong. Researching the settings to use I encountered numerous documents incorrectly stating you need to add ‘/org’ or ‘/api/compute’.
Configure a vRealize Automation Endpoint
To utilize resources in vRealize Automation like vSphere, or in our case vCloud Air, you will need to configure an endpoint in vRealize Automation. An endpoint is a connection for the management of that particular resource. It defines; What type of service the resource is (Cloud, Physical, Storage, Virtual), where it is located (by URL, IP), and the credentials for accessing that resource.
To configure a vCloud Air endpoint, login to the vRealize Automation Console and navigate to the Infrastructure Tab. From there, you will want to select the Endpoints tab from the left-hand menu. On the right top select ‘New Endpoint’ and ‘Cloud’ and ‘vApp (vCloud)’.
Give the new Endpoint a name a description and provide the credentials you used in step 1 and the Address and Organisation Name you wrote down.
- Name – This is a tag, used for you to identify the connection.
- Address – This is the actual OnDemand API URL for your environment. The format will be ‘https://region-name.vchs.vmware.com/api/compute’.
- Credentials – The Credential entry must be an Account Administrator. This is the top level role and is needed for two reasons:
- It has access to create and manage virtual machines,
- It has the ability to create small console-only accounts on behalf of your users, so they can access a console of their provisioned machines.
- Organization – The Organization is a unique ID, used to identify your specific environment in your OnDemand region.
When done your Endpoints should look something like this.
Perform Data Collection
Once the endpoints have been created, you will to perform a Data Collection to discover the new Cloud Air instance and its content. Since Data Collection requires a good cloud connection with valid credentials, it is a great way to check the health of your new endpoints. To perform the data collection, hover over the vCloud Air endpoint you just configured and select the ‘Data Collection’ option.
Select ‘Start‘ and you will see a Data Collection is requested. The first Data Collection may take a while to complete. Finally you should receive a message stating that ‘ Endpoint Data Collection succeeded‘.
Create a reservation
We’re almost done but the last step to take is creating a reservation(s). Go to ‘Infrastructure’, select ‘Reservations’ and again ‘Reservations’. Now add a new reservation by selecting ‘new Reservation‘ and ‘vApp (vCloud)‘.
You’ll need to select the compute resource, a name for the reservation, the tenant to assign it to and a business group. You’ll also need to add a priority to this reservation in order for blueprints to decide which reservation to use first if multiple reservations exist.
On the resource tab you need to reserve an amount of memory and storage.
And on the Network tab, select the network you want to use to connect the virtual machines to.
Now you’re good to go and start making Blueprints to deploy to vCloud Air, but I will handle that in another article in the series.
Other articles in the series vRealize Automation:
- Infoblox & vRealize Automation, Setup IPAM endpoint
- Infoblox & vRealize Automation, Install Infoblox IPAM plugin
- Setup provisioning of vCloud Air workloads
- Setup a vCloud Air Endpoint in vRealize Automation
- Setup Postgres database high availability for vRealize Automation
- Setup vRealize Automation Cost profiles & currency
- Speed up vRealize Automation life cycle updates
- Configure vRealize Automation not to delete virtual machines
- Track infrastructure changes with vRealize Automation Data Collection
- MS SQL high availability support for vRealize Automation
- Setup the vRealize Automation prerequisites for IaaS
- vRealize Automation: How to …
- Downgrade the vRealize Automation license
- vRealize Automation 7 – New Architecture & Installation
- vRealize Automation 7 – Improved Authentication
- vRealize Automation 7 – Converged Blueprints
- vRealize Automation 7 – LifeCycle Extensibility
- How to transfer vRealize Automation payload to Orchestrator
- Automation is not difficult with vRealize Automation 7
- vRA custom host name using Orchestrator and Event Broker
- How to deliver Database-as-a-Service with vRealize Automation
- Prepare Windows for vRA software deployment
- Missing endpoints after upgrading to vRealize Automation 7.3
- How to run Containers as a Service – Part 1
- How to run Containers as a Service – Part 2
- Infoblox & vRealize Automation, IP Address Management (IPAM) made easy
- How to run Containers as a Service – Secure Docker communications
- Create a new database user using vRealize Automation XaaS
- Infoblox & vRealize Automation, Infoblox NIOS setup
- Infoblox & vRealize Automation, vRA setup
- vRealize Automation failed requests monitoring
- vRealize Automation 7.2 released
- How to specify a deployment target when using vRealize Automation
- vRealize Suite just became a lot easier with Lifecycle Manager
The founder and driving force behind VMGuru. With over 20 years experience in IT, he now works as a Cloud Management Specialist at VMware Benelux. He worked as technical consultant, pre-sales and solutions architect for several systems integrators.
He’s a long time VMware VCP, VCP Desktop, VCA, VSP and VTSP, vExpert Cloud (2017) and 9 year vExpert (2009 – 2017).