Installing Ops Manager on GCP

Page last updated:

This topic describes how to install Ops Manager on Google Cloud Platform (GCP).

It includes resource requirements, prerequisites, instructions for installing Ops Manager on GCP, and additional resources.

Overview

You can install Ops Manager on GCP with either the VMware Tanzu Application Service for VMs (TAS for VMs) or VMware Tanzu Kubernetes Grid Integrated Edition (TKGI) runtime. There are resource requirements specific to each runtime. Ensure you meet the requirements for your runtime and the requirements specific to GCP before installing Ops Manager on GCP.

Requirements

This section lists the following resource requirements for installing Ops Manager on GCP:

Ops Manager Resource Requirements

This section lists resource requirements for installing Ops Manager on GCP. It includes general resource requirements for both the TAS for VMs and TKGI runtimes.

View one of the following, depending on your runtime:

TAS for VMs Resource Requirements

The following are general resource requirements for deploying and managing an Ops Manager deployment with TAS for VMs:

  • TAS for VMs requires sufficient IP allocation. The following lists the minimum required IP allocations:
    • One static IP address for either HAProxy or one of your Gorouters
    • One static IP address for each job in the each tile. See the Resource Config pane for each tile for a full list.
    • One static IP address for each job listed below:
      • Consul
      • NATS
      • File Storage
      • MySQL Proxy
      • MySQL Server
      • Backup Restore Node
      • HAProxy
      • Router
      • MySQL Monitor
      • Diego Brain
      • TCP Router
    • One IP for each VM instance created by the service.
    • An additional IP address for each compilation worker. Use the following formula to determine the total IPs required: IPs needed = static IPs + VM instances + compilation workers.
    • VMware recommends that you allocate at least 36 dynamic IP addresses when deploying Ops Manager with TAS for VMs. BOSH requires additional dynamic IP addresses during installation to compile and deploy VMs, install TAS for VMs, and connect to services.
  • VMware recommends using a network without DHCP for deploying TAS for VMs VMs.

    Note: If you have DHCP, refer to the Troubleshooting Guide to avoid issues with your installation.

TKGI Resource Requirements

For TKGI-specific resource requirements, see GCP Prerequisites and Resource Requirements.

GCP Resource Requirements

The following are GCP-specific resource requirements for installing Ops Manager on GCP:

  • Installing Ops Manager on GCP requires a minimum of the following VM instance limits in your GCP account. The number of VMs required depends on the number of tiles and availability zones you plan to deploy. The following VM guidelines apply to the TAS for VMs and Small Footprint TAS for VMs runtimes:

    • TAS for VMs: At a minimum, a new GCP deployment requires the following custom VMs for TAS for VMs and Ops Manager:
      VM Count vCPU Count per VM RAM (GB)
      28 1 1
      2 2 1
      3 1 2
      4 2 4
      3 2 8
      3 4 16

      Note: If you are deploying a test or sandbox deployment that does not require high availability, then you can scale down the number of VM instances in your deployment. For more information, see Scaling TAS for VMs.

    • Small Footprint TAS for VMs: At a minimum, a new GCP deployment requires the following VMs to run Small Footprint TAS for VMs:
      VM Type VM Count vCPU Count per VM RAM (GB) Notes
      Small Footprint TAS for VMs micro 11 1 1 Add 1 to VM count if using HAProxy
      small 3 1 2
      highcpu 1 2 2
      xlarge.disk 1 4 16
      xlarge 1 4 16
      medium.mem 1 1 6
      large.disk 1 2 8
      Ops Manager large.disk 1 2 8
      large.cpu 4 4 4
    • TKGI: See GCP Prerequisites and Resource Requirements.
  • (TAS for VMs-only) Your GCP project must have sufficient quota to deploy all the VMs needed to install Ops Manager with TAS for VMs. For a list of suggested quotas, see Recommended GCP Quotas.

Prerequisites

To install Ops Manager on GCP, you must do the following:

  • Install the Google Cloud SDK on your machine and authenticate it to your GCP account. To download the Google Cloud SDK, see Google Cloud SDK.

  • Increase or remove the VM instance limits in your GCP account. For VM instance requirements, see GCP Resource Requirements.

  • Update your GCP account with the following required permissions:

    • The following permissions are required to create firewalls, networks, load balancers, and other resources:
      • Compute Engine > Compute Instances Admin (beta)
      • Compute Engine > Compute Network Admin
      • Compute Engine > Compute Security Admin
    • To use Google Cloud Storage (GCS) for Cloud Controller file storage, the following permission is required to create buckets:
      • Storage > Storage Admin
    • To use Cloud DNS, the following permission is required to add and modify DNS entries:
      • Project > Owner
  • Create an SSL certificate for your Ops Manager domain.

    Note: To deploy Ops Manager to a production environment, you must obtain a certificate from a certificate authority. VMware recommends using a self-signed certificate generated by Ops Manager for development and testing purposes only.

  • Assign administrative rights to a domain for Ops Manager. You need to be able to add wildcard records to this domain.

  • Create a wildcard DNS record that points to your router or load balancer. Alternatively, you can use a service such as xip.io. For example, 203.0.113.0.xip.io. Then, create at least one wildcard TLS certificate that matches the DNS record you configured.

    Note: With a wildcard DNS record, every hostname in your domain resolves to the IP address of your router or load balancer. For example, if you create a DNS record *.example.com pointing to your router, every app deployed to the example.com domain resolves to the IP address of your router.

  • Create one or more NTP servers, if the NTP servers are not already provided by your GCP project.

  • Install the most recent version of one of the following CLIs, depending on your runtime:

  • (TAS for VMs-only) Request a quota increase for your GCP project. For GCP quota requirements, see GCP Resource Requirements. To request an increase, see Quotas in the GCP console.

  • (TAS for VMs-only) Configure sufficient IP allocation. For more information about IP allocation requirements, see TAS for VMs Resource Requirements above.

  • (Optional) (TAS for VMs-only) Configure external storage. VMware recommends using external storage if possible. For more information about how file storage location affects platform performance and stability during upgrades, see Configure File Storage in Configuring TAS for VMs for Upgrades.

  • (Optional) (TAS for VMs and Ops Manager-only) Configure external databases. VMware recommends using external databases in production deployments for BOSH Director and TAS for VMs. An external database must be configured to use the UTC timezone.

  • (Optional) (TAS for VMs and Ops Manager-only) Configure external user stores. When you deploy Ops Manager, you can select a SAML user store for Ops Manager or a SAML or LDAP user store for TAS for VMs, to integrate existing user accounts.

Install Ops Manager on GCP

You can install Ops Manager on GCP either manually or using Terraform.

To install Ops Manager on GCP, do one of the following:

Additional Resources

The following are additional resources related to installing Ops Manager on GCP: