integrate your storage

Onboard an AWS account with Zesty platform

This topic describes how to use the Zesty platform UI to onboard your AWS account with Zesty.

Onboarding connects your account so you can benefit from the Zesty platform features.

This topic is relevant for AWS Linked or Management accounts to use Zesty Commitment Manager, Kompass, and Zesty Disk.

You onboard an account using the Zesty platform Onboard account page:

.png)

Onboard with Terraform for Kompass

You can also use Terraform to onboard a Linked AWS account for use with Kompass.

For more information, see Onboard an AWS Linked account for Kompass with Terraform.

Onboard an account when you need to:

During onboarding, you will be transferred to your AWS Management Console. There, you’ll use a CloudFormation stack to create an IAM role which then onboards your AWS account with Zesty.

Prerequisites

The required permissions are shown on the Onboard account page.

Product AWS account type CUR
Commitment Manager Management Required
Zesty Disk Linked No CUR - Cost and savings are estimated based on AWS list price
Management Optional - With a CUR, Zesty can show precise cost and savings
Kompass Linked No CUR - Cost and savings are estimated based on AWS list price
Management Optional - With a CUR connected to Athena, Zesty can show precise cost and savings

These are the requirement for CUR data:

Note: this file may not be present until up to 24 hours after first creating a CUR.

To onboard an account with Zesty using the Zesty platform:

  1. Open the Onboard account page:
    • If you are already on the page, skip to #2.
  2. From the Admin section of the Zesty platform main menu, select Organization Settings > Accounts.
    • The Accounts page displays existing accounts.
  3. Click Add account.
    • The Onboard account page is displayed:

.png)

  1. In Step 1, choose whether the AWS account is a Linked account or a Management account.
  2. In Step 2, choose the products to activate.
  3. In Step 3, configure the CloudFormation stack:

Note: You may not see all the fields described here. They will vary depending on the account type and product you chose in the previous steps and the CUR format that you choose here.

  1. Select the region where to create the stack that will be used for onboarding.
    1. Enter the details of the CUR (for Management accounts):
      • (You can find these details in the AWS Console Billing and Cost Management section.)
        • Select the format of your CUR: Legacy CUR, CUR 2.0, or None
        • Enter the CUR export name (for v2.0 only).
        • Enter the CUR S3 bucket.
          • Example: s3://zesty-cur/prod-v2
    2. Enter the Athena details (required for Kompass).
      • You can find some of the following details in the AWS Console Athena tab.
        • Region: Region where the source is located
        • Bucket name: the bucket where Athena query results are stored
        • Database: the name of the Athena database
        • Table: the Athena table name (in the Athena tab under your AWS database)
        • Account ID: ID of the AWS account
        • Workgroup: The Athena workgroup (in the Athena tab)
        • Catalog: The Athena data source (in the Athena tab)
  2. In Step 4, create the IAM role:

Note: Before proceeding, ensure that you are logged into the account that you are onboarding.

  1. Review and approve the security content of the IAM role.

    1. Click Create IAM role.
      • Zesty redirects you to the AWS Console to create a CloudFormation stack.
    2. In the AWS Console, scroll down to the Capabilities section and select I acknowledge that AWS CloudFormation might create IAM resources.
    3. Click Create stack.
      • In the AWS console, the CloudFormation > Stacks page is displayed.
      • The Events tab shows the different events taking place. When the process is done, the CREATE_COMPLETE status is displayed.
    4. In the AWS Console Outputs tab, copy the full ZestyRoleArn value and paste it in the Role ARN field at the bottom of the Zesty Onboard account page.
      • For example:
  2. Click Connect account.

    • Zesty takes a few moments to finalize the onboarding.
    • If you receive an error message or require other assistance, contact Customer Support.
  3. From the AWS Management Console, add permissions (required for Kompass): This process is explained in the AWS Edit IAM policies help topic. You can see the permissions here.

  4. Open IAM roles.

    1. Click the recently created IAM.
    2. In the Permissions policies section, click the policy name.
    3. Add the following permissions so Zesty can access the result bucket:
      {
          "Sid": "ZestyCURBucketAccess",
          "Action": [
              "s3:Get*",
              "s3:List*"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:s3:::[CUR RESULTS BUCKET NAME]"
      },
      {
          "Sid": "ZestyCURBucketAccess",
          "Action": [
              "s3:Get*",
              "s3:List*"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:s3:::[CUR RESULTS BUCKET NAME]/*"
      },
      {
          "Sid": "ZestyAthenaResultsWrite",
          "Effect": "Allow",
          "Action": [
              "s3:PutObject"
          ],
          "Resource": "arn:aws:s3:::[ATHENA RESULTS BUCKET NAME]/*"
      }
      
    4. Click Next.
    5. On the Review and save page, review Permissions defined in this policy and then click Save changes.