Configure Alibaba Cloud for Cloud Bursting
Create the necessary components in Alibaba Cloud that are required for cloud bursting and then create a Control cloud bursting scenario.
Create an Alibaba Cloud User Account
Create an Alibaba Cloud Resource Access Management (RAM) user account so that you can later create a cloud account in Control.
Alibaba Cloud documentation can be found at Overview of RAM users.
- Access Key ID
- Access Secret Key
This information is necessary to create a cloud account in Control.
Add an Alibaba Cloud User Account
Add an existing Alibaba cloud user account to Control so that you can create a cloud bursting scenario.
While working on Alibaba Cloud it is important to choose a region, the geographic area where data centers are deployed. The region of an Alibaba Cloud resource cannot be changed after the resource is created. A region is further divided into zones, a physical area that has its own power grids and networks. Zones within same region can access each other over an internal network. All regions are provided with a specific Region ID. Refer to the Alibaba cloud documentation to obtain Region IDs for your specific region.
- Login to Control.
- Click the Cloud tab.
- Click Cloud from the Infrastructure menu located on the left-hand side of the web page.
- Click
-
Enter the following to add a cloud account:
- Click Create account.
Create a VPC and a vSwitch
Create a Virtual Private Cloud (VPC) so that you can later create a virtual machine for cloud bursting.
- Log on to the Alibaba Cloud Management Console.
- Move the pointer over the in the upper-left corner. The Products and Services page is displayed.
- Search for VPC and click the search result link to open the VPC console.
- In the top navigation bar, select the region where you want to create a VPC and a vSwitch.
- On the VPCs page, click Create VPC.
-
Enter the following to create a VPC:
- Click OK.
Create a Virtual Machine
Create a virtual machine in Alibaba Cloud Elastic Compute Service (ECS) console.
- Login to the Alibaba cloud console.
- Move the pointer over the in the upper-left corner. The Products and Services page is displayed.
- Search for Elastic Compute Service and click the search result link to open the ECS console.
- Click Instances from the menu located on the left-hand side of the web page.
- Click Create Instance.
- Click the Custom Launch tab.
-
In the Basic Configurations section:
- Click Next.
-
In the Networking section:
- For Network Type, select the required VPC and vSwitch from the list.
- For Public IP Address, select Assign Public IPv4 Address.
- For Bandwidth Billing, select Pay-By-Traffic.
- For Peak Bandwidth, set a speed of 4 Mbps.
- For Security Group, choose the default group that is automatically created or Reselect a Security Group that has been previously created.
- Click Next.
-
In the System Configurations (optional) section:
- For Logon Credentials, choose a Key Pair.
- For Key Pair, select a Key Pair from the list.
- Provide an Instance name and a description.
-
In the Grouping (optional) section:
- For Tags, select the tags for the instance.
- Click Next.
- In the Preview step, confirm the configurations in the Configurations Selected section or click the Edit icon to modify configurations.
- Read and select ECS Terms of Service. Click Create Instance.
- In the Created message box, click Console to view the instance creation progress on the Instances page. If the instance is created, it is in the Running state.
- Copy the public IP address of the instance for use when you want to connect to the ECS instance.
Install the PBS MoM on the VM
Install the PBS MoM on the virtual machine and configure the VM per your site's environment.
Create an OS Image
Create an image of the virtual machine configured per your site's requirements.
Alibaba Cloud documentation can be found at Create a custom image from an instance.
Create an Alibaba Cloud Bursting Scenario
Create an Alibaba Cloud bursting scenario so that PBS Professional execution nodes can be burst in the cloud.
A startup script is provided during the creation of the bursting scenario. This script is ran after a cloud node is burst and is used to set up the system environment so that nodes burst in the cloud can communicate with the PBS Server. On Windows platforms, the startup script must be a PowerShell script. For more information see PowerShell Scripting. On Linux platforms, use a cloud-init script. For more information about writing cloud-init scripts, refer to the Cloudinit Documentation and Cloud Bursting Startup Script.
Alibaba Cloud Regions and Zones
Alibaba Cloud also segregates geography by region and then region by zones. Information related to the regions is available in the Alibaba cloud documentation.
Zone IDs for Specific Regions
Here is a list of zones for each region and their IDs.
{
"cn-qingdao":[
"cn-qingdao-c",
"cn-qingdao-b"
],
"cn-beijing":[
"cn-beijing-k",
"cn-beijing-h",
"cn-beijing-g",
"cn-beijing-f",
"cn-beijing-e",
"cn-beijing-d",
"cn-beijing-c",
"cn-beijing-b",
"cn-beijing-a",
"cn-beijing-i",
"cn-beijing-j",
"cn-beijing-l"
],
"cn-zhangjiakou":[
"cn-zhangjiakou-a",
"cn-zhangjiakou-c",
"cn-zhangjiakou-b"
],
"cn-huhehaote":[
"cn-huhehaote-a",
"cn-huhehaote-b"
],
"cn-wulanchabu":[
"cn-wulanchabu-b",
"cn-wulanchabu-a",
"cn-wulanchabu-c"
],
"cn-hangzhou":[
"cn-hangzhou-k",
"cn-hangzhou-i",
"cn-hangzhou-j",
"cn-hangzhou-h",
"cn-hangzhou-g",
"cn-hangzhou-f",
"cn-hangzhou-b",
"cn-hangzhou-e",
"cn-hangzhou-d",
"cn-hangzhou-c"
],
"cn-shanghai":[
"cn-shanghai-l",
"cn-shanghai-b",
"cn-shanghai-g",
"cn-shanghai-f",
"cn-shanghai-e",
"cn-shanghai-d",
"cn-shanghai-c",
"cn-shanghai-a",
"cn-shanghai-k",
"cn-shanghai-m",
"cn-shanghai-n"
],
"cn-shenzhen":[
"cn-shenzhen-e",
"cn-shenzhen-f",
"cn-shenzhen-d",
"cn-shenzhen-c",
"cn-shenzhen-a",
"cn-shenzhen-b"
],
"cn-heyuan":[
"cn-heyuan-b",
"cn-heyuan-a"
],
"cn-guangzhou":[
"cn-guangzhou-a",
"cn-guangzhou-b"
],
"cn-chengdu":[
"cn-chengdu-a",
"cn-chengdu-b"
],
"cn-hongkong":[
"cn-hongkong-b",
"cn-hongkong-c",
"cn-hongkong-d"
],
"ap-northeast-1":[
"ap-northeast-1b",
"ap-northeast-1a"
],
"ap-northeast-2":[
"ap-northeast-2a"
],
"ap-southeast-1":[
"ap-southeast-1c",
"ap-southeast-1b",
"ap-southeast-1a"
],
"ap-southeast-2":[
"ap-southeast-2b",
"ap-southeast-2a"
],
"ap-southeast-3":[
"ap-southeast-3a",
"ap-southeast-3b"
],
"ap-southeast-6":[
"ap-southeast-6a"
],
"ap-southeast-5":[
"ap-southeast-5a",
"ap-southeast-5b",
"ap-southeast-5c"
],
"ap-south-1":[
"ap-south-1b",
"ap-south-1a"
],
"ap-southeast-7":[
"ap-southeast-7a"
],
"us-east-1":[
"us-east-1b",
"us-east-1a"
],
"us-west-1":[
"us-west-1b",
"us-west-1a"
],
"eu-west-1":[
"eu-west-1b",
"eu-west-1a"
],
"me-east-1":[
"me-east-1a"
],
"eu-central-1":[
"eu-central-1b",
"eu-central-1a"
],
"cn-nanjing":[
"cn-nanjing-a"
]
}