Skip to main content

Onboarding for AWS

Introduction

When operating in an AWS environment, it's essential to establish clear separation among your diverse environments (e.g., development, testing, production) to bolster security, governance, and billing segregation. To achieve this, we recommend creating separate AWS accounts for each environment and managing access using IAM (Identity and Access Management) users.

Why Use Separate AWS Accounts?

Using separate AWS accounts for different environments offers several benefits:

  1. Isolation: Each environment operates within its own AWS account, minimizing the risk of impacting other environments.
  2. Billing Separation: Costs are isolated per AWS account, simplifying cost tracking and allocation for better financial management.
  3. Resource Governance: You can exercise fine-grained control and management of resources within each environment.

Creating IAM Users

To manage access to your AWS accounts and resources, we recommend creating an IAM user with the AdministratorAccess policy attached to it.

Step-by-Step Guide

  1. Create an IAM User
aws iam create-user --user-name <YourUserName>

Replace YourUserName with the desired username for the IAM user.

  1. Attach AdministratorAccess Policy
aws iam attach-user-policy --user-name <YourUserName> --policy-arn arn:aws:iam::aws:policy/AdministratorAccess

Make sure to replace YourUserName with the IAM username you created.

  1. Generate Access Key and Secret Key
aws iam create-access-key --user-name <YourUserName>

Replace YourUserName with the actual IAM username.

This command will return the Access Key ID and Secret Access Key. Be sure to save these credentials securely, as they will be needed for programmatic access to AWS services. The output will look something like this:

{
"AccessKey": {
"UserName": "YourUserName",
"AccessKeyId": "YourAccessKeyId",
"Status": "Active",
"SecretAccessKey": "YourSecretAccessKey",
"CreateDate": "2023-10-25T15:16:22Z"
}
}

Setting Up AWS Environments Using BOS Templates

We are committed to making the setup of AWS environments as straightforward as possible. We recognize the challenges that come with managing multiple AWS environments, and that's why we've developed templates that streamline this process. Our templates enable you to swiftly and precisely configure your AWS environments.

Step 1: Choose the Appropriate Template

We offer a comprehensive template that covers most resources and configurations for your AWS environment. This single template is designed to simplify your AWS setup and is flexible enough to accommodate a variety of environment requirements.

  1. AWS EKS Deploy

Step 2: Use the selected Template:

Once you've selected, you can now use this template to set up your AWS environment by clicking on the Validate and then + Resources buttons.