Questions tagged with Elastic Load Balancing
Content language: English
Sort by most recent
route53 and ELB latency
Hello, I use an ALB on the front of my application (deployed on ECS). And I use route53 in order to set elb as an alias record. When I call my application url directly from ELB by his dns it take few ms but when I call my application url over route53 it take 10s!. I don't uderstand why? bellow show how is configured on route53 my record ``` myapp.env-dev.aws.domain.com A Simple - dev-ecs-alb-xxxx.eu-west-1.elb.amazonaws.com. ``` If I call directly **dev-ecs-alb-xxxx.eu-west-1.elb.amazonaws.com** it work correctly but if I call **myapp.env-dev.aws.domain.com** it make 10s to give me a response
Application Load Balancer Error 503
Hi, We deployed an application load balancer and we're experiencing 503 errors on our frontend but all instances are on the target group is showing healthy status. CPU Utilization is also low and request count is around 300k per hour. Is there a limit to the traffic after deploying a new application load balancer? Do we need to request a pre-warming based on the request count provided above?
Environment health has transitioned from Warning to Ok to Warning
Hello... Several times a day we receive messages like the following: * Environmental health has transitioned from Ok to Warning. No data received from 1 out of 3 instances. 33.3% of the requests to the ELB are failing with HTTP 5xx. Insufficient request rate (1.5 requests/min) to determine application health (5 minutes ago). * Environment health has transitioned from Ok to Warning. 1.0 % of the requests to the ELB are failing with HTTP 5xx (3 minutes ago). But this happens very fast and we can't see the cause of the problem. We have looked at the logs and we have not found relevant information either. I appreciate if someone can guide me on how to resolve this notification Thanks in advanced
Is there a way to know if number of Load Balancer's backend changed?
I frequently run below script to get actual IP addresses of ec2 instances working as a Load balancer's backend. ``` TG_ELEMENTS=`aws elbv2 describe-target-health --target-group-arn $TG_ARN --query 'TargetHealthDescriptions[*].Target.Id' --profile $PROFILE` for i in $TG_ELEMENTS ; do aws ec2 describe-instances --instance-id $i --query 'Reservations.Instances.PrivateIpAddress' --profile $PROFILE done ``` Mostly returned TG_ELEMENTS list is the same (scalling is not so frequent). I was wondering if there is a way to do some small query to know if target group / load balancer's backend change, and if so do some extra queries to get these IP address list?
Facing CORS error on AWS ECS Fargate container
I have deployed my application backend on AWS ECS Fargate container and I deployed my application on second AWS ECS Fargate container. Both, frontend and backend, are using two different load balancers. But when I try to connect my frontend with backend it is throwing a CORS error that you can see in the following picture. ![CORS ERROR](/media/postImages/original/IMtioicrX8ThG8QtwRu35mEQ) Does anyone have any idea why this error is coming and how I can resolve it?
AWS should not take capital letters in DNS URL
Why is AWS ELB field designed to allow capital letters ? The global truth is that DNS in browser always is parsed as lowercase letters . When using them as PUBLIC IP in applications, we must parse it as lowercase as well although AWS Load Balancer field allows capital letters. Then why allow capital letters at all ? Should not this be an improvement on AWS side ?
CloudFront - Internal ELB Origin
Hi all, By Documentation to be able to use ELB as an Origin for a CloudFront Distribution it should be internet-facing. the question is why CloudFront is showing also Internal Load Balancers between the list of possibile Origin Domains that can be selected during the creation of a new Origin ? there is a way to use CloudFront with Private resources ?
Elastic Beanstalk application deployment took long time than expected.
I'm deploying an ECS Based application via Elastic Bean Stalk, it's been executed for a long time. ``` Environment health has transitioned from Pending to Severe. The command is executing on all instances (15 minutes or more elapsed). ``` This might be an issue with the permissions attached via the service role. How to resolve this issue?
Problem with application load balance that I cannot solve
We have an application load balancer with one instance but scales to 8. My problem is this. I have three mobile applications that log into the instances with POST and json and one of the applications can no longer log in. It logs into the test server that is not on the load balancer, but on the production server, it gives 502 bad gateway sporadically at first but now all the time. The server is not returning bad data because it works sometimes, it seems to be a problem with the load balancer not forwarding requests to the appropriate url. Can somebody give me a clue where to start dissecting this. I have looked at the code, I have looked at the application, and I have looked at the server, and the problem seems to lay with the load balancer just not cooperating for no reason given. Like I said, the other two applications work fine and they all share similar code. I just. found out about it from apple about the problem with the login and this 502 bad gateway error will not go away. Any help with 502 gateway errors would be appreciated. I have increased the timeout on the server, I have tried rebuild the load balancer which worked yesterday for about four hours then quit. I am at just a loss. Thanks in advance.