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

To implement and configure the use of the VMware Aria Automation service with on-premises VMware Cloud Foundation environments, two alternative methods exist: by using the user interface of each component in the solution or by using open-source Terraform procedures. You can directly reuse these CLI commands by replacing the provided sample values with values from your VMware Cloud Foundation Planning and Preparation Workbook or adapt into your own Terraform modules

For information on the Cloud-Based Automation design, see Detailed Design for Cloud-Based Automation for VMware Cloud Foundation.

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 open-source 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.

Note:

To report issues, obtain support, or suggest enhancements to the open-source Terraform code, use GitHuib Issues in the GitHub repository.

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 13.1.0
    Install-Module -Name VMware.vSphere.SsoAdmin -MinimumVersion 1.3.9
    Install-Module -Name ImportExcel -MinimumVersion 7.8.5
    Install-Module -Name PowerVCF -MinimumVersion 2.3.0
    Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.6.0
  • Import the PowerValidatedSolutions and the PowerCLI PowerShell modules by running the following commands.
    Import-Module -Name VMware.PowerCLI -MinimumVersion 13.1.0
    Import-Module -Name PowerValidatedSolutions -MinimumVersion 2.6.0
Note:

To report issues, obtain support, or suggest enhancements to the open-source PowerShell Module, use GitHub Issues in the GitHub repository.