- 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
Adding IBM Cloud VPC Regions
ManageIQ allows administrators to add additional IBM Cloud VPC regions on the appliance server. You can use this capability to add new regions that have been set up since ManageIQ was released. Once added the region it will be available when creating a new IBM Cloud VPC provider.
-
Browse to Settings > Application Settings.
-
Click on the Settings accordion, then click ManageIQ: Region at the top. Optionally, a server can be selected (within Zones) to limit the additional region to that server only.
-
Click on the Advanced tab.
-
Search for
:ems_ibm_cloud_vpc:
, and enter the regions you want to add under:additional_regions:
.Example. To add hypothetical `lunar-base-1` `lunar-base-2` regions: :ems_ibm_cloud_vpc: :additional_regions: :lunar-base-1: :name: Lunar Base 1 :hostname: lunar-base-1.iaas.cloud.ibm.com :description: Lunar Base 1 :lunar-base-2: :name: Lunar Base 2 :hostname: lunar-base-2.iaas.cloud.ibm.com :description: Lunar Base 2
-
Click Save.
Disabling IBM Cloud VPC Regions
ManageIQ allows administrators to disable IBM Cloud VPC regions on the appliance server. You can use this capability to disable certain classified regions. Once disabled, the region will not be available when adding a new IBM Cloud VPC provider.
-
Browse to Settings > Application Settings.
-
Click on the Settings accordion, then click ManageIQ: Region at the top. Optionally, a server can be selected (within Zones) to limit the disabled region to that server only.
-
Click on the Advanced tab.
-
Search for
:ems_ibm_cloud_vpc
, and enter the regions you want to disable under:disabled_regions:
.Example. To disable the `au-syd` and `br-sao` regions: :ems_ibm_cloud_vpc: :disabled_regions: - au-syd - br-sao
-
Click Save.