Implementing the Cloud-Based Automation for VMware Cloud Foundation validated solution includes activating the vRealize Automation Cloud service, preparing your VMware Cloud Foundation instance, and establishing a connection between the two.

For information on the cloud-based automation design, see Detailed Design for Cloud-Based Automation.

Prerequisites

To complete the implementation of Cloud-Based Automation for VMware Cloud Foundation validated solution, verify that your system fulfills the following prerequisites.

Table 1. Prerequisites for Implementation of Cloud-Based Automation for VMware Cloud Foundation

Category

Prerequisite

Environment

Active Directory
  • Verify that Active Directory Domain Controllers are available in the environment.
  • Verify that the required service accounts are created in Active Directory.
Certificate Authority

If you want to use the infrastructure-as-code method for the implementation and configuration of the Cloud-Based Automation for VMware Cloud Foundation validated solution, verify that your system fulfills the following prerequisites.

Table 2. Prerequisites for CLI Implementation of Cloud-Based Automation for VMware Cloud Foundation

CLI Method

Prerequisite

Terraform

The Terraform procedures are based on the use of Microsoft Windows.

  • Install the PowerValidatedSolutions PowerShell module together with the supporting modules from the PowerShell Gallery (see the following PowerShell prerequisites section).
  • Verify that your system has Terraform 1.2.0 or later installed. See https://terraform.io.

  • Verify that your system has a code editor installed. For installing Microsoft Visual Studio Code, see Visual Studio Code.

  • Install the Terraform Visual Studio Code extension 2.23 or later by HashiCorp for syntax highlighting and other editing features for Terraform files. See HashiCorp Terraform.

  • Verify that your system has access to https://registry.terraform.io.

    The Terraform procedures use the following Terraform providers:

  • Clone the GitHub repository for this solution. See https://github.com/vmware-samples/validated-solutions-for-cloud-foundation.

    For example, if you are using Git on Windows, run the following commands:

    mkdir vvs
    cd vvs
    git clone https://github.com/vmware-samples/validated-solutions-for-cloud-foundation.git
    cd validated-solutions-for-cloud-foundation/cba
    cd terraform-solution-implementation
    dir
  • By default, each Terraform example uses the local backend and stores the state locally in a file named terraform.tfstate. If you want to use the examples shared with a team, implement a remote state backend. See Remote State.

PowerShell
  • Verify that your system has Microsoft PowerShell 5.1 installed. See Microsoft PowerShell.
  • Install the PowerValidatedSolutions PowerShell module together with the supporting modules from the PowerShell Gallery by running the following commands.
    Install-Module -Name VMware.PowerCLI -MinimumVersion 12.7.0
    Install-Module -Name VMware.vSphere.SsoAdmin -MinimumVersion 1.3.8
    Install-Module -Name ImportExcel -MinimumVersion 7.1.1
    Install-Module -Name PowerVCF -MinimumVersion 2.2.0
    Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.0.0
  • Import the PowerValidatedSolutions and the PowerCLI PowerShell modules by running the following commands.
    Import-Module -Name VMware.PowerCLI -MinimumVersion 12.7.0
    Import-Module -Name PowerValidatedSolutions -MinimumVersion 2.0.0