This topic describes how to deploy the local block gateway console (a web console) by using an image. The procedure includes: download the image, install the image, configure network settings, and then activate the gateway.
Prerequisites
- An Alibaba Cloud account is created and the real-name verification is completed. For
more information, see Create an Alibaba Cloud account.
Note We recommend that you log on to the CSG console as a RAM user. For more information, see Use RAM to implement account-based access control.
- CSG is activated.
When you log on to the for the first time, activate the CSG service as prompted.
- You have created the Alibaba Cloud AccessKey pair, you can log on to the User Management console to obtain your AccessKey pair.
Background information
Cloud Storage Gateway (CSG) can be deployed in on-premises data centers. You can deploy the local block gateway console on the following platforms: VMware vSphere, Hyper-V, and Kernel-based Virtual Machine (KVM). Before the deployment, you can download the corresponding gateway image in the CSG console to your local computer.
- OVA images of version 1.0.30 and later can be deployed only on web clients of vCenter version 6.0 and later.
- Images downloaded from the Alibaba Cloud CSG console cannot be imported to ECS instances.
Hardware requirements for virtual machines
The virtual machine where the local block gateway is deployed must meet the following requirements.
- The virtual machine has at least four virtual CPUs.
- The virtual machine has at least 8 GB of memory resources.
- The virtual machine has at least 100 GB of disk space, which is required for installing the CSG image and storing system data.
- We recommend that you use thick-provisioned cache disks on the virtual machine to obtain excellent I/O performance. The capacity of each cache disk must be 20 GB or larger.
Installation methods
The installation methods and installation files vary depending on the hypervisor. You can obtain the installation file when you create a local block gateway.
Hypervisor | Installation method | Installation file format |
---|---|---|
VMware vSphere | You can import an OVA image to VMware to install a gateway. | OVA |
KVM | You can open the virt-manager and use the QCOW2 file to install a gateway. | QCOW2 |
Hyper-V | You can use a VHD image to create a virtual machine to install a gateway. | VHD |
Step 1: Download the image
Step 2: Install the image
After you download the image, you can use it to deploy the block gateway. For more information, see How do I deploy Cloud Storage Gateway instances in on-premises data centers .
Step 3: Configure network settings
After you install the gateway image, you can configure the gateway IP address in the gateway command-line interface (CLI).
Step 4: Activate the gateway
Related operations
On the Gateway Clusters page, you can also perform the following operations.
Operation | Description |
---|---|
Delete a gateway | Find the target block gateway and choose Note You can only delete pay-as-you-go block gateways.
|
in the Actions column.
Rename a gateway | Find the target block gateway and click Edit in the Actions column to rename the gateway. |
Switch pay-as-you-go to subscription | After you create a pay-as-you-go gateway, you can switch the billing method from pay-as-you-go
to subscription.
Find the target block gateway and choose Switch the billing method from pay-as-you-go to subscription. in the Actions column. You are then redirected to the buy page. Select the specification as needed. For more information, see |
Reset the password | After you deploy a gateway in an on-premises data center, you can reset the password in the local gateway console. To reset the password, find the target gateway and choose | .