Add and Log In to an AWS EC2 Instance with a sudo User

InstructorSam Julien

Share this video with your friends

Send Tweet

Now that we are SSH'ed into our EC2 instance we can start modifying the server to actually run the application that we want to to run. Before we do that we want to switch users because you initially SSH you are the root user.

We will start by adding a ghost-admin user that we will give sudo permissions to. Once we are logged into that user we will update the server to ensure we are on the latest and greatest versions before installing additional software.