Questions tagged [aws-elb]

Amazon Web Services Elastic Load Balancer (aws-elb) is a service offered by aws to automatically distribute incoming network traffic across multiple targets (EC2 instances or specific ports).

190 questions
3
votes
0 answers

Network communication from EC2 instance to/from internet via HTTP, TCP and UDP

We have one app deployed on an EC2 instance that can communicate inbound/outbound using HTTP, TCP, and UDP protocols. One option could be to have an ALB for HTTP traffic and an NLB for TCP, UDP traffic. The challenge is that the application allows…
3
votes
2 answers

how to request ACM using AWS default DNS for ELB

I have an application running on AWS ELB and want to set up https listener. I tried to request an SSL certificate using AWS ACM but was unable to do because the ELB is using default AWS DNS name. Is it possible to request ACM for the DNS name like…
vkt
  • 1,401
  • 2
  • 20
  • 46
3
votes
1 answer

ELB to backend server using HTTPS with self-signed certificate

I am looking to setup an ELB that uses HTTPS to communicate with backend servers. I am trying to setup a proof of concept using a single backend server, but can't seem to get the ELB to communicate with server. I am almost certain this is a…
Charles L.
  • 5,795
  • 10
  • 40
  • 60
3
votes
1 answer

MongooseIM SSL connection via AWS ELB

I have MongooseIM server configured with docker-compose in an EC2 instance in AWS. I intend to give access to some mobile clients with SSL through an ELB (AWS) on port 5222 (module ejabberd_c2s of mongooseim) in the following way: SSL (Secure…
3
votes
0 answers

AWS Application load balancer - allowing requests only from API Gateway

How can I restrict AWS Application Load Balancer to only receive HTTP \ HTTPS requests which originated from AWS API Gateway ? I'm aware that API Gateway can generate and send client side certificate to the backend as described…
Uria W
  • 159
  • 1
  • 6
3
votes
1 answer

How to deploy code using CodeDeploy with AutoScalingGroup containing multiple target group

This is my case. one instance with three application [ 4000, 4001, 4002 ]. Created an ALB and redirected 3 domains to three target groups using rules When I use to create an application in Code-deploy [Blue-green], it asks for only one target…
gotam
  • 193
  • 2
  • 11
3
votes
1 answer

Error while creating Application Load Balancer in Cloudformation... XXXXX must be in ARN format

Using the AWS CloudFormation service, I am trying to create an Application Elastic Load Balancer on 2 EC2 instances, but I am getting an error while creating Listener [AWS::ElasticLoadBalancingV2::Listener] as…
Smi
  • 183
  • 1
  • 4
  • 12
3
votes
1 answer

"NLB ARN is malformed" when create VPC link for AWS APIGateway

I followed the tutorial to create a VPC link to my private elb balancer. https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-api-with-vpclink-cli.html But it failed, and got an error message "statusMessage": "NLB ARN is malformed". I…
2
votes
1 answer

How to only allow a few IPs to reach a AWS Network Load Balancer?

I am running my tasks (in public subnets) using AWS Fargate, and an Internet-facing NLB distributes the traffic to all the available tasks through a target group. I have a security group added to the service that only allows the the NLB's IP. We are…
Saif
  • 2,530
  • 3
  • 27
  • 45
2
votes
0 answers

AWS ELB - How to add wildcard for path param?

I want to add a path-pattern in a listenerRule that looks something like this: /x/*/y The trouble is that the wildcard also matches forward slash, so it matches much more than I want. I've also tried to use ? as a workaround, but there is an…
2
votes
1 answer

Wildcards on query for AWS cli for elbv2

I'm trying to get the ARN of some LoadBalancer which I only know the prefix of the DNS name. As an example, aws elbv2 describe-load-balancers --query 'LoadBalancers[].DNSName[]' will print me: [ …
tpschmidt
  • 2,479
  • 2
  • 17
  • 30
2
votes
1 answer

AWS Lambda (URL) rewrite flow

I am new to Lambda so I would like to understand how the following scenario can be deployed: Lambda connected to API gateway ( which in turn connected to a reverse proxy) The request from API gateway to lambda needs to be routed to 3 different ALBs…
2
votes
2 answers

Attaching "Application Load Balancer" to "Auto Scaling Group" in Terraform gives error

When one creates an ASG (Auto Scaling Group) in AWS Console there is option which can be checked "receive traffic from one or more load balancers"? I was trying to do same using the "aws_autoscaling_attachment" resource, however I'm getting error…
2
votes
0 answers

Issue with adding AWS instances to target group and ALB with terraform

I am trying to create a application load balancer with 2 Target groups. The instances are in public subnet. with the below code I am able to create the resources but instances are not attaching the target group a albmod.tf no-of-frontend-attachments…
murali
  • 43
  • 5
2
votes
0 answers

Using Google reCAPTCHA v3 in load balanced environment

I need to protect a form submission using either v2 or v3 of Google reCAPTCHA. Is there any issue about having the website running in an AWS (Application) Load Balanced environment? Will reCAPTCHA effectively be testing the IP addres against the…
Swomble
  • 874
  • 8
  • 17
1 2
3
12 13