Newest 'aws-load-balancer' Questions - Stack Overflow

Questions tagged [aws-load-balancer]

The tag has no usage guidance.

-1
votes
0answers
40 views

Convenient way to ssh into a EC2 instance behind a load balancer

Whenever I want to ssh into an EC2 instance behind a load balancer from iTerm2 on my MacBook Pro, the steps that I do are as the following: Open AWS console's EC2 page. Click on the instance and then ...
0
votes
1answer
45 views

How to make a specific port publicly available within AWS

I have my React website hosted in AWS on https using a classic load balancer and cloudfront but I now need to have port 1234 opened as well. When I currently browse my domain with port 1234 the page ...
1
vote
2answers
32 views

Attaching Application load balancer / Network Load balancer directly with aws Autoscaling group

How do I attach aws Application Load Balancer and Network Load balancer directly with auto-scaling group(ASG)? In AWS Console only available option is for Classic Load Balancer. What i want is ...
0
votes
1answer
31 views

Is fronting Tomcat by Apache http server meaningful when we are using aws application load balancer

I know fronting Tomcat by Apache has some security benefits when we are using aws classic load balancer. However, I was wondering if it is meaningful to front Tomcat by Apache http server, when we are ...
0
votes
1answer
38 views

AWS NLB to ECS Cluster failing health check

I've configured a Network Load Balancer to route TCP traffic to an ECS cluster over port 80 The ECS cluster is running an ASP.NET Core 2.2 API task in Fargate configuration. The base route for the ...
1
vote
1answer
40 views

Why AWS Classic Load Balancer Instances are OutOfService, but Auto Scale Group Shows InService and Healthy?

I tried to avoid asking this question, but after struggling for hours (or days) and reading all related materials, I'm desperately turning to SO. So, I am trying to deploy my node/react project to ...
0
votes
0answers
26 views

Use ELB to Serve Multiple SSL Domains on one EC2 Instance and same Public IP

We are using One AWS EC2 instance to host multiple sites and separate ELBs to Serve Multiple SSL Domains for each site. Before applying the ELBs with AWS SSL certificates for each domain , the ...
0
votes
1answer
29 views

How to redirect HTTPS to HTTP on ELB Application Load Balancer

On Amazon's "Classic Load Balancer" you could create a rule to forward HTTPS connections to HTTP, simplifying SSL and server configuration by uploading the certificate to the load balancer and letting ...
-1
votes
1answer
33 views

How to show Orchestrator, IBM MQ, Load balancer in Deployment diagram

I need to creat Deployment diagram using UML notation. Diagram has to show IBM MQ, Orchestrator,Load balancer and some data base. Which elements from Deployment diagram I have to use?
0
votes
0answers
9 views

Why does AWS code deploy start 2 deployments and then hang?

I have been stuck on this for like 3 days and have scowered google looking for answers. This was working fine before I added an ssl cert and tried to convert my application to https. In other words ...
0
votes
1answer
18 views

Load Balancer certificate transfer/reuse in another region

I am implementing disaster recovery in AWS . My application is deployed in us-east-1 and now as part of disaster recovery I wanted to create same infra in another region . Now i have challenge ...
0
votes
1answer
44 views

AWS: confusion on multi-AZ setups for ASG and ELB

I am about to take my AWS Architect Associate Certification Exam and I have some things on ELB and ASG that I still don't get (or maybe I just did not study enough) and I liked to ask your help to ...
0
votes
0answers
24 views

Provide access to Elastic bean stalk web servers

Planning to run PHP web code in aws elastic bean stalk. Web code does some api calls to my api server. In api server, call checking the Request IP for validating the source. Cant have restriction ...
0
votes
1answer
33 views

Node js API nginx webserver AWS load balancer

I am currently having two nginx servers and an AWS load balancer in front of them. The static content is served with nginx. Now for the dynamic content to communicate with the database can I use node....
0
votes
0answers
17 views

AWS - How to route traffic from Network Load Balancer to Application Load Balancer? [duplicate]

I would like to route traffic from a Network Load Balancer to an Application Load Balancer. Since you cannot assign elastic IPs to ALBs and I couldn't find a way to add the ALB to the NLB's target ...
0
votes
1answer
49 views

Getting 400's from aws ELB hostcheck to work with django ALLOWED_HOSTS in aws ECS under awsvpc networking mode?

When moving over to ECS with awsvpc networking mode, my ALB says all my hosts are unhealthy because checking /status/ yields 400s. I've narrowed it down to the issue being something wrong with ...
0
votes
1answer
31 views

External site with CNAME for site hosted on AWS

We have an app hosted on mygreatapp.com; We want to have another company use our app in their domain but pointing to our app e.g. greatapp.theircompany.com; I suppose that it would be done adding a ...
0
votes
1answer
21 views

Unable to get IP address from a REST call to ELB in AWS, Instead i get a DNS name

When making a REST call to AWS ELB the XML response obtained has DNS name but unable to fetch an IP address of the LoadBalancer. But when i do a REST call for LoadBalancers in Azure i obtain an IP ...
2
votes
1answer
125 views

AWS EC2 Security group permissions for Network Load Balancer

I have been working on securing my AWS infrastructure and faced with a difficulty when it come to Network load balancer and Target Groups. Below is the problem. I have an ECS cluster running on EC2 ...
0
votes
0answers
14 views

After Installing SSL to google domain in AWS I am unable to access phpMyAdmin it SHows Forbidden but site is working with https

After installing the SSL Cert for my domain, I am unable to log in phpMyAdmin. There is option to chose Google name server(without SSL) and custom name server (with SSL) under DNS in manage google ...
1
vote
0answers
134 views

Issue setting up SSL certificates for traefik controller on AWS Kubernetes

I am deploying a web application (set of inter-communicating node servers) on kubernetes. I use Traefik controller, as load balancer and also internal communication in the cluster. I purchased the ...
1
vote
0answers
101 views

AWS CloudFormation Stack creation failure due to issue with CFN-INIT script

I have created 2 templates - One for creating VPC and related items and another template to create a 2 tier web application using exported resources from first template. I am using Auto-scaling group ...
0
votes
1answer
76 views

How to setup HTTPS on an EC2 instance WITHOUT load balancer ? (aws)

I know that installing ssl and having https on a server is a piece of cake for you all, but still: Can someone get me the solution for having HTTPS on a EC2 instance, without load balancer, on a AWS ...
-1
votes
1answer
80 views

Is there a way to reduce load balancer cost with aws?

I use AWS for my businesses, and i have a load balancer for every website of mine, only in order to have HTTPS (because it is easy to setup). Now the problem is that load balancers costs are related ...
1
vote
3answers
353 views

AWS Static IP to Load Balancer?

Is it possible to assign a static IP to an AWS load balancer without the need to move your NS records to Route 53? I basically just want to create an A record from my domain to point to the ELB.
-1
votes
1answer
38 views

with ELB attached to ec2, health check failed on HTTP ping, but succeeded with TCP ping

I was building backend for a simple app. It was with nginx-uwsgi-djangorest-api in AWS EC2. Because I needed to send the requests with https, I added elb load balancer to my ec2 instance, which is ...
0
votes
1answer
33 views

AWS application load balancer on unknown dynamic url paths

Is it possible to do url path load balancing on an AWS application load balancer when the paths are generated dynamically? e.g example.com/abc12345 example.com/abc54321 Please note there is no ...
0
votes
1answer
29 views

aws load balancer for non-https microservices

If I have a microservice that does not have http/https endpoints, and its sole purpose is to pull data from an ActiveMQ queue. It is possible to to set up a load balancer that doesn't require a http/...
-1
votes
1answer
31 views

Do not understand how to route to different ports on same ec2 instance

I currently have an autoscaling group that was launched by my cloudformation template. It currently has one instance. This instance has an application running on port 8080, and another one running on ...
1
vote
1answer
92 views

amazon load balancer for lambda

I am new to use aws. Normally, I use load balance like bottom with 2 servers. For L4 Load balancing, there are more than 2 servers But ALB - Lambda is not I think I am curious about ALB - Lambda ...
0
votes
1answer
37 views

Is there a way to return JSON on ALB lambda?

I have created lambda function on node.js which returns JSON. It connected with API Gateway and worked well. I want to connect it to amazon load balancer. I tried it but it returns HTML page. ...
0
votes
0answers
31 views

Running Sonarqube in a high-availibility environment

I am planning to use sonarqube under a high-availability AWS NAWS environment. Going by the documentation, the following are the two possible approaches: Run Sonarqube in cluster mode, which comes ...
0
votes
1answer
149 views

Cannot connect to internet-facing NLB forwarding traffic to a private instance

I have configured a cloud with following configuration VPC with a public and private subnet in two availability zones. Public subnet has an internet gateway and private subnet has a NAT gateway ...
0
votes
1answer
267 views

HTTP to HTTPS redirection not working on AWS ALB

I am using ECS for WordPress site and using Application Load Balancer (ALB) for load balancing and offloading SSL. ALB is using 2 different listeners on both port 80 and 443. The redirection rule is ...
0
votes
1answer
29 views

AWS listener cf template gives error in aws cli but is valid in console(design template)

I am trying to create 2 listeners for the load balancer. 1st - HTTP for redirecting and 2nd - HTTPS for forwarding. I am trying to achieve this via cf template. Everytime I execute the stack in ...
0
votes
1answer
12 views

Is it possible to route rule1 response to rule2 in AWS Application Loadbalancer?

I have an ALB with 2 rules. Rule1 has a target group of lambda which sends some authenticated data as response. I want to send that response to target group of Rule2. Is it possible?
1
vote
1answer
92 views

How to configure AWS ELB in a replace of NGiNX server & it's settings?

I would like to know, how can we completely migrate from NGiNX to AWS ELB including SSL(AWS certificate) ? I have following NGiNX configuration for one of my domain(for example, example.com) server {...
0
votes
1answer
33 views

AWS ALB catastrophic failure

First, the background: Yesterday our AWS-based business in US West 2, consisting of two auto-scale groups (and various other components like RDS further back) behind an ALB went offline for six hours....
0
votes
0answers
12 views

NLB support for IP based Loadbalancing

Does AWS NLB has any support for source IP based Loadbalancing? Ex: say if IP range is 34.5.5.5-34.5.5.254 forward traffic to instance X? Or if Traffic is from 34.6.6.6 forward to instance Y Is ...
1
vote
1answer
165 views

How to add a target to a Network Load Balancer in CloudFormation

I've got some CloudFormation for a Network Load Balancer. PrivateNetworkLoadBalancerSG: Type: AWS::EC2::SecurityGroup Properties: GroupDescription: Access to the internal network load ...
0
votes
1answer
149 views

aws lambda function to call internal load balancer

Is there any way to call internal load balancer from a lambda function without going to internet?? I have a lambda function that need to call an internal load balancer without going to internet. ...
-2
votes
1answer
60 views

Update ALB with changes in EC2 ip address

I want to have my EC2 instances use same IP even after start/stop. I cannot assign an Elastic IP because I have reached my limit (Not looking for "Request for Elastic IP increase" solution). Is there ...
0
votes
0answers
9 views

AWS classic load balancer closed connection issue

I'm using server sent events and on the close event the backend server is notified and can end the response. This works fine when connecting from the client to the backend, but when going through the ...
0
votes
0answers
6 views

Can we with single command update the health check parameters of all the target groups present in a AWS cloud?

Each load balancer can be associated with multiple listeners. Let's consider there are X target groups. Do we have a mechanism to update the health check parameters for all the target groups with a ...
-1
votes
2answers
26 views

One Website to be connected with Multiple EC2 Instance?

I am new to AWS, i am already having a godaddy VPS server, but my application is very slow when i hosted it in goDaddy VPS. So i migrated to AWS, now my application works very fast, but some times ...
0
votes
0answers
24 views

Disable aws ec2 Ip capture in load balancer log

In AWS load balancer log is there anyway to disable client Ip storage . Like Client Ip "123.123.123.123" at the place of Ip we can store Null .
0
votes
0answers
185 views

AWS Kubernetes: Selecting SSL Certificate on AWS Load Balancer

I’m trying to configure SSL for an AWS Load Balancer for my AWS EKS cluster. The load balancer is proxying to a Traefik instance running on my cluster. This works fine over HTTP. Then I created my ...
0
votes
1answer
384 views

How Do I Attach an ASG to an ALB Target Group?

In AWS' Cloudformation, how do I attach an Autoscaling Group (ASG) to an Application Load Balancer Target Group? There does not appear to be any direct way to do that directly in a Cloudformation ...
0
votes
1answer
21 views

How to check the status of loadbalancer with AWS Java Elastic Load Balancer SDK

I have a cli command which I am trying to convert Java SDK: aws elb wait any-instance-in-service --load-balancer-name $lb_name --profile $AWS_PROFILE which should report that the load balancer ...
0
votes
0answers
101 views

I cannot get my autoscaling group to reference my TargetGroup

I am able to launch a simple autoscaling group. However, the problem comes when I try to set up an Application Load Balancer to direct traffic to my various instances. First, I created my load ...