All Products
Search
Document Center

Cloud Storage Gateway:Manage an iSCSI gateway

Last Updated:Jan 15, 2024

This topic describes how to manage an iSCSI gateway in the Cloud Storage Gateway console, including how to create, delete, and rename an iSCSI gateway.

Prerequisites

  1. An Alibaba Cloud account is created and real-name verification is completed for the account. For more information, see Create an Alibaba Cloud account.

    Note

    We recommend that log on to the CSG console as a RAM user. For more information, see Use RAM to implement account-based access control.

  2. CSG is activated.

    If CSG is not activated, follow the on-screen instructions in the CSG console to activate CSG.

  3. A virtual private cloud (VPC) is available in the region where you want to create an iSCSI gateway. For more information, see Create a VPC with an IPv4 CIDR block.

  4. An Elastic Compute Service (ECS) instance is available in the region where you want to create an iSCSI gateway. The ECS instance runs in the VPC. For more information, see Create an ECS instance.

    Note

    If your on-premises host is connected to a VPC over an Express Connect circuit, you can also perform the following steps by using the host.

Create an iSCSI gateway

  1. Log on to the CSG console.

  2. Select the region where you want to create an iSCSI gateway.

  3. In the left-side navigation pane, click Gateways. On the page that appears, select a gateway cluster and click Create.

    If you do not have a gateway cluster, click Create Gateway Cluster on the Overview page to create a gateway cluster.

  4. In the Gateway Information step, configure the parameters and click Next. The following table describes the parameters.

    Parameter

    Description

    Name

    The name of the gateway.

    The name must be 1 to 60 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.

    Location

    The location where you want to deploy the gateway. Valid values: On-premises and Alibaba Cloud.

    • On-premises: deploys an on-premises iSCSI gateway in your data center. You can deploy an on-premises iSCSI gateway either in the CSG console or in the on-premises block gateway console.

    • Alibaba Cloud: deploys a cloud iSCSI gateway on Alibaba Cloud. You can deploy a cloud iSCSI gateway only in the CSG console.

    Type

    The type of the gateway that you want to create. Select iSCSI Gateway.

  5. In the Gateway Configurations step, set the required parameters and click Next.

    If you set Location to Alibaba Cloud, you must set the gateway configuration parameters. The following table describes the parameters.

    Parameter

    Description

    Edition

    The gateway edition. Valid values: Basic, Standard, Enhanced, and Performance Optimized. For more information, see Specifications.

    VPC

    The VPC in which you want to deploy the gateway.

    Note

    The specified VPC must be the VPC in which your ECS instance or on-premises host resides.

    VSwitch

    The vSwitch that is connected to the gateway.

    Note
    • The specified vSwitch must be the same vSwitch that is connected to your ECS instance or on-premises host.

    • If no gateway resource is available in the zone where the specified vSwitch resides, create a vSwitch in another zone.

  6. In the Billing Information step, configure the parameters and click Next. The following table describes the parameters.

    Parameter

    Description

    Billing Method

    The billing method. Valid values: Pay-as-you-go and Subscription. For more information, see Billable items and billing methods.

    If you select Subscription, you are redirected to the buy page after the gateway is created. You need to complete the payment to start using the gateway. For more information, see Purchase a gateway.

    Expiration Policy

    The expiration policy for the gateway. Valid values: Switch to Pay-as-you-go and Release.

  7. In the Confirmation step, verify your settings and click OK.

    • After you create a cloud iSCSI gateway, 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.

    • After you create an on-premises iSCSI gateway, click Activate Gateway in the Actions column to activate the gateway. For more information, see Activate the gateway.

What to do next

The following table describes the related operations that you can perform on the Gateway Clusters page.

Operation

Description

Delete a gateway

Find the iSCSI gateway and choose More > Delete in the Actions column.

Note

You can delete only pay-as-you-go iSCSI gateways.

Rename a gateway

Find the iSCSI gateway and click Edit in the Actions column to rename the gateway.

Switch the billing method from 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 gateway and choose More > Switch to Subscription. You are then redirected to the buy page. Select a specification as needed. For more information, see Switch the billing method from pay-as-you-go to subscription.

Upload log data

Find the gateway and choose More > Upload Supported Data to upload the log data for troubleshooting.

Settle payments

To settle the payment for a subscription gateway, choose More > Purchase.

Change expiration policies

To change the expiration policy for a subscription gateway, find the gateway and choose More > Switchover Expiration Policy. For more information, see Switch the expiration policy.

References

Create an iSCSI volume