AWSPython: Difference between revisions

From Wiki RB4
 
(16 intermediate revisions by the same user not shown)
Line 11: Line 11:


===Instance===
===Instance===
* https://docs.aws.amazon.com/de_de/AWSEC2/latest/UserGuide/EC2_GetStarted.html
* create instance [[File:AWSPython6.GIF|400px]]
* [[File:AWSPython7.GIF|400px]]
* [[File:AWSPython8.GIF|400px]]
 
===Configuation===
* user name is 'ubuntu'
* potentially grant ubuntu root privileges [https://www.shellhacks.com/how-to-grant-root-access-user-root-privileges-linux/ see here]
 
==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
 
===Reboot===
sudo reboot

Latest revision as of 11:28, 26 December 2021

Setup[edit]

  • Select the correct region

Key Pair[edit]

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

Security Group[edit]

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

Instance[edit]

  • create instance

Configuation[edit]

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

Operation[edit]

Login[edit]

  • 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

Reboot[edit]

sudo reboot