Oparin

IBM Cloud VPC Providers

IBM Cloud Virtual Server for VPC

IBM Cloud Virtual Server for VPC (virtual private cloud) consists of virtual server instances within IBM’s VPC infrastructure, a public cloud construct. Virtual server instances for VPC enable the deployment of a secured private space in a publicly accessible environment by way of a single-tenant infrastructure in a multi-tenant public cloud. VPCs are logically isolated networks where cloud compute, storage and networking resources are deployed and used to host business workloads, applications and websites. Like networks in traditional on-premises data centers, VPCs utilize cloud security functions and models that match the functionality of those found in offline data centers.

Adding IBM Cloud VPC Providers

Complete the following procedure to add an IBM Cloud VPC provider in ManageIQ.

  1. Browse to menu: Compute > Clouds > Providers.

  2. Click Configuration, then click 1862 Add a New Cloud Provider.

  3. From the Type list, select IBM Cloud VPC.

  4. Enter a Name for the provider.
  5. Select the appropriate Zone.
  6. Select the appropriate Region.

  7. Under Endpoint, enter your IBM Cloud API Key.

    For more information on managing IBM Cloud API keys, including how to create one, see Managing user API keys.

  8. Click Validate to validate the credentials.

    Note: The connection uses port 443. Make sure the port 443 is opened on any firewalls.

  9. Click Add.

Configuring Metrics Collection for the IBM Cloud VPC Provider

  1. On IBM Cloud, navigate to the Overview page for the instance in which metrics will be collected

  2. Navigate to the Monitoring tab and click on Add Monitoring

  3. Create the IBM Cloud Monitoring instance

Note: An IBM Cloud Monitoring instance with ‘platform metrics’ enabled can be used to collect metrics for all VM instances in the deployed region

In order to enable metrics functionality on ManageIQ, the instance GUID is required when adding the VPC cloud provider. This can be obtained using the IBM Cloud CLI:

  1. Log in to IBM Cloud CLI i.e. ibmcloud login -sso

  2. Use the following command: ibmcloud resource service-instance <INSTANCE_NAME> --output json | jq -r '.[].guid'

Configuring Event Handling for the IBM Cloud VPC Provider

  1. On IBM Cloud, create an IBM Cloud Activity Tracker service instance Note: Export API will be used therefore Lite plan cannot be used

  2. Open the dashboard for the instance and navigate to Settings -> Organization -> API Keys

  3. Copy the service key or generate a new one

  4. On ManageIQ, when creating an IBM Cloud VPC provider, place the service key in the field under the Events tab on the provider creation form

For further information, see https://cloud.ibm.com/docs/activity-tracker?topic=activity-tracker-service_keys