1. Create an AWS Account
If you haven’t done so already, create an AWS account.
-
Goto aws.amazon.com.
-
Choose Sign In to the Console.
-
Choose Create a new AWS account.
-
Complete the process by following the on-screen directions.
2. Create an IAM Group and User
AWS Identity and Access Management (IAM) enables you to securely control access to AWS services and resources for your users.
-
Sign in to the AWS Management Console, if you are not already signed in, at console.aws.amazon.com.
-
Open the IAM console. At the AWS services field type IAM and select IAM Manage User Access and Encryption Keys.
-
In the IAM console’s navigation pane, choose Groups.
-
Choose Create New Group.
-
On the Set Group Name page, for Group Name, type a name for the new group.
-
Choose Next Step.
-
On the Attach Policy page, select the box next to AdministratorAccess and AWSCodeCommitFullAccess (if you don’t see either of these policy names in the list, type the policy name in the Filter box to display it).
-
Choose Next Step.
-
Choose Create Group.
-
In the navigation pane, choose Users.
-
Choose Add user.
-
For User name, type a name for the new user.
-
Select both the Programmatic access and the AWS Management Console access check boxes. This allows the new user to use various AWS developer tools and service consoles.
-
Leave the default choice of Autogenerated password, which creates a random password for the new user to sign in to the console.
-
Leave the default choice of Require password reset, which prompts the new user to change their password after they sign in to the console for the first time.
-
Choose Next: Permissions.
-
Leave the default choice of Add user to group.
-
In the list of groups, select the check box (not the name) next to the group you want to add the user to.
-
Choose Next: Review.
-
Choose Create user.
-
On the last page of the wizard, choose Download .csv and save the file on your local computer (don’t forget where you placed it).
This is the only time you can view the new user’s AWS secret access key and console sign in password. -
Choose Close.
-
In the navigation bar, logout from your account by choosing Sign Out from the menu where your AWS account name appears.
3. Create a Cloud9 Environment
AWS Cloud9 contains a collection of tools that you use to code, build, run, test, debug, and release software in the cloud. To work with these tools, you use the AWS Cloud9 integrated development environment, or IDE.
When we create an AWS Cloud9 environment we’ll also create an Elastic Compute Cloud (EC2) instance. EC2 is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.
-
Log in using the information from the CSV file from step 21 of the previous section. Open your browser with Console login link. Type the IAM user name and the Password.
-
Provide the requested information to change your password.
-
Choose Confirm password change.
-
Open the Cloud9 console. At the AWS services field type Cloud9 and select Cloud9 A Cloud IDE for Writing, Running, and Debugging Code.
-
Choose Create environment.
-
On the Name environment page, type a name and a description for your environment.
-
Choose Next step.
-
On the Configure settings page, change the Platform to Ubuntu Server 18.04 LTS. Leave everything else unchanged.
-
Choose Next step.
-
On the Review page, choose Create environment.