Skip to main content

Home

AWS account settings

  1. On the Unravel UI, click the Manage > AWS Account Settings tab. The AWS Account Settings page is displayed.

  2. On the right, click new-account.png.

  3. 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 secure requests to the AWS service API.

    You must generate an Access key ID and a 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:ListBootstrapActions",
                        "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.

  4. 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.

  5. Click Save.