Creating a Global Internet Gateway
Scenarios
This section describes how to create a global internet gateway. A global internet gateway is used to connect the VPC where an ECS resides to the global EIP of the ECS. Global internet gateways are free of charge.
Notes and Constraints
Each VPC can only have one global internet gateway attached.
Procedure
- Go to the global internet gateway list page.
- In the upper right corner of the page, click Create Global Internet Gateway.
The Create Global Internet Gateway is displayed.
- Configure the parameters based on Table 1.
Table 1 Parameter descriptions Parameter
Description
Example Value
Name
Mandatory
Enter the name of the global internet gateway. The name:- Must contain 1 to 64 characters.
- Can contain letters, digits, underscores (_), hyphens (-), and periods (.).
igw-89ad
Version
- IPv4: Mandatory
- IPv6: Optional
IPv4
VPC
Mandatory
Select the VPC of your instance (such as ECS) that needs to communicate with the Internet to attach the global internet gateway.
A global internet gateway is used work together with the global EIP of your instance for Internet access.
-
Subnet
Mandatory
Select the subnet where you want to bound the global internet gateway.
-
Default Route
Optional
- If you select this option, the default route with the destination 0.0.0.0/0 will be automatically added to the default route table of the selected VPC to direct traffic to the global internet gateway.
- If you do not select this option, you need to manually add a route to the route table (default or custom) associated with the VPC subnet of your ECS to direct traffic to the global internet gateway.
NOTICE:If an error is reported when you select this option, this indicates that the default route with the destination 0.0.0.0/0 already exists in the default route table of the VPC. You can manually add a route to the route table (default or custom) associated with the VPC subnet of your ECS to direct traffic to the global internet gateway.
-
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot