Amazon offers an easy and cost-effective way to run containers in the cloud. This tutorial demonstrates how to configure a Flask web server behind an Nginx reverse proxy using Lightsail containers. The Nginx reverse proxy accepts web requests on port 80 and forwards them to the Flask web server on port 5000. The Flask web server fulfills the requests and return the response to Nginx. A Lightsail container service hosts both the Nginx and the Flask containers. A public endpoint allows external access to the Nginx server. At the end of the tutorial you will have setup a setup an Nginx Reverse Proxy.
Follow along this tutorial to learn how to create a Flask application on Amazon Lightsail containers. In this tutorial, you create a Flask application, build a docker container, create a container service, and then deploy the application on Lightsail. Flask is a web framework that provides you with resources to build a web application.
Follow along this tutorial to learn how to setup an e-commerce site. In this tutorial, you create and configure a Lightsail instance using the PrestaShop Certified by Bitnami blueprint. PrestaShop is one of the most prolific e-commerce solutions in the world. It is free and open source software, with a community of over 1 million active members.
In this tutorial you deploy an example Django-based application onto Lightsail. You start by creating the instance, and deploying your application. Next, you ensure the application is running correctly using the Django’s built-in web server. Finally, you configure Apache to host the application. This tutorial is best suited for those that have a basic understanding of Python and Django.
Lightsail launched an easy-to-use container service in November 2020. This service is best suited for those newer to the cloud and those with simpler workloads. This tutorial shows you how to create a container image on your local machine using a Dockerfile. After your image is created, you then push it to your Lightsail container service to deploy it.