Project for Fullstack Web Development at Udacity.com
This project is about setting up a Linux server to host a web application using a previously completed project. The original source code that will be used for this project can be found here: catalog-project.
An Ubuntu Linux server instance will be setup on Amazon Lightsail and secured by configuring the Uncomplicated Firewall (UFW). Apache server and Postgres database will also be installed and setup to run a Flask application.
- Projected completed on 16 Mar 2018. Lightsail account closed.
Website URL: http://ec2-34-218-171-18.us-west-2.compute.amazonaws.com/Public IP Address: 34.218.171.18- SSH Port: 2200
- Modified source code using PostgreSQL DB: catalog-posgres
- apache2
- libapache2-mod-wsgi
- postgresql
- postgresql-contrib
- git
- python-pip
- Changed
ssh
port to2200
- Disabled login by password authentication
- Forced login by key-based authentication
- UFW Firewall
- deny all incoming
- allow all outgoing
- allow 2200/tcp
- allow www
- allow ntp
config.py
andclient_secrets.json
files uploaded and configured privately
- Ubuntu packages
- Ubuntu Docs - Automatic Updates
- Changing the SSH Port for Linux Servers
- UFW Ubuntu Documentation
- Flask mod_wsgi(Apache)
- Deploy a Flask Application on Ubuntu
- Flask Configuration Handling
- Flask - Setting Up Postgres and SQLAlchemy
- Developing a Flask Web App with PostgreSQL DB
- SQLAlchemy.org
- Udacity FSND Forums
- Disabling SSH Logins for root