AWSPython

From Wiki RB4
Revision as of 22:56, 12 December 2021 by UweHeuer (talk | contribs) (→‎Udacity)

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 apt install python3.8-venv
  • create directory \Uwes\python\UdacityFullWebDeveloper with sudo
  • sudo git clone https://github.com/udacity/FSND.git
  • sudo python3 -m venv venv
  • source ./venv/bin/activate

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