title: Can AWS redirect HTTP to HTTPS?
body: <h2>Background</h2>
  
  <p>I am serving an application on AWS using Route53 + LoadBalancer + EC2.</p>
  
  <p>I want to force all users to use https. Whenever a request is made on http, I want it redirected to a https request.</p>
  
  <h2>Potential Solutions</h2>
  
  <p>I know of three ways to redirect HTTP to HTTPS:</p>
  
  <ol>
  <li><p>Client side. This involves using JS to check if the host is http or https, and redirecting if it's https.</p></li>
  <li><p>Server Side. This involves configuring the webserver to redirect all http requests to https.</p></li>
  <li><p>However, I'm curious: can this be done at the Route53 or LoadBalancer stage?</p></li>
  </ol>
  
  <h2>Question</h2>
  
  <p>Is there some way to configure Route53 or LoadBalancer so that any requests on http are redirected to https?</p>
  
  <p>Thanks!</p>
  
  <h2>Edit</h2>
  
  <p>For downvoters: please explain why you are down voting. The solutions I have found on SO / Google are "how do do redirection via server, which is option 2. I'm trying to solve this at the AWS layer."</p>