AWSPython: Difference between revisions

From Wiki RB4
Line 23: Line 23:
* create directory \Uwes\python\UdacityFullWebDeveloper with sudo
* create directory \Uwes\python\UdacityFullWebDeveloper with sudo
* sudo git clone https://github.com/udacity/FSND.git
* sudo git clone https://github.com/udacity/FSND.git
* sudo python3 -m venv venv
* cd backend
* source ./venv/bin/activate
sudo python3 -m venv venv
source ./venv/bin/activate
deactivate venv


==Operation==
==Operation==

Revision as of 23:19, 12 December 2021

Setup

  • Select the correct region

Key Pair

  • store file in C:\Uwes\owncloud\documents\computer\AWSPython\Python Instance.ppk

Security Group

  • create a specific security group
  • create a rule to access the instance via SSH

Instance

  • create instance

Configuation

  • user name is 'ubuntu'
  • potentially grant ubuntu root privileges see here

Udacity

sudo python3 -m venv venv
source ./venv/bin/activate
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