How to enable SSL as well as redirect to HTTPS on Graviton Based Elastic Beanstalk Instances?

0

I am trying to enable SSL on graviton based Elastic Beanstalk environments. However, the usual method on x86 instances where you go to Load Balancers and connect the SSL certificate does not work because the graviton based instances do not have a load balancer. How do I enable SSL on graviton based Elastic Beanstalk environments?

질문됨 2년 전259회 조회
2개 답변
1

Graviton environments can have load balancers too (I have several environments like this). They are configured the same way as x86. When you are creating a new environment you have to press "Configure more options", then choose "High Availability" from the radio list at the top.

답변함 2년 전
0

Graviton based Elastic Beanstalk instances support load balancers as non Graviton based instances do. You can attach an application load balancer to the Beanstalk instance and configure the redirection rules for moving HTTP traffic to HTTPs. When you configure your load balancer to terminate HTTPS, the connection between the client and the load balancer is secure. Backend connections between the load balancer and EC2 instances use HTTP, so no additional configuration of the instances is required.

If you need to secure the connection all the way to the EC2 instances behind the load balancer, you can configure the proxy server that runs on the instance to terminate HTTPS. Configuring your instances to terminate HTTPS connections requires the use of configuration files to modify the software running on the instances, and to modify security groups to allow secure connections.

To assign a certificate to your environment's load balancer:

  1. Open the Elastic Beanstalk console, and in the Regions list, select your AWS Region.
  2. In the navigation pane, choose Environments, and then choose the name of your environment from the list.
  3. In the navigation pane, choose Configuration.
  4. In the Load balancer configuration category, choose Edit.
  5. On the Modify load balancer page:

For application load balancer, a. Choose Add listener. b. In the Application Load Balancer listener dialog box, configure the following settings:

  • For Port, type the incoming traffic port, typically 443.
  • For Protocol, choose HTTPS.
  • For SSL certificate, choose your certificate. c. Choose Add.

For Network Load Balancer, a. Choose Add listener. b. In the Network Load Balancer listener dialog box, for Port, type the incoming traffic port, typically 443. c. Choose Add.

  1. Choose Apply at the bottom of the page.

For more use cases and information, refer - https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-elb.html

AWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인