Linux Web Server Configuration to deploy a Flask App using Amazon Lightsail
Published in
8 min readAug 22, 2019
Required
- Knowledge of some basic Linux Commands
- A terminal, I prefer git bash
- A flask app ready to be deployed
Description
You will take a baseline installation of a Linux distribution on a virtual machine and prepare it to host your web applications, to include installing updates, securing it from a number of attack vectors and installing/configuring web and database servers.
My Server’s Info
(No longer working but it will suffice for this tutorial)
IP Address: 3.121.206.97
URL: http://ec2-3-121-206-97.eu-central-1.compute.amazonaws.com/ SHH SSH Port: 2200
Configuration Steps:
Get your server
Setup Server
- Go to Amazon LightSail
- Create an account/sign in to your existing account
- Click Create instance and choose
Linux/Unix
,OS only
andUbuntu 16.04LTS