Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Visibility of AWS Application Load Balancer to Internal Load Balancer

I had created an Application Load Balancer and it was set as public. I have bifurcated certain things and want to convert it to an internal load balancer so that it is exposed only to the VPC resources. But when I change the visibility option from 'public' to 'internal', I get this error -

Updating Load Balancer listener named: 
arn:aws:elasticloadbalancing:ap-south-1:xxxxxxxxx:listener/app/awseb-AWSEB-xxxxxxxxxxxxxx/xxxxxxxxxxxxxx/xxxxxxxxxxxxxx failed Reason: 
The following target groups cannot be associated with more than one load balancer:
 arn:aws:elasticloadbalancing:ap-south-1:xxxxxxxxxxxxxx:targetgroup/awseb-AWSEB-xxxxxxxxxxxxxx/xxxxxxxxxxxxxx 
(Service: AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: TargetGroupAssociationLimit)
like image 483
harsh tibrewal Avatar asked Jan 13 '20 06:01

harsh tibrewal


People also ask

What is internal application load balancer AWS?

An internal load balancer routes requests to targets using private IP addresses. For IP address type, choose IPv4 or Dualstack. Use IPv4 if your clients use IPv4 addresses to communicate with the load balancer. Choose Dualstack if your clients use both IPv4 and IPv6 addresses to communicate with the load balancer.

What is difference between internal and internet facing load balancer?

Therefore, internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes.

How do I access my internal application load balancer?

To access an internal load balancer in VPC A from VPC B: Establish connectivity between VPC A and VPC B using VPC peering. Establish the necessary routes, security group rules, and network access control list (ACL) rules to allow traffic between the VPCs.

Which configuration is required for an internal load balancer?

When you create an internal load balancer, a virtual network is configured as the network for the load balancer. A private IP address in the virtual network is configured as the frontend for the load balancer. The frontend IP address can be Static or Dynamic.


1 Answers

I had this problem recently. To fix it, I had to disable to rule listener. Afterward, I was able to set it from public to internal.

like image 110
frany Avatar answered Nov 13 '22 02:11

frany