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 data collection of bills, include either Billing Read-only or Organization Owner roles from All Organization Roles.
Note: The data collection of bills requires the bills to be available in the CSP.
- For NSX monitoring, include NSX Cloud Admin or NSX Cloud Auditor roles from VMware Cloud on AWS service roles.
Procedure
- From the left menu, click Data Sources > Integrations.
- On the Accounts tab, click Add Account.
- On the Accounts 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.
- 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 a CSP API Token for VMware Cloud on AWS.
Note: Enter the following details if you are using proxy server to access 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-T adapters. - Determine which VMware Aria Operations collector or collector group is used to manage 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:
Ensure that you have Internet connectivity for the collectors to work.
- 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.
- Click Validate Connection to validate the connection.
- You can monitor the costs of running your VMware Cloud on AWS infrastructure by bringing in the billing from VMware Cloud on AWS to VMware Aria Operations. To do so, activate the costing option in Advanced Settings.
Note: If the bills are not available in CSP, then the VMC infrastructure costs calculation will automatically switch from the bill-based calculation to the list-price based calculation.
- 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, 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:
If you have direct connectivity with your VMware Cloud vCenter Server, select Default collector group. 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 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 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 the vCenter tab, and enter the required credentials.
- 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 the NSX-T tab. By default, the NSX-T adapter is activated.
- Click Validate Connection to validate the connection. If you have hardened the SDDC environment, then you may get an error while validating the NSX-T connection. To resolve this issue, change the NSX-T adapter instance to use the private IP address of NSX-T manager by performing the following steps:
- Navigate to Environment > Inventory > Adapter Instances > NSX-T Adapter Instance and click your NSX-T adapter instance.
- From the list of objects displayed, edit the object of type NSX-T adapter instance and enter the private IP address of NSX-T manager for your environment in the Virtual IP/NSX-T Manager field.
- Click OK.
- Click Validate Connection to validate the connection. If you have hardened the SDDC environment, then you may get an error while validating the NSX-T connection. To resolve this issue, change the NSX-T adapter instance to use the private IP address of NSX-T manager by performing the following steps:
- 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 account, with the configured SDDC, is added to the list.