Sshing in aws load balancer and configuring it to route subdomains?

We want to use Amazon Elastic BeanStalk to deploy to EC2 Box. We want to deploy our Ruby on Rails application in such a way that we can do subdomain based routing for different rails applications.

And we want to use a single SSL certificate for our load balancer and we want to configure our load balancer in essence when subdomain based routing happens. HA Proxy does it well, but when we try to use Amazon Elastic BeanStalk for our deployment, aws creates a load balancer, but doesn't associate it with the Key-Pair. Thus, we cannot use ssh in the load balancer and add our configuration for subdomain based routing.

Can anyone point me to some solution?

Thank you, Ankit.

+3


source to share


1 answer


You are not using SSH for AWS load balancers, they are basically a black box where you only have a limited set of configuration options. You probably need to look at Route 53 services for DNS routing.



Your configuration will have domain DNS based routing for different load balancers, one for each individual service. You cannot have the same ELB route traffic for different EC2 instances based on domain fragments or URIs.

+1


source







All Articles