- IBM Cloud VPC Providers
- Configuring Metrics Collection for the IBM Cloud VPC Provider
- Configuring Event Handling for the IBM Cloud VPC Provider
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.
-
Browse to menu: Compute > Clouds > Providers.
-
Click Configuration, then click Add a New Cloud Provider.
-
From the Type list, select IBM Cloud VPC.
- Enter a Name for the provider.
- Select the appropriate Zone.
-
Select the appropriate Region.
-
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.
-
Click Validate to validate the credentials.
Note: The connection uses port 443. Make sure the port 443 is opened on any firewalls.
- Click Add.
Configuring Metrics Collection for the IBM Cloud VPC Provider
-
On IBM Cloud, navigate to the
Overview
page for the instance in which metrics will be collected -
Navigate to the
Monitoring
tab and click onAdd Monitoring
-
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:
-
Log in to IBM Cloud CLI i.e.
ibmcloud login -sso
-
Use the following command:
ibmcloud resource service-instance <INSTANCE_NAME> --output json | jq -r '.[].guid'
Configuring Event Handling for the IBM Cloud VPC Provider
-
On IBM Cloud, create an IBM Cloud Activity Tracker service instance Note: Export API will be used therefore
Lite
plan cannot be used -
Open the dashboard for the instance and navigate to
Settings -> Organization -> API Keys
-
Copy the service key or generate a new one
-
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