title: Preventing HTTP access to the servers of Amazon's Elastic Beanstalk
body: <p>We have a system running on Amazon's Beanstalk.
  We would like to limit access to the server to HTTPS only.
  When blocking HTTP on the environment settings - it prevents accessing through the beanstalk DNS.
  However, if someone knows the public IP (or name) of any of the servers - he can access them directly through HTTP. It seems that the LB forwards the requests to port 80, so we can not change the security group and remove port 80.
  Is there a simple way, to limit HTTP access to be only from the LB?
  Thanks</p>