Amazon Load Balancer

Review the following example to learn how to setup your Amazon Load Balancer(classic) to forward HTTPS traffic to the internal Pyramid web server.

Step 1

As can be seen below two listeners have been setup; one on HTTP and the other on HTTPS. The HTTP listener is set to forward to the HTTPS listener, meaning that if a user tries to access the site using HTTP, they will be redirected to HTTPS.

Step 2

Next, a target to the Pyramid Web server needs to be set. Note that the port used is TCP Port 8181 as this is the default port that the Pyramid web server runs on.