Part 1 - Configure your environment
Create Administrator IAM User and Group
To create an administrator user for yourself and add the user to an administrators group:
2. In the IAM navigation pane, choose Users and then choose Add user.
3. In Set user details for User name, type a user name for the administrator account you are creating. The name can consist of letters, digits, and the following characters: plus (+), equal (=), comma (,), period (.), at (@), underscore (_), and hyphen (-). The name is not case sensitive and can be a maximum of 64 characters in length.
4. In Select AWS access type for Access type, select the check box next to AWS Management Console access, select Custom password, and then type your new password in the text box. If you’re creating the user for someone other than yourself, you can leave Require password reset selected to force the user to create a new password when first signing in. Clear the box next to Require password reset and then choose Next: Permissions.
5. In set permissions for user ensure Add user to group is selected.
6. Under Add user to group choose Create group.
7. In the Create group dialog box, type a Group name for the new group, such as Administrators. The name can consist of letters, digits, and the following characters: plus (+), equal (=), comma (,), period (.), at (@), underscore (_), and hyphen (-). The name is not case sensitive and can be a maximum of 128 characters in length. In the policy list, select the check box next to AdministratorAccess and then choose Create group.
8. Back at Add user to group, in the list of groups, ensure the check box for your new group is selected. Choose Refresh if necessary to see the group in the list. choose Next: Review to see the list of group memberships to be added to the new user. When you are ready to proceed, choose Create user.
9. At the confirmation screen you do not need to download the user credentials for programmatic access at this time. You can create new credentials at any time.
You can use this same process to create more groups and users and to give your users access to your AWS account resources. To learn about using policies that restrict user permissions to specific AWS resources, see Access Management and Example Policies. To add additional users to the group after it’s created, see Adding and Removing Users in an IAM Group.
Log in to the AWS Management Console using your administrator account
11. Select the region you will use for the lab from the the list in the upper right corner.
Create an EC2 Key Pair
Amazon EC2 uses public-key cryptography to encrypt and decrypt login information. Public-key cryptography uses a public key to encrypt a piece of data, such as a password, then the recipient uses the private key to decrypt the data. The public and private keys are known as a key pair. You must create a key pair, specify the name of the key pair when you launch the instance, and provide the private key when you connect to the instance.
13. In the EC2 navigation pane under Network & Security, choose Key Pairs and then choose Create Key Pair.
14. In the Create Key Pair dialog box, type a Key pair name such as
OELabIPM and then choose Create.
15. Save the
keyPairName.pem file for later use created in this lab.