AWSPython: Difference between revisions
| Line 24: | Line 24: | ||
* sudo git clone https://github.com/udacity/FSND.git | * sudo git clone https://github.com/udacity/FSND.git | ||
* cd backend | * cd backend | ||
sudo apt-get install python-dev | |||
sudo apt-get install gcc | |||
sudo python3 -m venv venv | sudo python3 -m venv venv | ||
sudo chown -R ubuntu:ubuntu venv/ | sudo chown -R ubuntu:ubuntu venv/ | ||
Revision as of 23:42, 12 December 2021
Setup
Key Pair
Security Group
Instance
Configuation
- user name is 'ubuntu'
- potentially grant ubuntu root privileges see here
Udacity
- sudo apt install python3.8-venv
- create directory \Uwes\python\UdacityFullWebDeveloper with sudo
- sudo git clone https://github.com/udacity/FSND.git
- cd backend
sudo apt-get install python-dev sudo apt-get install gcc sudo python3 -m venv venv sudo chown -R ubuntu:ubuntu venv/ source ./venv/bin/activate pip install wheel deactivate venv
Operation
Login
- create site 'ubuntu@54.212.123.129'
- in Advanced section select ppk file (s. above)
- ubuntu is default user name for Ubuntu based instances
- login via WinSCP by site 'ubuntu@54.212.123.129
- putty from WinSCP does not need any passwort