To manage your VMware Cloud on AWS instances in VMware Aria Operations, you must configure a cloud account. The adapter requires the CSP API token that is used to authorize and communicate with the target VMware Cloud on AWS.
Prerequisites
- Navigate to API Tokens under My Account and generate a CSP API token based on your operational needs:
- To discover and manage SDDCs, include Administrator (Delete Restricted) or Administrator from VMware Cloud on AWS service roles.
- For NSX monitoring, include NSX Cloud Admin or NSX Cloud Auditor roles from VMware Cloud on AWS service roles.
- To activate the cost calculations based on VMware Cloud on AWS GovCloud Pricing, you must modify the VMware Cloud on AWS rate card on the Cloud Providers tab in the Cost Settings page. For details on updating the rate card, see the VMware KB article 88488.
Procedure
- From the left menu, click Data Sources > Integrations.
- On the Accounts tab, click Add.
- On the Account Types page, click VMware Cloud on AWS.
- Enter a display name and description for the cloud account.
- Name. Enter the name for the VMware Cloud on AWS instance as you want it to appear in VMware Aria Operations.
- Description. Enter any additional information that helps you manage your instances.
- Under Advanced Settings, set Environment to VMware Government Cloud and Billing Enabled to False.
- To add credentials for the VMware Cloud on AWS instance, click the Add icon, and enter the required credentials.
- Credential Name. The name by which you are identifying the configured credentials.
- CSP Refresh Token. A CSP API token. For details on generating an API token, see Generating CSP API Token.
Note: Enter the following details if you are using a proxy server to access the Internet or public services.- Proxy Host. A remote proxy server IP.
- Proxy Port. The port that is activated on a remote proxy server.
- Proxy username. Enter the username of the proxy server or if you want to add a domain configured remote proxy server, then enter the username as username@domain name.
- Proxy Password. Password for the proxy server username.
- Proxy Domain. The domain has to be empty while using the proxy with domain configuration.
Note: The proxy credentials will be used by NSX adapters. - Determine which VMware Aria Operations collector or collector group is used in managing the cloud account. If you have multiple collectors or collector groups in your environment, and you want to distribute the workload to optimize performance, select the collector or collector group to manage the adapter processes for this instance.
Note:
It is recommended to use a dedicated Cloud Proxy in VMC on AWS government cloud to monitor the VMC on AWS government cloud endpoint.
Ensure that you have Internet connectivity for the collectors to work.
If you have installed cloud proxy in VMware Cloud on AWS government cloud SDDC, the cloud proxy might not have outbound internet access to reach the VMware Aria Operations service. To activate outbound internet access for the deployed cloud proxy and allow cloud proxy to connect to vCenter, perform the following steps:
- Request a new public IP in the VMware Cloud on AWS government cloud SDDC where the cloud proxy was deployed. For details, see Request or Release a Public IP Address.
- Add a new NAT rule for the internet that associates private IP of the cloud proxy with the public IP. For details, see Create or Modify NAT Rules.
- Add a firewall rule that allows incoming traffic from the public IP that was associated with cloud proxy VM in earlier step to vCenter.
- Organization ID. Click Get Organization to auto-fill this field. If you are offline or if you are unable to get the Organization ID, you can enter it manually.
The Organization ID refers to the Long Organization ID in the Cloud Service Portal. To obtain this ID in the Cloud Service Portal, click Organization Settings > View Organization.
- Under Advanced Settings, set Billing Enabled to False.
- Click Validate Connection to validate the connection.
- Click Save.
The page to configure the SDDC in VMware Cloud on AWS appears.
- From the list of available SDDCs in VMware Cloud on AWS government cloud, click any one of the SDDCs that you want to monitor from VMware Aria Operations.
- Configure the vCenter adapter:
- Click the vCenter tab, and enter the required credentials.
- Credential Name. The name by which you are identifying the configured credentials.
- User Name. The vCenter user name. Use a user with the 'cloudadmin' role which has full visibility to vCenter. Users with less privileges have limited visibility, for example, the read-only users do not have visibility into management VMs.
- Password. The vCenter password configured for that vCenter user name.
- Select the required collector group.
Note:
It is recommended to use a dedicated Cloud Proxy in VMC on AWS government cloud to monitor the VMC on AWS government cloud endpoint.
If you are using a private IP for your vCenter Server or if you want to deploy telegraf agents for application monitoring, select Cloud Proxy. The best practice is to deploy the Cloud Proxy on each SDDC instance of VMware Cloud on AWS.
Select the Cloud Proxy deployed on the given VC and ensure it has access to the Internet. If the outbound internet access for the Cloud proxy must be restricted, ensure that the minimum Cloud Proxy prerequisites are met. For details, see "Configuring Cloud Proxies in VMware Cloud" topic in the Getting Started with VMware Aria Operations guide.
It is advised not to use the default collector groups as the VMware Cloud on AWS management gateway firewall rule does not allow traffic originating from any address.
If you have configured an HTTP proxy on your VMware Aria Operations cloud proxy, ensure that your HTTP proxy has an exception to access the NSX Management Policy endpoint.
- If you have installed cloud proxy in VMware Cloud on AWS government cloud SDDC, the cloud proxy might not have outbound internet access to reach the VMware Aria Operations service. To activate outbound internet access for the deployed cloud proxy and allow cloud proxy to connect to vCenter, perform the following steps:
- Request a new public IP in the VMware Cloud on AWS government cloud SDDC where the cloud proxy was deployed. For details, see Request or Release a Public IP Address.
- Add a new NAT rule for the internet that associates private IP of the cloud proxy with the public IP. For details, see Create or Modify NAT Rules.
- Add a firewall rule that allows incoming traffic from the public IP that was associated with cloud proxy VM in earlier step to vCenter.
- Click Next.
- Click the vCenter tab, and enter the required credentials.
- Configure the vSAN adapter.
- Click the vSAN tab. By default, the vSAN adapter is activated.
- Select Use alternate credentials to add alternate credentials. Click the plus icon, and enter the credential name, vCenter username, and password, and click Ok.
- Select Enable SMART data collection, if required.
- Click Validate Connection to validate the connection.
- Click Next.
- Configure the NSX adapter.
- Click the NSX tab.
- Activate NSX configuration if it is deactivated.
- Click Validate Connection to validate the connection. If you have hardened the SDDC environment, then you may get an error while validating the NSX connection. To resolve this issue, change the NSX adapter instance to use the private IP address of NSX manager by performing the following steps:
- Navigate to Environment > Inventory > Adapter Instances > NSX and click your NSX adapter instance.
- From the list of objects displayed, edit the object of type NSX adapter instance and enter the private IP address of NSX manager for your environment in the Virtual IP/NSX Manager field.
- Click Next.
- Click Save This SDDC.
Note: The Service Discovery adapter is optional. The steps to configure the VMware Cloud on AWS Service Discovery adapter are similar to configuring vCenter Service Discovery. For more information, see Configure Service and Application Discovery.The VMware Cloud on AWS government cloud account, with the configured SDDC, is added to the list.