Questions tagged [elastic-load-balancer]

Use this tag for questions related to the Elastic Load Balancer, used to automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Usually accompanies this tag, so you are encouraged to use it too, if applicable.

331 questions
1
vote
1 answer

How does Elastic Beanstalk know if EC2 server is busy?

I've got a NodeJS application that does some moderately intense logic work when a user requests it. For example, a user on the frontend can click Analyze and the server will perform the work, which could take 30 seconds to 1 minute (non-blocking) My…
1
vote
0 answers

How to set kubernetes proxy for a websocket application which running from ALB of AWS?

Using AWS to run kubernetes cluster which installed by kops. Using alb-ingress-controller to realize application load balancer(ALB) on AWS. Deployed a websocket application into the kubernetes cluster. When try to access the application from ALB…
1
vote
2 answers

Single domain for multiple ELB

Is it possible for a single domain name to be associated with multiple AWS ELB on different domains? Eg. I want example.com to point to my first ELB, and api.example.com to point to my second ELB (which is from a different AWS account). I tried…
1
vote
1 answer

How to configure ElasticBeanstalk to store access logs for classic ELB

I'm using Terraform to provision ElasticBeanstalk application. EC2 instances are placed into auto scaling group and accessed via (classic) Elastic Load Balancer. Now I need to store access the logs to that load balancer in S3. I see it is possible…
1
vote
1 answer

AWS: Source ip not visible at instance through Network Load Balancer

I have an API gateway which is sending requests via the VPC link to Network load balancer(NLB) which is then forwarded to the target instance. As per AWS documentation, when the target group is instance the source ip is passed unfettered to the…
binshi
  • 1,248
  • 2
  • 17
  • 33
1
vote
1 answer

For ALB - is there an equivalent of fail2ban?

ALB (Application Load Balancing) is a layer 7 load balancer on AWS ELB. For ALB - is there an equivalent of fail2ban which can prevent DDoS attacks?
1
vote
0 answers

Elastic Beanstalk 502 errors during autoscaling

I have an Elastic Beanstalk app running on Docker set up with autoscaling. When another instance is added to my environment as a result of autoscaling, it will 502 while the instance goes through the deployment process. If I ssh into the relevant…
1
vote
1 answer

ELB listener configuration for WSS websocket

My Websocket WS works fine.But When I use WSS , it fails with below error. WebSocket connection to 'wss://mywebsocket.ca/' failed: Error in connection establishment: net::ERR_INSECURE_RESPONSE It feels some SSL issue. I have my certificates…
1
vote
1 answer

socket io not working with https ;switching back to polling

I have Node.JS app running in Elastic Bean Stalk. I have Elastic Load Balancer set up and SSL is set up in that. I did socket.io in my Node.JS. I had trouble accessing it because of Nginx configurations. I fixed them by using .ebextensions . Now…
1
vote
3 answers

How to add Amazon issued SSL Certificate to tomcat?

How can I secure my site from http://my_site to https://my_site I am running Apache Tomcat and I have the AWS Certificate and Elastic Load Balancer having my EC2 instance.
1
vote
2 answers

How to implement SSL on AWS instance

I have 2 websites hosted on AWS EC2. I created a single instance and hosted both sites there. I have deployed the SSL for one site by creating the ELB for that. How can I deploy the SSL on the other site using ACM on the same instance?
baig772
  • 3,404
  • 11
  • 48
  • 93
1
vote
2 answers

CloudFormation - Using Conditions, Pseudo Parameters, and Intrinsic Functions Together to define a Single Resource Property

I have a CloudFormation template that has two conditions defined. If we're launching the stack in us-west-2 (where the Network ELB IS supported), then it sets CreateNetworkLoadBalancer to True. If we're running this stack in sa-east-1 (Sao Paulo,…
1
vote
1 answer

How do I automatically adds/whitelist auto scaling instance IPs to the security group

I have some EC2 instances setup with auto scaling. It scaling up and down according to resource usage. These servers accessing some other Ec2 instance and rds instance. It connect using public ip (not using internal/private IP). Each time new…
1
vote
1 answer

AWS load balancer security group not allowing traffic even when all allowed

The security group assigned to it has both Inbound and Outbound rule as ALL traffic and ALL port range, so why does it say it's not allowing traffic on that listener port?
1
vote
0 answers

web server should be kept out of load balancer to perform app pool recycle? or its ok to perform the recycle of the app pool directly?

Currently in our office when ever there is a spike in cpu or memory we keep that particular server on maintenance on load balancer and then perform app pool recycle. so this process is consuming time of ours. please let me know what happens when we…