Got it

[Basics]What is an elastic IP and how it works

Latest reply: Nov 29, 2021 07:37:27 2453 23 13 0 1

Hello, everyone!

This post will share with you the elastic IP and how it works.

What is EIP?

EIPs are static IP addresses designed for dynamic cloud computing. With an EIP, you can mask the instance faults by rapidly remapping the address to another instance in your account. EIP is associated with the tenant's account, instead of an instance. Before you release the EIP, it remains permanently associated with your account.

The EIP service allows users to:

  • Apply for an EIP.

  • Bind an EIP to an ECS or a virtual IP address.

  • Unbind, delete, or extend the EIP or change the bandwidth name and bandwidth of the EIP.

What does EIP provide?

The Elastic IP service provides independent public IP addresses and Internet bandwidth. An EIP can be flexibly associated with or disassociated from an ECS, BMS, virtual IP address, load balancer, or NAT gateway. Various billing modes are provided to meet diversified service requirements.

Advantages

EIPs are used to enable cloud resources to be accessed from the Internet. EIPs can be bound to or unbound from various service resources to meet different service requirements.

You can bind an EIP to an ECS or BMS to enable extranet access for the ECS or BMS.

You can bind a virtual IP address with an EIP so that you can access the ECSs that have the same virtual IP address bound from the extranet, improving fault tolerance capabilities.

You can bind an EIP to a load balancer so that the load balancer receives access requests from the extranet and automatically distributes the access requests to specified multiple ECSs.

Application scenarios

Region Type I

Shared Bandwidth reduces bandwidth cost and responds to abrupt demand spikes.

EIP

Region Type II

A cluster responds to rapid service growth.

EIPBinding an EIP to Allow Extranet Access

Your ECS may act as a website service node allowing access from visitors. To enable your ECS to access the extranet, bind an EIP to it.

EIP

Scenario diagram

EIP

Binding an EIP to allow Internet access


Related servers

EIP

How Does an ECS Use an EIP?

Before starting an ECS, you can assign a private IP address and an extranet IP address to each instance running on the ECS. The public IP address is mapped to the private IP address by the Network Address Translation (NAT) function. The public IP address is assigned from the extranet IP address pool of the VPC. After the EIP is released, you can no longer use the public IP address.

How Many ECSs Can One EIP Be Assigned to?

One EIP can be assigned to only one ECS. Similarly, one EIP can be assigned to only one BMS or virtual IP address.

How Can I Access an ECS from the Internet After an EIP Is Bound to the ECS?

Each ECS is automatically added to a security group after being created and bound with an EIP to ensure its security. The security group denies access traffic from the extranet by default. To allow extranet access to ECSs in the security group, add an inbound rule to the security group.

On the page for adding security group rules, you can select TCP, UDP, ICMP or ANY as required.

  • If the ECS needs to be accessible over the extranet and the IP address used to access the ECS over the extranet has been configured on the ECS, or the ECS does not need to be accessible over the extranet, set Source IP Address to the IP address segment containing the IP address that is allowed to access the ECS over the extranet.

  • If the ECS needs to be accessible over the extranet and the IP address used to access the ECS over the extranet has not been configured on the ECS, it is recommended that you retain the default setting 0.0.0.0/0 for Source, and then set Port Range to improve network security.

  • Allocate ECSs that have different extranet access policies to different security groups

Welcome to publish more exciting content about EIP in the forum, and the following content about EIP is recommended to you.

https://forum.huawei.com/enterprise/en/search.php?searchsubmit=yes&srchtxt=EIP

That's all, thanks!


The post is synchronized to: Surprising Cloud Computing

  • x
  • convention:

LucianoNhantumbo
Moderator Created May 5, 2021 14:22:29

Thank you for sharing the useful knowledge, came with this doubt. But it's settled.
View more
  • x
  • convention:

olive.zhao
olive.zhao Created May 6, 2021 07:32:31 (0) (0)
Thanks!  
little_fish
Admin Created May 11, 2021 07:25:55

Thanks.
View more
  • x
  • convention:

Ayeshaali
Ayeshaali Created Jun 7, 2021 16:13:11 (0) (0)
 
Ayeshaali
Ayeshaali Created Jun 7, 2021 16:13:17 (0) (0)
 
Unicef
MVE Created May 11, 2021 10:05:07

Thanks for the post
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 7, 2021 03:10:28 (0) (0)
Thanks!  
Vien
Created Jun 7, 2021 02:52:15

Great share
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 7, 2021 03:10:17 (0) (0)
Thanks!  
user_4001805
Created Jun 7, 2021 06:41:27

Good post. Thanks for sharing
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 7, 2021 09:12:45 (0) (0)
Thanks!  
sachandio
Created Jun 7, 2021 07:11:01

Thanks
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 7, 2021 09:12:52 (0) (0)
 
wissal
MVE Created Jun 7, 2021 14:54:06

Learned, well done
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 8, 2021 02:34:24 (0) (0)
Thanks for your like!  
Ayeshaali
Created Jun 7, 2021 16:13:26

Thanks for the post
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 8, 2021 02:34:36 (0) (0)
 
Ayeshaali
Created Jun 7, 2021 16:13:32

Nice
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.