Buying a Cloud Phone Server
Scenarios
Cloud phones are provisioned after you purchase a cloud phone server. The number of cloud phones that can be obtained varies depending on the cloud phone Quantity. This section describes how to purchase a cloud phone.
Procedure
- Log in to the management console.
- On the Service List page, choose Compute > Cloud Phone Host.
- In the navigation pane on the left, choose Servers. In the upper right corner, click Buy Server.
- Configure required parameters.
Table 1 Basic server settings Parameter
Description
Example Value
Billing Mode
CPH is billed only yearly/monthly.
Yearly/Monthly
Region
Cloud phone servers in different regions cannot communicate with each other over a private network. For lower latency and quicker access, select the nearest region.
After a server is purchased, its region cannot be changed.
CN-Hong Kong
AZ
An AZ is a part of a region and has its own independent power supplies and networks. AZs can communicate with each other over an internal network and are physically isolated.
- If you require high availability, buy servers in different AZs.
- If you require low network latency, buy servers in the same AZ.
AZ1
Server Type
Two options are available: Cloud phone server and Cloud mobile gaming server. For details, see Servers for General-Purpose Cloud Phones and Cloud Mobile Gaming Servers.
Cloud phone server
physical.rx1.xlarge
Instance Specifications
Select the required cloud phone specifications.
rc1.se
Phone Image
Only the Android is supported.
NOTE:To view private images, you must have the ims:images:list permissions.
AOSP7.1.1
Quantity
- A maximum of 10 servers can be purchased at a time.
- The required duration ranges from 1 month to 3 years.
Quantity: 1
Required duration: 6 months
- Click Next: Configure Network to configure the network for the cloud phone server.
You are advised to use the custom network described in Table 2.
Table 2 Configuring a custom network Parameter
Description
Example Value
Network
Select an available VPC and subnet from the drop-down list and specify the method for assigning a private IP address.
Ensure that you have the VPC ReadOnlyAccess permissions at least.
This VPC, including its subnets and security groups will be used to isolate the cloud phone server from the internet. You can also create a VPC.- IPv6 not required/Automatically-assigned IPv6 address: This parameter is available only for the cloud phone servers with specific flavors and deployed in a VPC with IPv6 enabled in given regions. For details about how to enable IPv6 on a subnet, see IPv4 and IPv6 Dual-Stack Network.
By default, the system assigns IPv4 addresses. If you select Automatically-assigned IPv6 address, the system assigns both an IPv4 address and an IPv6 address.
- Do not configure/Select the required shared bandwidth: In the same VPC, the cloud phone server can use the IPv6 address to access dual-stack servers. To access the Internet, select a shared bandwidth from the drop-down list and add the IPv6 address to the shared bandwidth. Then, the cloud phone server can access the IPv6 network on the Internet through the IPv6 address.
If you do not select a shared bandwidth when creating a cloud phone server, you can manually add your IPv6 address to a shared bandwidth by referring to (Optional) Step 3: (Optional) Step 3: Buy a Shared Bandwidth and Add the IPv6 Address to It.
NOTE:- If you want to use IPv6 addresses, select Automatically-assigned IPv6 address here, and this option cannot be modified after your server is purchased. If you select IPv6 not required and want to use IPv6 addresses later, you can only buy a new server.
- Due to VPC restrictions, IPv4/IPv6 dual stack is not supported in the CN East-Shanghai 2 region.
- IPv6 addresses cannot be added to a dedicated bandwidth.
- By default, a maximum of 20 IPv6 addresses can be added to a shared bandwidth. A dual-stack cloud phone server has the same number of IPv6 addresses and virtual IP addresses. If you want to purchase a cloud phone server with multiple virtual IP addresses, such as e0v100, apply for a higher shared bandwidth quota in advance.
- RX1 servers do not support IPv6 addresses.
N/A
Agency
Authorize CPH to create a cph_admin_trust agency that can assign VPC FullAccess permissions.
To authorize CPH to create an agency for you, ensure that you have the Security Administrator permissions.
For more information, see Permissions Management.
CPH will use the agency to perform the following operations:
- Create an elastic NIC, EIP, and virtual IP address for a cloud phone.
- Apply the default security group for the cloud phone server. The default security group defines the port range allowed to access the server. The port range will be mapped to that of each cloud phone. Then the cloud phones can access applications through the mapped ports.
NOTE:
By default, if an ECS and a cloud phone are in the same VPC, the ECS cannot access the cloud phone through ports 1 to 9999. If you want to allow such access, add a security group rule with a higher priority by following instructions provided in What Are the Security Group Authorization Rules for Cloud Phones Using Custom Networks?
N/A
EIP
- Auto assign: Buy a new EIP for the server.
- Using existing: An existing EIP will be assigned to the server.
Auto assign
EIP Type
- Static BGP offers routing control and protects against route flapping, but cannot choose an optimal path in real time when a network connection fails.
- Dynamic BGP enables automatic failovers and chooses the optimal path when a network connection fails.
Dynamic BGP
Billed By
The following options are available only when a new EIP is purchased:
- Traffic: You will be charged based on the total traffic your applications generate.
- Shared bandwidth: You will be charged by the bandwidth shared by multiple EIPs.
Shared bandwidth
Bandwidth Size
Value range: 1 Mbit/s to 2,000 Mbit/s
300 Mbit/s
Bandwidth Name
If you set Bandwidth to Shared bandwidth, select an existing shared bandwidth name from the drop-down list.
bandwidth-001
- IPv6 not required/Automatically-assigned IPv6 address: This parameter is available only for the cloud phone servers with specific flavors and deployed in a VPC with IPv6 enabled in given regions. For details about how to enable IPv6 on a subnet, see IPv4 and IPv6 Dual-Stack Network.
- Click Next: Configure Advanced Settings.
Table 3 Parameters for advanced settings Parameter
Description
Example Value
Name
Specifies a unique name for the server and its cloud phones.
Naming rule: The system automatically adds a hyphen followed by a one-digit incremental number to the end of each server name. For the names of the cloud phones that are virtualized from the server, the system automatically adds a 5-digit number suffix in ascending order.
For example, if you purchased a server that can virtualize 60 cloud phones and entered CPH for Name, the server name is CPH-1, and the cloud phone names vary from CPH-1-00001 to CPH-1-00060.
CPH
Key Pair
A key pair is used for remote login authentication.
- If you have created a key pair and stored the private key file (in .pem format) locally, you can select it from the drop-down list.
- If no key pair is available, click Create Key Pair to create one. Then go back to the Configure Advanced Settings page, refresh the drop-down list, and select the created key pair.
The private key file is used for identity authentication during remote login. For security purposes, the private key file (in .pem format) can be downloaded only once. Keep it secure. For more information about key pairs, see (Recommended) Creating a Key Pair on the Management Console.
NOTE:- Ensure that your account has the ecs:serverKeypairs:list permissions to query key pairs.
- If you need to create a key pair, ensure that your account has the ecs:serverKeypairs:create permissions.
KeyPair-test
Application Port
Enable this parameter when your cloud phones need to provide services for external systems.
- Application name: The name can contain letters. However, ADB in uppercase, lowercase, or mixed case are not allowed.
- Port number: Ports from 0 to 65535 are supported.
- Internet access
- If this option is selected, the cloud phone application port can be accessed over the Internet without authentication. The cloud phone port and the server port are accessible from the Internet.
- If this option is not selected, cloud phones can be accessed only over a private network.
CAUTION:- Ensure that security control has been performed before you select Internet access.
- CPH does not perform security check for ports you configured to be accessible from the Internet.
key
10001
Do not select it.
- Click Next: Confirm to check the configuration.
- If the configuration is correct, click Buy Now.
- To modify the configuration, click Previous.
- Complete the payment as prompted.
After the payment, it takes the system about 20 to 30 minutes to automatically create cloud phones.
The cloud phones are available when their statuses change to Running.
Follow-up Operations
- To view statuses and IP addresses of servers, go to the Servers page. To view names and statuses of cloud phones, go to the Cloud Phones page. The number of cloud phones that can be purchased on a server depends on the server specifications you selected. For example, if Quantity is set to 60, 60 cloud phones can be created.
All cloud phones share the IP address of the server. Each cloud phone has an independent private IP address.
- To access a cloud phone, use ADB. ADB is a common connection method and is supported by cloud phones of all specifications.
- After accessing your cloud phone, you may want to try some advanced functions. For details, see the following links:
- You can modify the shared bandwidth size (only by calling the API) if it cannot meet your service requirements.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot