Get started with the SAG app

更新时间:
复制 MD 格式

This topic describes how to use Quick Configuration to set up a Smart Access Gateway (SAG) app instance for a fast and secure connection to Alibaba Cloud.

Background

Consider the following scenario: A company has deployed application services on an Alibaba Cloud account in the China (Shanghai) region. Employees access cloud resources from the company's on-premises private network. As the company grows, remote employees need to access these cloud resources. To meet this need, the company uses the Smart Access Gateway App. The app allows remote employees to securely connect to the private network and access cloud resources from anywhere.

SAGAPP

Procedure

配置流程

Step 1: Purchase a SAG app instance

Before you use the Smart Access Gateway app, you must purchase a Smart Access Gateway app instance. This instance allows you to centrally manage networks and clients.

  1. Log on to the SAG console.
  2. In the top navigation bar, select the target region.
  3. In the left-side navigation pane, choose Smart Access Gateway App > SAG App Instances.
  4. On the SAG App Instances page, click Create SAG App. Set the following parameters, click Buy Now, and complete the payment.
    Parameter Description
    RegionRegion The region where the Smart Access Gateway client is used. In this example, China (Shanghai) is selected.
    Number of Client AccountsNumber of Client Accounts The maximum number of client accounts you can create. After you purchase a specific number of client accounts, you can create the same number of accounts. Typically, one account is created for each employee who needs to log on. This example uses the default value of 10.
    Note

    You can select 1~2000 client accounts. Client accounts are billed based on a tiered pricing model. For more information, see Billing rules for SAG app instances.

    Data plan per account Included data cannot be shared between accounts or carried over to the next month. The default value is 5 GB.
    Billing method for overage If an account's usage exceeds its data plan, the overage is billed on a pay-as-you-go basis. This example uses Pay-As-You-Go.
    Subscription Period The subscription duration for the data plan, calculated by month. Auto-renewal is supported. This example uses the default value of 1 Month.
    Resource Group Select the resource group to which the instance belongs. This example uses Default Resource Group.

Step 2: Configure the network

After purchasing the SAG app instance, you must configure its network settings. This includes specifying the private CIDR block for clients and associating a Cloud Connect Network (CCN) instance.

CCN is a key component of SAG. Associating your SAG app instance with a CCN instance allows clients connected to the app instance to communicate with other gateway devices attached to the same CCN instance. For more information about CCN, see What is Cloud Connect Network?.

  1. On the SAG App Instances page, find your new instance and click Quick Configuration in the Operation column.
  2. On the Network Configuration page, complete the network configuration as follows:
    Parameter Description
    Instance Name/ID The name and ID of the Smart Access Gateway app instance that you created.
    Resource Group The resource group to which the Smart Access Gateway app instance belongs.
    CCN Choose one of the following methods to associate a CCN instance. This example uses Create CCN.
    • Existing CCN: If you have an existing CCN instance, select it from the drop-down list.
    • Create CCN: If you do not have a CCN instance, enter a name. The system creates a CCN instance in the current region and automatically associates it with the Smart Access Gateway app instance.
    Standby and Active DNS This parameter is optional. You can specify the active and standby DNS servers for clients to use when connecting to the private network. After you configure DNS, the settings are automatically pushed to the clients. This example leaves the field blank.
    Note
    • If clients use PrivateZone to connect to Alibaba Cloud, set the DNS server addresses to 100.100.2.136 and 100.100.2.138. For more information about PrivateZone, see What is PrivateZone?.
    • DNS configuration is supported only on Android clients version 2.1.1 or later and macOS clients version 2.1.1 or later. For more information about clients, see Install the client.
    Private CIDR Block The private CIDR block used for client connections to Alibaba Cloud. When a client connects, the system automatically assigns an available IP address from this CIDR block. Ensure the CIDR blocks do not overlap. This example uses 192.168.10.0/24.

    Click Add Private CIDR Block to add more CIDR blocks. You can configure up to five private CIDR blocks.

Step 3: (Optional) Associate with a CEN instance

You can associate the CCN instance with a Cloud Enterprise Network (CEN) instance. This association allows the app instance's network to communicate with cloud resources attached to the CEN instance. For more information about CEN, see What is Cloud Enterprise Network?.

  1. Click Next: Associate with a CEN (optional) to associate a CEN instance.
    This is an optional step. If you do not need to associate a CEN instance, click Skip at the bottom of the page.
  2. Use one of the following methods to associate a CEN instance. This example selects an existing CEN instance to enable communication between clients and cloud resources.
    • Instance Name/ID: The name and ID of the CCN instance that you created.
    • Existing CEN: If you have an existing CEN instance, select it from the drop-down list.
    • Create CEN: If you do not have a CEN instance, enter a name. The system creates a CEN instance and automatically associates it with the CCN instance.

Step 4: Create a client account

After configuring the network, you must create client accounts. These accounts allow users to log on to the client and connect to the private network.

Click Next: Create a client account, configure the client account, and then click Confirm Creation.
Parameter Description
Username The username for the client account.
Note
  • Usernames must be unique within the same Smart Access Gateway app instance.
  • If you only enter an email address when you create an account, the system automatically generates a username and password. The email address is used as the username.
Email Address The user's email address. This address is used to send login credentials to the user.
Static IP
  • Enable this option to assign a static IP address to the client. The account will then always use this IP address to connect to Alibaba Cloud.
    Note The IP address must be within the private CIDR block.
  • If you disable this option, the system automatically assigns an available IP address from the private CIDR block. The IP address may change upon reconnection.
Set Maximum Bandwidth The maximum bandwidth for this account. This example uses the default value.

The value can range from 1 Kbps to 20,000 Kbps. The default is 2,000 Kbps.

Set Password The password for logging on to the client.
Maximum Bandwidth for Application Acceleration Set the client account's maximum bandwidth for application acceleration. The unit is Kbps.
Instructions
  • If the Smart Access Gateway App instance is associated with an application acceleration plan instance, you can directly set the maximum bandwidth for application acceleration for the client account.
  • If the current Smart Access Gateway App instance is not associated with an application acceleration plan instance, perform the following steps:
    1. If you have not purchased an application acceleration plan instance in the current region, purchase one. For more information, see Purchase an application acceleration plan.

      After the purchase is complete, return to the Create Client Account page.

    2. In the Maximum Bandwidth for Application Acceleration section, click Associate. In the Associate with Bandwidth Plan dialog box, select the target application acceleration plan instance, set the maximum bandwidth for application acceleration for the Smart Access Gateway App instance, and then click OK.

      The system then automatically associates the application acceleration plan instance with the Smart Access Gateway App instance.

    3. In the Maximum Bandwidth for Application Acceleration section, set the maximum bandwidth for application acceleration for the client account.
    For more information, see Application acceleration overview.

Step 5: Connect to the cloud

After creating the client account, download and install the client on your device. You can then use the client to connect to the private network and access your cloud resources.

  1. After the configuration is complete, click Download Now to view download and installation instructions. For more information, see Install the client.
  2. After the client is installed, log on to the client with your account credentials and connect to the private network to access cloud resources. For more information, see Connect to a private network.