samedi 12 avril 2014

SSL - environnement AWS Elastic Beanstalk avec plusieurs équilibreurs de charge - Stack Overflow


I have the following situation: I have 1 Rails App that has 2 domains, each of these domains has multiple/dynamical subdomains. This app is in AWS using a load-balanced Elastic Beanstalk.


What i need is that those 2 domains that points to my single Rails App to work under SLL in port 443.


But since Elastic Beanstalk has only one load balancer, I can only use one single SSL certificate in port 433 :( Using a UCC SLL certificate won't be the solution because i need each domains certificate to be wildcard, so the dynamic subdomains will also work.


Any thoughts about how to get multiple Load Balancers playing nicely with an Elastic Beanstalk Environment?


Best.




It's a tough one with Elastic Beanstalk as they have a cookie cutter way of deploying your app and if it's not in their options then you have either "hack it" or just go with a completely different solution using EC2 or plain cloud servers.


One thing you can try is creating another ELB with the certificate of the second domain (and subdomains) and point it to your Elastic Beanstalk Instance. If you go to the ELB console you should be able to see the ELB for the first domain. Then, you can create your second domain based on the first domain.


Hope it helps.



I have the following situation: I have 1 Rails App that has 2 domains, each of these domains has multiple/dynamical subdomains. This app is in AWS using a load-balanced Elastic Beanstalk.


What i need is that those 2 domains that points to my single Rails App to work under SLL in port 443.


But since Elastic Beanstalk has only one load balancer, I can only use one single SSL certificate in port 433 :( Using a UCC SLL certificate won't be the solution because i need each domains certificate to be wildcard, so the dynamic subdomains will also work.


Any thoughts about how to get multiple Load Balancers playing nicely with an Elastic Beanstalk Environment?


Best.



It's a tough one with Elastic Beanstalk as they have a cookie cutter way of deploying your app and if it's not in their options then you have either "hack it" or just go with a completely different solution using EC2 or plain cloud servers.


One thing you can try is creating another ELB with the certificate of the second domain (and subdomains) and point it to your Elastic Beanstalk Instance. If you go to the ELB console you should be able to see the ELB for the first domain. Then, you can create your second domain based on the first domain.


Hope it helps.


Related Posts:

0 commentaires:

Enregistrer un commentaire