You can add additional users to a compute instance.
If you created your instance using a Linux or CentOS platform image, you can use SSH to access your instance from a remote host as the opc user. If you created your instance using an Ubuntu platform image, you can use SSH to access your instance from a remote host as the ubuntu user. After signing in, you can add users to the instance.
If you created your instance using a Windows platform image, you can create new users after you sign in to the instance through a Remote Desktop client.
Creating Additional Users on a Linux Instance
If you do not want to share your SSH key, you can create additional SSH-enabled users for a Linux instance. At a high level, you do the following things:
Generate SSH key pairs for the users offline.
Add the new users.
Append a public key to the ~/.ssh/authorized_keys file for each new user.
The new users then can SSH to the instance using the appropriate private keys.
Tip
If you re-create an instance from a platform image, users and SSH public keys that you added or edited manually (that is, users that weren't defined in the machine image) must be added again.
If you need to edit the ~/.ssh/authorized_keys file of a user on your instance, start a second SSH session before you make any changes to the file and ensure that it remains connected while you edit the file. If the ~/.ssh/authorized_keys file becomes corrupted or you inadvertently make changes that lock you out of the instance, you can use the backup SSH session to fix or revert the changes. Before closing the backup SSH session, test all changes you made by logging in with the new or updated SSH key.