Member-only story

Linux Web Server Configuration to deploy a Flask App using Amazon Lightsail

Rahul Banerjee
Programming Tips
Published in
8 min readAug 22, 2019

Required

  1. Knowledge of some basic Linux Commands
  2. A terminal, I prefer git bash
  3. 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

  1. Go to Amazon LightSail
  2. Create an account/sign in to your existing account
  3. Click Create instance and choose Linux/Unix,OS only and Ubuntu 16.04LTS

--

--

Programming Tips
Programming Tips

Published in Programming Tips

Content related to programming: tips, code-snippets, concepts.

Rahul Banerjee
Rahul Banerjee

Written by Rahul Banerjee

Software Developer | Views are my own

No responses yet