Skip to main content

Home

How to connect your AWS account

  1. On the Unravel UI, click the Manage tab.

  2. Click the AWS Account Settings tab. The AWS Account Settings page is displayed.

  3. On the left, click new-account.png.

  4. Follow the instructions provided to set up an IAM user. You can use key-based access to enable access to your Amazon account. Unravel uses the access keys to make secure requests to the AWS service API.

    You must generate Access key ID and Secret access key that Unravel can use to get AWS metrics.

    To set up the key access, do the following in the given sequence:

    • Create Policy

      The AWS monitoring policy defines the minimal scope of permissions that you need to give to Unravel to monitor the services running in your AWS account. Create it once and use it anytime when enabling Unravel access to your AWS account.

      1. On your Amazon console, go to Identity and Access Management (IAM).

      2. Go to Policies and click Create Policy.

      3. Select the JSON tab, and paste the following policy:

        {
            "Version": "2012-10-17",
            "Statement": [
                {
                    "Effect": "Allow",
                    "Action": [
                        "pricing:GetProducts",
                        "elasticmapreduce:ListClusters",
                        "elasticmapreduce:DescribeCluster",
                        "elasticmapreduce:ListInstanceFleets",
                        "elasticmapreduce:ListInstanceGroups",
                        "elasticmapreduce:ListInstances",
                        "ec2:DescribeSpotPriceHistory"
                    ],
                    "Resource": "*"
                }
            ]
        }
      4. Provide a name for the policy and create it.

    • Create User

      1. On your Amazon console, click Users > Add User.

      2. Enter a name for the key you want to create.

      3. In Select AWS access type, select Programmatic access, and click Next:Permissions.

      4. Click Attach existing policies directly and choose the monitoring policy you defined earlier.

      5. Click Next:Review.

      6. Review the user details and click Create user.

        Store the Access Key ID name (AKID) and Secret access key values. These keys are used for setting up your Account in Unravel.

  5. Provide the following details in Step 2: AWS Account details:

    Field

    Description

    Name

    Provide a name

    Region

    Select a region.

    Account key

    Specify the Access key ID name (AKID).

    Secret key

    Enter the Secret access key.

    Namespace to Monitor

    Select EMR as namespace.

  6. Click Save.