In my previous posts, I had shared the procedure for following
- Deploying VMware Cloud Proxy required for multiple Cloud Services such as vRLI Cloud, vRA Cloud
- Deploying VMware vRNI Cloud Proxy
In this blog, I will walk you through how to deploy VMware vROPs Cloud Proxy using Terraform vSphere Provider
What is Terraform
Terraform provides Infrastructure as a Code to provision and manage any cloud, infrastructure, or service
Pre-requisites
Following are the pre-requisites
- Access to VMware vROPs Cloud Services OTK
- VMC /vSphere Endpoint Details are updated in terraform.tfvars
- This script assumes has DHCP enabled and has outbound access as required by VMware vROPs Cloud Proxy
- This script assumes that you have network connectivity to vCenter/ESXi host where it needs to be deployed
- This script assumes that you have outbound connectivity from where you are running the terraform code
Usage
The script is published on my GitHub. It uses Terraform vSphere Provider
https://github.com/munishpalmakhija/Terraform.git
Clone my git repository locally and navigate to the folder Deploy-vROPs-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
You can reach out to me via Twitter if you need further details
Awesome Sauce