This topic describes how to create an Internet Small Computer System Interface (iSCSI) gateway, add a cache disk, and create an iSCSI volume in the Cloud Storage Gateway (CSG) console.
Prerequisites
An Alibaba Cloud account is created. Real-name verification is complete for the Alibaba Cloud account.
NoteWe recommend that you create a RAM user and log on to the CSG console as the RAM user.
CSG is activated.
If CSG is not activated, follow the on-screen instructions in the CSG console to activate CSG.
A virtual private cloud (VPC) is available in the region where you want to create the iSCSI gateway. For more information, see Create a VPC with an IPv4 CIDR block.
An Elastic Compute Service (ECS) instance is created on the VPC in the region where you want to create the file gateway.
NoteIf your on-premises host is connected to the VPC over an Express Connect circuit, you can also perform the steps by using the host.
An Object Storage Service (OSS) bucket is created.
ImportantiSCSI gateways support only Standard and Infrequent Access (IA) OSS buckets. iSCSI gateways do not support OSS buckets for which back-to-origin routing is configured.
Create an iSCSI gateway
On the Gateways page of the CSG console, click Create.
In the wizard, configure parameters as described in the following table and retain default settings for other parameters.
After you create an iSCSI gateway that is deployed on Alibaba Cloud, the system completes the deployment in 5 to 10 minutes. If the Running state is displayed in the Status column, the gateway is deployed and activated.
Add a cache disk
On the Gateways page, click the ID of the iSCSI gateway. On the page that appears, click .
Specify cache disk specifications by using Cache Calculator or Custom Cache settings.
Cache Calculator: Cache disk settings are automatically recommended based on your application requirements.
Custom Cache: You need to manually configure a cache disk type and capacity.
NoteCapacity
The supported capacity range of a cache disk varies with the gateway edition:
Basic: 20 GB to 4,096 GB
Standard: 20 GB to 8,192 GB
Enhanced or Performance Optimized: 20 GB to 3,2768 GB
Type
You can select Ultra Disk, Standard SSD, or ESSD. We recommend that you select ESSD.
If you add a cache disk to a subscription gateway, you are redirected to the cache disk purchase page. For more information, see Purchase a cache disk.
Create an iSCSI volume
On the Gateways page, click the ID of the iSCSI gateway. On the page that appears, click .
In the wizard, configure the parameters described in the following table.
Use the iSCSI volume. For more information, see Use iSCSI volumes.