BeanStalk Integration With HTTPS

Two way of intergration with HTTP and HTTPS for Elastic Beanstalk

Beanstalk with HTTPS (Hypertext transfer protocol secure)

  • Load certificate on to load balancer
    • can be done from console
    • can be done from code: .ebextensions/securelistener-alb.config
    • can be done using ACM (AWS Certificate Manager) or CLI
  • Must configure a security group allow port 443

Beanstalk redirect HTTP to HTTPS

  • Configure your instance to redirect HTTP to HTTPS
  • Or configure at the ALB level
  • Make sure health check are not redirected (so they give 200 ok)