0

I have Spun up Aws EC2 Ubuntu 18.0 instance I have installed python.

My requirements are.

  1. I want to create multiple logins up to 50. login will happen simultaneously so VM must support multiple login
  2. I want the users to login with the same ".ppkfile" and same public i/p but instead of logging in as root user. they need to login with their user names.
  3. the installed python must be accessible for all 50 users.

Is there a way that I can achieve this? Kindly suggest me on how to proceed?

Talha Tayyab
  • 8,111
  • 25
  • 27
  • 44
rqqa
  • 35
  • 6

1 Answers1

1

You can do so by creating the user-account manually for each user or writing shell script to automate it. You have to follow linux adduser command to create users. You can also create separate keys for each user or can use password based login as well. Follow the below link to achieve the same.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html

As for the python part, if it is installed at the system level and all the users can access it. You need root access to install python at system level. This is a duplicate question and has been asked here

Hussain Mansoor
  • 2,934
  • 2
  • 27
  • 40
  • if i want 50 people to work simultaneously what would you suggest the Ram capacity of EC2 instance. what would you suggest me Please let me know – rqqa May 29 '22 at 06:26
  • That depends on the usage of each user. Well this is not preferred solution at all as you're creating single point of failure for 50 people. AWS Workspaces might be a good solution – Hussain Mansoor May 31 '22 at 08:57