AWS serves as one of the gateways to the cloud. In this guide, I’ll walk you through the process of AWS account creation. Now let’s get started and work through the complexities of setting up an AWS account together. Let’s dive in and simplify the process.

AWS Account Creation

  • Go to the AWS Free Tier Page and click on “Create a Free Account.
  • Enter your desired login details and click “Continue.”
  • Choose a suitable support plan from AWS
  • Your account will be processed for activation, You will receive an email confirmation that your Amazon Cloud Services account has been activated.


Create User and Access Keys

  1. Sign in to the AWS Management Console:
    • Go to aws.amazon.com and sign in to the AWS Management Console using your AWS account credentials.
  2. Navigate to IAM (Identity and Access Management):
    • In the AWS Management Console, search for “IAM”
  3. Create a New IAM User:
    • In the IAM dashboard, click on “Users” in the left-hand navigation pane.
    • Click on the “Create user” button.
    • Enter a username for the new IAM user.
    • Select “Provide user access to the AWS Management Console”.
    • choose “I want to create an IAM user”
    • Click on “Next: Permissions”.
  4. Set Permissions:
    • Attach policies to the user based on the permissions they need. You can choose to add existing policies or create custom ones.
  5. Add Tags (optional): You can add tags to the user for better organization.
  6. Review and Create:
    • Review the user details, permissions, and tags.
    • Click on “Create user”.
  7. Access Keys:
    • After the user is created, you’ll see a confirmation screen with the user details.
    • Now navigate to user page and under “Security credentials”, click on the “Create access key” button.
    • Take note of the Access Key ID and Secret Access Key. These will be needed to authenticate the user programmatically.
  8. Download Access Key (optional):
    • You can download the access key details as a .csv file for safekeeping.
  9. Finish:
    • Once you have noted down the access key details, click on “Close” to finish the process.

Configure AWS CLI

These steps will help you set up the AWS Command Line Interface (CLI):

  1. Install the AWS CLI:
  2. Open a Terminal or Command Prompt:
    • Once the AWS CLI is installed, open a terminal
  3. Run the AWS Configure Command:
    • In the terminal or command prompt, type the following command:aws configure
  4. Enter AWS Access Key ID:
    • You will be prompted to enter your AWS Access Key ID. This is the access key of the IAM user you created earlier.
  5. Enter AWS Secret Access Key:
    • Next, you will be prompted to enter your AWS Secret Access Key. This is the secret key associated with the Access Key ID.
  6. Specify Default Region:
    • You will be asked to specify a default region. Enter the AWS region you want to use (e.g., us-east-1, us-west-2, etc.).
  7. Specify Default Output Format:
    • Finally, you’ll be asked to choose output format. You can pick from json, yaml, yaml-stream, text, or table.
  8. Test Your Configuration:
    • To test your configuration, you can run a simple AWS CLI command, such as: aws s3 ls
    • This command should list the contents of your S3 buckets if your configuration is correct and you have permissions to access S3.

With these steps, you have successfully configured the AWS CLI on your system. You can now use the AWS CLI to interact with AWS services using your IAM user credentials.

Conclusion

Following these steps you will be able to set up their AWS account, create IAM users with proper rights, and configure the AWS Command Line Interface for easier interaction with AWS services. Remember to prioritize security by keeping access keys safe and constantly evaluating permissions.

Got any queries or feedback? Feel free to drop a comment below!

Categorized in: