1.[Amazon] (https://amazonlightsail.com/)
1.Download the key that is generated when you start your instance
1.log into your instance from the command line
1. ssh ~/.ssh/yourpemfile.pem ubuntu@yourdomain -p your port
1. `$ sudo apt-get update`
1. `$ sudo apt-get upgrade`
1.create a new user `$ sudo adduser newuser`
1.give user sudo powers `$ sudo usermod -a -G sudo newuser`
1. open the config file `$vim /etc/ssh/sshd_config`
1. change the port to 2200
1. in the lightsail gui add 2200, 123, and 80 to be safe
1.`ssh-keygen -y`
1.path to private key
1.copy the public key returned
1.add to authorized_keys file
1. `$ sudo ufw allow 2200/tcp`
1. `$ sudo ufw allow 80/tcp`
1. `$ sudo ufw allow 123/udp`
set timezone timezone
1.`$timedatectl list-timezones`
1. `$ sudo timedatectl set-timezone UTC`
1. `$ sudo apt-get install apache2`
1. replace apache2 with libapache2-mod-wsgi
1.`$ sudo apt-get install python-pip`
1.`$ sudo pip install dependencies`
1. `$ sudo apt-get install postgresql`
1. add redirect and javascript origins links
1. download new client secrets file
1. modify the client secrets . json file
------ before changes------
*52.42.124.225
*ssh port is 2200 as requested
*http://ec2-52-42-124-225.us-west-2.compute.amazonaws.com/
*summary
*all software used for actual program is in requirements.txt (/var/www/catalog/catalog/requirements.txt)
*apache2
*wsgi
*git
*postgres
third party resources
*stackoverflow
*aws docs
*digital ocean
*github
*ubuntu forums
*askubuntu
*apache docs