Deploy VMware vRNI Cloud Proxy on VMC/ vSphere using Terraform vSphere Provider

In my previous post, I had shared the procedure for deploying VMware Cloud Proxy required for multiple Cloud Services such as vRLI Cloud, vRA Cloud 

In this blog, I will walk you through how to deploy VMware vRNI Cloud Proxy using Terraform vSphere Provider 

What is Terraform


Terraform provides Infrastructure as a Code to provision and manage any cloud, infrastructure, or service




Following are the pre-requisites

  1. Access to VMware vRNI Cloud Services OTK
  2. VMC /vSphere Endpoint Details are updated in terraform.tfvars
  3. This script assumes has outbound access as required by VMware vRNI Cloud Proxy from the Static IP being used in the terraform.tfvars file
  4. This script assumes that you have network connectivity to vCenter/ESXi host where it needs to be deployed
  5. This script assumes that you have outbound connectivity from where you are running the terraform code 



The script is published on my GitHub. It uses Terraform vSphere Provider


 Clone my git repository locally and navigate to the folder Deploy-CloudProxy



Update the terraform.tfvars with your environment details




Execute following commands


terraform init


terraform plan



terraform apply -auto-approve



In my environment, it took 20-25 mins to deploy Cloud Proxy on VMC. It will depend on how quick your connection is from where you are executing the script


Next, I will be also publishing script for vROPs Cloud Proxy


You can reach out to me via Twitter  if you need further details


Leave a Reply

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

%d bloggers like this: