How are we doing? Please help us improve AWS. Take our short survey

Questions tagged [amazon-elb]

Amazon Elastic Load Balancing (ELB) automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

AWS new console doesn't have Load Balancer Redirect option

I am trying to redirect all incoming requests from http to https. I have multiple internal servers and I am trying to do this with AWS load balancer. I found that this can be done using Application ...
-1 votes
0 answers
27 views

AWS CDK Python - How to configure a ApplicaitonLoadBalancer with two EC2 instances

Created two EC2 instances - ec2_inst_1 = ec2.Instance( .... ) ec2_inst_2 = ec2.Instance( ... ) Now I am trying to map these two EC2 instances with an Application Load Balancer as follows - def build(...
0 votes
0 answers
22 views

AWS Application Load Balancer path Rules not working [closed]

I have 2 target group working fine individually. when I specify a rule that If Path is /social* then forward to Target Group Team-4 this forward the mysubdomain.domain.com/social request to the ...
0 votes
0 answers
7 views

No Credentials error while creating load balancer path based routing rule [closed]

im using a redirect actions to redirect client requests from one URL to another. for that i create the following rule for practice I want soltionenter image description here if anyone face this type ...
0 votes
1 answer
29 views

Conditionally creating load balancer with ecs service in Terraform

I'm loosely following this example to create a multiple ECS services under one cluster: https://github.com/shashimal/terraform-ecs/blob/master/main.tf The problem I have is that only some of the ...
-1 votes
0 answers
28 views

Purpose of AWS ALB target group port with ECS Fargate using CloudFormation

I stepped away from my CloudFormation template for a few days, and my head is spinning trying to get the ports straightened out. My purpose here is to make sure I understand where all the ports are ...
0 votes
2 answers
30 views

SSL certificate issue for AWS 53 Route

I have one module where the user can add a domain CNAME type. The application domain name is xyz.com. This domain uses load balancer wildcard subdomains. When the user registers, a subdomain a1.xyz....
0 votes
0 answers
15 views

CloudFront Multiple origin with Behavior

UseCase: I have one CloudFront distribution with one origin as ABL1 and some custom Behavior (/.png, /.css...etc) which i am caching at edge location and one Bydefault Behavior (Default (*)) which ...
  • 1
0 votes
0 answers
21 views

how to create an ip based network loadbalancer with nginx ingress controller on a kubernetes cluster provisioned with kops on aws

i am trying to set up a kubernetes cluster using kops on aws. I am trying to provision a network load balancer using nginx ingress controller but i want it to be ip based not instance based. i use ...
1 vote
0 answers
27 views

Cloudfront not forwarding request to origin for alias

Weird one here... I have a CF distro forwarding to an ALB with a custom domain with an ACM cert. Accessing the distribution via the cloudfront.net url works fine, it also works fine via one of two ...
0 votes
2 answers
48 views

prevent direct access to AWS load balancer URL when using custom domain in ECS

I have an AWS application load balancer set up to access a target group in an ECS Fargate. I have a custom domain example.com with an AWS-managed certificate with an alias targeting the load balancer. ...
0 votes
0 answers
44 views

"error":"UnauthorizedOperation: You are not authorized to perform this operation.\n\tstatus code: 403 - AWS loadbalancer controller

I'm trying to make an AWS network load balancer via Kubernetes service. As a pre-requisite, I followed this whole article from AWS. The controller is deployed smoothly, but when I apply the Kubernetes ...
1 vote
0 answers
19 views

Is it possible to use AWS ELB to distribute load between AWS EKS & GCP GKE Cluster?

I have create kubernetes clusters on both AWS EKS and Google GKE and I have same application deployed (2048 game) in both of these cluster and both of these have their own individual load balancer ...
0 votes
0 answers
20 views

How can I route/allow VPN traffic through a CVPN in one AWS VPC to resources in another AWS VPC in the same account?

My AWS account has: 3 VPCs: dev, staging, production 2 VPNs: non-prod, prod Most of the services and load balancers are deployed via EKS (kubernetes). The service and load balancer described below ...
0 votes
0 answers
48 views

Ingress is not working with ELB and route 53

I have an web application deployed on EKS cluster using deployment. POD is getting deployed properly and is in running state. Have created the service of type loadbalancer. created ingress and ...
  • 2,204
0 votes
1 answer
36 views

WordPress extremely slow loading site on first visit

I have a WordPress site that is running on an Amazon EC2 instance behind a load balancer. Checking Chrome the initial connection is around 1 minute, before it proceeds to download around 3mb of ...
1 vote
1 answer
44 views

disabling basic auth on certain endpoints in nginx conf file does not work

I am attempting to disable basic authentication for certain endpoints on my website, as some third-party services send requests to the site. I have two EC2 instances and an Application Load Balancer (...
0 votes
1 answer
18 views

Add security policy to ELB config in Elastic Beanstalk?

I'm configering an Elastic Loadbalancer through .ebextensions: Resources: AWSEBV2LoadBalancerListener: Type: 'AWS::ElasticLoadBalancingV2::Listener' Properties: DefaultActions: ...
  • 7,805
0 votes
0 answers
29 views

how to prevent an unhealthy health status from being redirected to a healthy status in an aws application load balancer

My one server is down, but it didn't redirect the unhealthy status to another healthy instance. I create to separate one target groups port number 8000 , two availability zones, and two target EC2 ...
0 votes
0 answers
31 views

Request timed out accessing AWS Network Load Balancer from certain EC2 instances

I have a Network Load Balancer up and running. I know it is functioning properly because from one EC2 instance i can connect to it fine. However, from others or from my local machine I get "...
0 votes
2 answers
34 views

Manage env files for load balanced scaling groups

I am using aws elb for auto scaling my backend servers. Right now I fetch my environment variables from .env file from the root of my project. Every time I update the env variables I have to update ...
0 votes
0 answers
51 views

Cloudfront and ELB problem with redirecting from http to https

I have simple stack: EC2, ELB, Route53 and Cloudfront. I would like to enable CachingOptimized in Cache policy howewer I get error in Firefox: The page isn’t redirecting properly Firefox has detected ...
  • 173
0 votes
0 answers
31 views

AWS CodeDeploy Blue Green deployment stuck at AllowTraffic

I have a Node JS application that I am deploying with AWS CodeDeploy via Blue Green deployment. It is deploying the application onto EC2 instances on autoscaling groups. The deployment process ...
0 votes
1 answer
29 views

Where to find list of AWS Region IDs

I am looking at these two comment replies: Terraform ELB access_log S3 access Permissions Issue Assign ELB Account to S3 Bucket Policy Which include the following list: Region, ELB Account Principal ...
  • 170
0 votes
0 answers
20 views

Setting the cookie domain for AWS ALB OIDC

We've got a number of webapp testing environments that we've preivously gated with IP whitelists, but maintaining those is tedious and error-prone. For the new revision of the environment I've added ...
  • 29.3k
-1 votes
1 answer
24 views

Where can we get this data regarding ELB

We want to get the information regarding The average amount of data in bytes passing through the ELB per request/response pair, in the case of a layer-7 ELB, or the rate, in bytes per second, of ...
1 vote
2 answers
103 views

AWS ELB returns status 504 after 10 seconds

I'm getting 504 status code returns when requesting my load balancer, it then transfers the request to a fargate container. This happens when launching simultaneous calls, some return 200, some 504. I ...
0 votes
0 answers
20 views

ELB doesn't add the new instances after scaling up

I am doing some tests with ingress-nginx load balancer. When I initially deployed it, it automaticaly creates an ELB and works perfectly fine. However, when I scale down the node group and then scale ...
0 votes
0 answers
13 views

Use prometheus and grafana after autoscaling using elb in springboot-based projects

I'm working on a project with springboot. Assuming that there is a lot of traffic, I want to set up eb + auto scaling. In this case, when using code distribution or only one existing ec2 instance, ...
0 votes
0 answers
8 views

Jupyter extension hangs when accessing via VSCode server behind a load balancer

We have a data science platform on AWS where we spin up developer EC2 instances that host ECS containers. Here's the setup: The container exposes two ports: one for JupyterHub and the other for ...
0 votes
1 answer
19 views

AWS loadbalancer per packet - only iptables?

Need a design advice. Need to run in AWS loadbalancer per packet (not per flow). It's for unidirectional UDP based streaming. That means that each packet received by the loadbalancer should be send to ...
0 votes
0 answers
19 views

Django +Nginx+waitress+AWS Elastic Load balancer-504 Error

I have hosted Djano app on Nginx-waitress architecture.Both are running on different ports on same server.There is an AWS ELB which directs requests to Nginx port. I have a functionality which query ...
  • 127
0 votes
0 answers
21 views

AWS Load Balancing all of same websocket route to the same instance

I'm writing an application where multiple users connect to a websocket server with the following url as an example wss://example.com/ws/1234. Multiple users may connect to the same one and I require ...
0 votes
0 answers
28 views

Conflicting keep-alive and idle timeouts

I have an AWS Application Load Balancer with Apache HTTP 2.4 behind it. I've been getting sporatic 502 errors, and I think I've determined that it's because of the Event MPM module. When I switched to ...
  • 798
0 votes
1 answer
43 views

How to figure out why health checks aren't passing in ecs fargate with alb?

I'm quite new into devops, and suffering with setting up a test project for a couple of weeks now. I have made a terraform file which is supposed to set up most of the project: # Get subnets data &...
0 votes
0 answers
21 views

AWS ELB/ECS Http response headers changed

Some context here: An old Symfony app is used in multiple EC2 instances. Handles millions of requests each day without issues. For dev purposes, the app was added to a container and that container is ...
  • 1,220
-3 votes
1 answer
53 views

Why is my lb responding with bad gateway? [closed]

I have no webserver runnning on my ec2 machine, but I still get 502 bad gateway from the load balancer in front of it. Why do I get bad gateway error from the load balancer, but no bad gateway error, ...
  • 2,601
0 votes
0 answers
13 views

AWS Beanstalk ELB Logging Terraform - elb_account_id hardcoded

I am trying to enable logging on the load balancers created by AWS Beanstalk using Terraform, by referring the below article, https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-...
0 votes
0 answers
27 views

Load Balancer Health Check and ECS Capacity Provider

I am pretty confused on how does auto scaling works with Capacity provider, i do know it creates a target tracking scaling policy in cloud watch which tracks the utilization of instances , but what ...
  • 473
0 votes
0 answers
26 views

Express Node.js Backend Running on Fargate

I'm running an Express Node.JS app on ECS Fargate behind an ELB. The issue I'm having is that static files (css, js, images) aren't loading. Can anyone offer me some possible solutions? In addition, I ...
0 votes
0 answers
36 views

Aws load balancer latency stay high 80s forever after a CPU spike event

I have a AWS elastic beanstalk load balancer t2.medium environment set up recently. I noticed that there is a CPU spike event (last a few seconds), following with high latency stay at 80s forever - ...
0 votes
1 answer
39 views

Setting up a redirect on route 53 including path redirection

We have a website running on AWS ECS Fargate via an application load balancer. Due to a rebrand the url is due to change however we would want all old links to still work. We have an old url called ...
0 votes
1 answer
68 views

ALB logging to S3 bucket: Access Denied

Why do I keep getting the following error? I'm simply trying to turn on logging for an application load balancer and specifying an S3 bucket to log to. I'm logged in as root and have permissions on ...
  • 175
0 votes
0 answers
19 views

AWS : Cannot add new listener to an existing load balancer

It seems like we cannot more than one listener et an AWS Network Load Balancer. I've a Load balancer already listening for HTTPS/TLS on port 443. As my instances behind also support http some vhost, I ...
  • 1,980
1 vote
1 answer
54 views

Problems in registering ec2 instances running behind a load balancer as targets in prometheus

My Setup I have setup prometheus and grafana on a machine - M1 I have a AWS Load balancer (LB1) which is forwarding the requests to app instances and handling the ssl part. Load Balancer has one ...
0 votes
1 answer
42 views

sticky session is not working on android browser

I have an ingress alb with session stickiness enabled on target group! kubernetes.io/ingress.class: alb alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/target-type: ...
0 votes
0 answers
53 views

How can I create a security group that references all public IP addresses of my ec2 instances in AWS?

We have an ELB Application load balancer that allows HTTP/HTTPS traffic from a customer managed prefix containing a list of our developer IP addresses. The load balancer forwards incoming requests to ...
0 votes
1 answer
32 views

Bad gateway 502, when ec2 machines are private [closed]

I have created an auto scaling group with EC2 machines. These EC2 machines have installed a webserver. The EC2 machines have a public IP adress and a load balancer in front of them. When querying the ...
  • 2,601
0 votes
1 answer
60 views

Sending load balancer traffic to a target group in another VPC for blue-green deployments

So far I used a single-account for blue-green deployments using ALB and target groups. My company decided we should use a multi-account setup for enhanced security (separate staging and prod). Great, ...
0 votes
0 answers
33 views

What to configure in Asp.Net Core AllowedHosts config for AWS Elastic Beanstalk ELB health checks?

In asp.net core web projects it is recommended to have the AllowedHosts configured. The app is hosted in Elastic Beanstalk with the default ELB and nginx proxy. And while for requests coming from ...

1
2 3 4 5
54