English 日本語
INTERSTELLAR TECH BLOG

Using a static IP address with Amazon Elastic Load Balancing – Configuration with Global Accelerator

Previous article: Using a static IP address with Amazon Elastic Load Balancing

Hi, I am Agata.

This time, we will actually set up one of the methods to use a static IP address with Amazon Elastic Load Balancing that we discussed last time, using NLB and Global Accelerator. I will try to do this using Accelerator. The reason is that this is much easier for new setups.

Application Load Balancer and Global Accelerator settings

As written in the previous article, Global Accelerator is basically used in combination with ALB, so let’s create ALB first. However, it is actually possible to set up Global Accelerator at the same time when setting up ALB.

First, proceed as you would normally create an ALB.
It is assumed that the VPC, Security Group, and Target Group required for ALB have already been created.

  1. Log in to the AWS Management Console.
  2. Open EC2.
  3. Open Load Balancers from the left menu.
  4. Click the blue button “Create Load Balancer” at the top.
  5. Under Select load balancer type, click the “Create” button under Application Load Balancer.
  6. Open “Add-on services” at the bottom of the screen, where you will see an option for AWS Global Accelerator, check the box. Then a field for entering a name for the Global Accelerator will appear, enter a name of your choice.
  7. Enter the other ALB-related settings. When you are done, click the “Create Load Balancer” button.

With these steps, the Application Load Balancer and Global Accelerator are configured at the same time. Let’s check the static IP address that has been set.

  1. Log in to the AWS Management Console.
  2. Open Global Accelerator.
  3. In the list of Accelerators displayed, look at the column Static IP addresses and see that two IP addresses are assigned.

Thus, it is very easy to set up ALB and Global Accelerator at the same time. It is also possible to use Global Accelerator later for an ALB that has already been set up.
It is also possible to specify an EC2 instance or an Elastic IP address as the Global Accelerator endpoint without using ALB.

In the next issue, I will cover the configuration using NLB.

PAGE TOP