Bind an EIP to an ECS in OpenStack based Fusion Cloud

Bind an EIP to an ECS in OpenStack based Fusion Cloud

What is an EIP?

An ECS in cloud environment gets its networking ability provided by VPC which is a private network, means you can’t talk to other world except your own private network nodes. To access the outer world that is the internet you should apply and bind an EIP(Elastic IP) to your ECS.

How to:

  1. Login to the user pane and select the ECS.                                                                   
  2. When loaded go to the EIP tab.                                                                               
  3. Select the View EIP to see the available EIP for your VDC. If you applied for EIP before than you will get a list of EIP otherwise you will get the list empty. For this instance as we didn’t applied for the EIP so the list is empty. If you already applied for EIP and you have list of EIPs then skip to the step 10.                                
  4. Apply for EIP to reserve a pool of Public IP address depending on your applications need. You can not apply for more than five EIPs for your VDC.                                                                                     
  5. Provide the EIP Basic Information:
    1. Choose External Network from the list available.
    2. Choose Subnet from the list available.
    3. Choose Assignment Mode, default is Automatic.
    4. Choose Quantity in this case to reserve the all five provide 5.
    5. Choose Validity Period, generally Permanently Effective.                                     
    6. Provide the Bandwidth Settings, take a look at Current Configuration and select Apply Now.  
    7. Select the Confirm Application.                                                                          
    8. And here the list of five EIPs that reserved from the cloud service provider.   
    9. Now go to Hmepage from Menu then Select ECS that you want to bind an EIP. Later go to the EIP tab.                             
    10.  Now select the Bind EIP.                                                                                   
    11. Select the NIC and the EIP from the list and Select Ok.                                        
    12. Wait for seconds and you will see the bound EIP under the EIP tab. Also it will be showed under the Elastic Cloud Server page in the row of the ECS information.                                                   
    13. Now connect to the ECS with the EIP bounded by an SSH client like puTTy or bitviseSSH client. (here though it is for EC2 instance just provide the IP of your ECS instance. )
    14. It’s done. 🙂

Note:

  1. Do not reserve more EIP than you need, generally providers charge for inactive EIPs.
  2. In an ideal architecture your application or servers should communicate each other through private network, only servers or applications accessing by End Users needs to be publicly advertised hence the need for EIP.
  3. Before you could login to the ECS you should allow SSH port 22 in your ECS Security Group for Inbound Rule.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.