A Gateway Load Balancer (GWLB) instance can receive requests from clients and forward requests to backend servers. This topic describes how to create and manage a GWLB instance.
Prerequisites
A virtual private cloud (VPC) is created. For more information, see Create a VPC with an IPv4 CIDR block.
The AliyunServiceRoleForGwlb service-linked role is created within your Alibaba Cloud account. The first time you create a GWLB instance, you must create the AliyunServiceRoleForGwlb service-linked role to allow GWLB to access other Alibaba Cloud resources. For more information, see System policies for GWLB.
Create a GWLB instance
Log on to the GWLB console.
In the top navigation bar, select the region where the GWLB instance is deployed.
On the Instances page, click Create GWLB.
On the Gateway Load Balancer - Alibaba Cloud International Site page, configure the parameters as described in the following table.
Parameter
Description
Region and Zone
Select the region in which you want to create the GWLB instance.
VPC
Select the VPC where you want to deploy the GWLB instance.
Zone
Select the zone in which you want to create the GWLB instance. GWLB supports multi-zone deployment. You must specify at least one zone and one subnet. After the GWLB instance is created, the specified zones and subnets cannot be cleared for the GWLB instance.
IP version
Select an IP version.
IPv4: GWLB supports IPv4 traffic access.
Instance Name
Enter a name for the GWLB instance.
Resource Group
Select a resource group for the GWLB instance.
Tag
Add tags for the GWLB instance.
Tag Key: Cannot be an empty string. It can be up to 128 characters in length, cannot start with
aliyun
oracs:
, and cannot containhttp://
orhttps://
.Tag Value: Can be an empty string. It can be up to 256 characters in length and cannot contain
http://
orhttps://
.
You can add more than one tag for a GWLB instance. For more information about tags, see Manage tags.
Service-linked Role
The first time you create a GWLB instance, you must click Create Service-linked Role and create the AliyunServiceRoleForGwlb service-linked role.
NoteThis parameter is displayed only the first time you create a GWLB instance.
Click Buy Now and complete the payment.
Click Activate Now. On the Instances page, select the region in which the GWLB instance is deployed to view the GWLB instance.
Release a GWLB instance
You can release GWLB instances that are not in use to reduce costs. After you release a GWLB instance, you are no longer charged for the GWLB instance.
After a GWLB instance is released, the configurations and data of the GWLB instance are cleared and cannot be restored.
If your GWLB instance is managed by another Alibaba Cloud service, the GWLB instance cannot be released. For example, if your GWLB instance is associated with endpoints, you must delete the endpoint configurations before you can release the GWLB instance.
Log on to the GWLB console.
In the top navigation bar, select the region where the GWLB instance is deployed.
On the GWLB Instances page, find the instance that you want to release and click in the Actions column.
In the Release Instance message, click OK.
Related operations
Operation | Procedure |
Rename a GWLB instance |
|
Change the GWLB instance zone |
Note You can only add zones for a GWLB instance. Specified zones for a GWLB instance cannot be cleared and edited. |
Manage tags | Each tag is a key-value pair.
Add tags You can use tags to classify GWLB instances by category, such as by purpose or owner.
Filter by tag You can filter GWLB instances by tag.
|
Release multiple GWLB instances at a time |
|
What to do next
Configure a listener to forward all IP packets across all ports to corresponding backend server groups via the Geneve protocol. For more information, see Add and manage IP listeners.
A GWLB instance must work with GWLB endpoints provided by the PrivateLink service.
References
Product overview:
For use scenarios and components of GWLB, see What is GWLB?
For GWLB features, see GWLB features.
For regions and zones in which GWLB is available, see Regions and zones in which GWLB is available.