CloudPeek docs

Get started

CloudPeek shows your Amazon CloudWatch metrics and alarms as widgets on the Home Screen of your iPhone, iPad or Android phone, and on the iPhone and iPad Lock Screen. Give it a sign-in of its own, add a first widget, and put it on your Home Screen. It takes about ten minutes in the AWS console, and the AWS CLI, CloudFormation and Terraform work too.

Updated 20 October 2026

Before you start

  • CloudPeek, from the App Store on an iPhone or iPad with iOS 17 or later, or from Google Play on an Android phone or tablet with Android 8.0 or later.
  • An AWS account, and a sign-in to it that can create IAM users and policies, or IAM Identity Center permission sets, such as an administrator's.
  • The region where your resources run, such as eu-west-2. You'll choose it in step 2.

1. Create a sign-in for CloudPeek

Give CloudPeek a sign-in of its own, with only the permissions it uses: five CloudWatch reads, Amazon Bedrock for writing AI widgets, and AWS Organizations for your accounts' names in spend by account. It never changes anything in your account. What each permission is for.

cloudpeek-policy.jsonDownload
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "CloudPeek",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:ListDashboards",
        "cloudwatch:GetDashboard",
        "cloudwatch:GetMetricData",
        "cloudwatch:ListMetrics",
        "cloudwatch:DescribeAlarms",
        "bedrock:InvokeModel",
        "organizations:ListAccounts"
      ],
      "Resource": "*"
    }
  ]
}

Then choose how CloudPeek signs in:

Sign-inBest for
Option A: an IAM user with an access keyA personal account, or the quickest start. The key works until you deactivate or rotate it.
Option B: IAM Identity CenterOrganisations that sign in through the AWS access portal. No long-lived key: CloudPeek renews the session until your organisation's session limit.

Each option has steps for the AWS console, the AWS CLI, CloudFormation and Terraform. Choose one on the tabs and every page follows; your choice is remembered on this device.

Option A: an IAM user with an access key

  1. In the IAM console, choose Policies › Create policy. Switch to the JSON editor, paste the policy and choose Next. Name it CloudPeek and choose Create policy.
  2. Choose Users › Create user. Name the user cloudpeek, leave console access off, and choose Next.
  3. Choose Attach policies directly, select CloudPeek, choose Next, then Create user.
  4. Open the new user, go to the Security credentials tab and choose Create access key. Choose Application running outside AWS, then Next and Create access key.
  5. Keep the page open, or download the .csv file. The secret access key is shown only once.

Download the policy above, then run:

Shell
aws iam create-policy \
  --policy-name CloudPeek \
  --policy-document file://cloudpeek-policy.json

aws iam create-user --user-name cloudpeek

aws iam attach-user-policy \
  --user-name cloudpeek \
  --policy-arn "arn:aws:iam::$(aws sts get-caller-identity --query Account --output text):policy/CloudPeek"

aws iam create-access-key --user-name cloudpeek

The last command prints the access key ID and secret access key. The secret is shown only once.

The template creates the policy and the user. It doesn't create an access key, so the secret never appears in CloudFormation.

cloudpeek-access.yaml (resources)Download
Resources:
  # The CloudWatch actions CloudPeek reads with (ListMetrics finds your metrics for presets and AI widgets),
  # bedrock:InvokeModel for writing AI widgets in Amazon Bedrock, billed to the account, and
  # organizations:ListAccounts for the names of the accounts in charges per linked account (only an
  # organisation's management account can list them). The CloudWatch and Organizations actions
  # don't support resource-level permissions for this use, so the resource is "*". To allow only
  # CloudPeek's model in Bedrock, see https://cloudpeek.app/docs/ai-widgets.html#regions
  Policy:
    Type: AWS::IAM::ManagedPolicy
    Properties:
      ManagedPolicyName: !Ref PolicyName
      Description: Access for the CloudPeek app to CloudWatch dashboards, metric data and alarms, and to Amazon Bedrock for AI widgets.
      PolicyDocument:
        Version: "2012-10-17"
        Statement:
          - Sid: CloudPeek
            Effect: Allow
            Action:
              - cloudwatch:ListDashboards
              - cloudwatch:GetDashboard
              - cloudwatch:GetMetricData
              - cloudwatch:ListMetrics
              - cloudwatch:DescribeAlarms
              - bedrock:InvokeModel
              - organizations:ListAccounts
            Resource: "*"

  User:
    Type: AWS::IAM::User
    Condition: ShouldCreateUser
    Properties:
      UserName: !Ref UserName
      ManagedPolicyArns:
        - !Ref Policy

Deploy it, then create the user's access key:

Shell
aws cloudformation deploy \
  --stack-name CloudPeek-Access \
  --template-file cloudpeek-access.yaml \
  --capabilities CAPABILITY_NAMED_IAM

aws iam create-access-key --user-name cloudpeek

Or upload the template in the CloudFormation console, select I acknowledge that AWS CloudFormation might create IAM resources with custom names, and create the key on the user's Security credentials tab (console steps 4 and 5).

The configuration creates the policy and the user. It doesn't create an access key, so the secret never lands in your Terraform state.

cloudpeek-access.tf (resources)Download
# The CloudWatch actions CloudPeek reads with (ListMetrics finds your metrics for presets and AI widgets),
# bedrock:InvokeModel for writing AI widgets in Amazon Bedrock, billed to the account, and
# organizations:ListAccounts for the names of the accounts in charges per linked account (only an
# organisation's management account can list them). The CloudWatch and Organizations actions
# don't support resource-level permissions for this use, so the resource is "*". To allow only
# CloudPeek's model in Bedrock, see https://cloudpeek.app/docs/ai-widgets.html#regions
data "aws_iam_policy_document" "cloudpeek" {
  statement {
    sid    = "CloudPeek"
    effect = "Allow"
    actions = [
      "cloudwatch:ListDashboards",
      "cloudwatch:GetDashboard",
      "cloudwatch:GetMetricData",
      "cloudwatch:ListMetrics",
      "cloudwatch:DescribeAlarms",
      "bedrock:InvokeModel",
      "organizations:ListAccounts",
    ]
    resources = ["*"]
  }
}

resource "aws_iam_policy" "cloudpeek" {
  name        = var.policy_name
  description = "Access for the CloudPeek app to CloudWatch dashboards, metric data and alarms, and to Amazon Bedrock for AI widgets."
  policy      = data.aws_iam_policy_document.cloudpeek.json
}

resource "aws_iam_user" "cloudpeek" {
  count = var.create_user ? 1 : 0
  name  = var.user_name
}

resource "aws_iam_user_policy_attachment" "cloudpeek" {
  count      = var.create_user ? 1 : 0
  user       = aws_iam_user.cloudpeek[0].name
  policy_arn = aws_iam_policy.cloudpeek.arn
}

Apply it, then create the user's access key:

Shell
terraform init
terraform apply

aws iam create-access-key --user-name cloudpeek

Terraform can make the key too, with aws_iam_access_key, but the secret is then stored in plain text in your state. Creating it with the CLI or the console keeps it out.

Treat the secret access key like a password. CloudPeek keeps it on your device, in the iOS Keychain or, on Android, encrypted with a key in the Android Keystore. Don't share it, email it or save it anywhere public.

Result: an access key ID, which starts with AKIA, and its secret access key.

Option B: IAM Identity Center

Give CloudPeek a permission set instead of a long-lived access key.

  1. In the IAM Identity Center console, choose Permission sets › Create permission set, then Custom permission set.
  2. Under Inline policy, paste the policy above and choose Next. If the account already has the CloudPeek policy (the CloudFormation and Terraform files on this site create it), you can attach it as a customer managed policy instead.
  3. Name the permission set CloudPeek, choose Next, then Create. CloudPeek renews the role's credentials automatically, so the default session duration is fine.
  4. Choose AWS accounts, select the account with your dashboards, and choose Assign users or groups. Pick the people who'll use CloudPeek, select the CloudPeek permission set, and choose Submit.

Run these in your organisation's management account (or the delegated administrator account for IAM Identity Center), in the region where IAM Identity Center is enabled. Replace Engineering with your group's name and 123456789012 with the account that has your dashboards.

Shell
INSTANCE_ARN=$(aws sso-admin list-instances --query 'Instances[0].InstanceArn' --output text)
STORE_ID=$(aws sso-admin list-instances --query 'Instances[0].IdentityStoreId' --output text)

PERMISSION_SET_ARN=$(aws sso-admin create-permission-set \
  --instance-arn "$INSTANCE_ARN" \
  --name CloudPeek \
  --description "CloudWatch and Amazon Bedrock access for the CloudPeek app" \
  --query 'PermissionSet.PermissionSetArn' --output text)

aws sso-admin put-inline-policy-to-permission-set \
  --instance-arn "$INSTANCE_ARN" \
  --permission-set-arn "$PERMISSION_SET_ARN" \
  --inline-policy file://cloudpeek-policy.json

GROUP_ID=$(aws identitystore get-group-id \
  --identity-store-id "$STORE_ID" \
  --alternate-identifier '{"UniqueAttribute": {"AttributePath": "displayName", "AttributeValue": "Engineering"}}' \
  --query GroupId --output text)

aws sso-admin create-account-assignment \
  --instance-arn "$INSTANCE_ARN" \
  --permission-set-arn "$PERMISSION_SET_ARN" \
  --principal-type GROUP --principal-id "$GROUP_ID" \
  --target-type AWS_ACCOUNT --target-id 123456789012

Assigning the permission set to the account provisions it there automatically.

Deploy this in your organisation's management account (or the delegated administrator account), in the region where IAM Identity Center is enabled. Your instance ARN is on the IAM Identity Center Settings page, and a group's ID is on its page under Groups.

CloudFormation
AWSTemplateFormatVersion: "2010-09-09"
Description: A CloudPeek permission set, assigned to one group in one account.

Parameters:
  InstanceArn:
    Type: String
    Description: Your IAM Identity Center instance, such as arn:aws:sso:::instance/ssoins-1234567890abcdef
  GroupId:
    Type: String
    Description: The ID of the group whose members will use CloudPeek
  AccountId:
    Type: String
    Description: The AWS account with your dashboards

Resources:
  PermissionSet:
    Type: AWS::SSO::PermissionSet
    Properties:
      InstanceArn: !Ref InstanceArn
      Name: CloudPeek
      Description: CloudWatch and Amazon Bedrock access for the CloudPeek app
      InlinePolicy:
        Version: "2012-10-17"
        Statement:
          - Sid: CloudPeek
            Effect: Allow
            Action:
              - cloudwatch:ListDashboards
              - cloudwatch:GetDashboard
              - cloudwatch:GetMetricData
              - cloudwatch:ListMetrics
              - cloudwatch:DescribeAlarms
              - bedrock:InvokeModel
              - organizations:ListAccounts
            Resource: "*"

  Assignment:
    Type: AWS::SSO::Assignment
    Properties:
      InstanceArn: !Ref InstanceArn
      PermissionSetArn: !GetAtt PermissionSet.PermissionSetArn
      PrincipalType: GROUP
      PrincipalId: !Ref GroupId
      TargetType: AWS_ACCOUNT
      TargetId: !Ref AccountId

Apply this with a provider for your organisation's management account (or the delegated administrator account), in the region where IAM Identity Center is enabled. Replace Engineering with your group's name and the account ID with the account that has your dashboards.

Terraform
data "aws_ssoadmin_instances" "this" {}

locals {
  sso_instance_arn  = tolist(data.aws_ssoadmin_instances.this.arns)[0]
  identity_store_id = tolist(data.aws_ssoadmin_instances.this.identity_store_ids)[0]
}

resource "aws_ssoadmin_permission_set" "cloudpeek" {
  name         = "CloudPeek"
  description  = "CloudWatch and Amazon Bedrock access for the CloudPeek app"
  instance_arn = local.sso_instance_arn
}

resource "aws_ssoadmin_permission_set_inline_policy" "cloudpeek" {
  instance_arn       = local.sso_instance_arn
  permission_set_arn = aws_ssoadmin_permission_set.cloudpeek.arn
  inline_policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Sid    = "CloudPeek"
      Effect = "Allow"
      Action = [
        "cloudwatch:ListDashboards",
        "cloudwatch:GetDashboard",
        "cloudwatch:GetMetricData",
        "cloudwatch:ListMetrics",
        "cloudwatch:DescribeAlarms",
        "bedrock:InvokeModel",
        "organizations:ListAccounts",
      ]
      Resource = "*"
    }]
  })
}

# The group whose members will use CloudPeek.
data "aws_identitystore_group" "engineering" {
  identity_store_id = local.identity_store_id

  alternate_identifier {
    unique_attribute {
      attribute_path  = "DisplayName"
      attribute_value = "Engineering"
    }
  }
}

resource "aws_ssoadmin_account_assignment" "cloudpeek" {
  instance_arn       = local.sso_instance_arn
  permission_set_arn = aws_ssoadmin_permission_set.cloudpeek.arn
  principal_type     = "GROUP"
  principal_id       = data.aws_identitystore_group.engineering.group_id
  target_type        = "AWS_ACCOUNT"
  target_id          = "123456789012" # the account with your dashboards
}

Result: your AWS access portal URL, such as https://my-company.awsapps.com/start, which is on the IAM Identity Center dashboard, and the CloudPeek permission set assigned to you in the account.

AI widgets

There's nothing more to set up. The policy above lets the model find your metrics (cloudwatch:ListMetrics) and run in Amazon Bedrock (bedrock:InvokeModel), billed to the account. To use the Anthropic API instead, or to allow only CloudPeek's model, see AI widgets.

Looking for the Bedrock regions, or how to allow only CloudPeek's model? They're on AI widgets › Regions and permissions.

2. Add the account in CloudPeek

  1. Open CloudPeek. The first time, three short pages say how it works: read them with Continue, or tap Skip.
  2. Tap Add Account, on the last of those pages or on the Accounts tab.
  3. Under How do you sign in to AWS?, choose Access Key (option A) or IAM Identity Center (option B). If you have neither yet, Don't have either yet? opens step 1 here.
  4. Access Key: give the account a Label if you like, such as prod-platform. Enter the Access key ID and Secret access key. Choose the Default region, then tap Validate & Save.
  5. IAM Identity Center: in Start URL, enter your access portal's name: for https://my-company.awsapps.com/start, just my-company. Leave Region as it is if you don't know it; CloudPeek finds it. Tap Continue in Browser, check the code in your browser matches the one in CloudPeek, and approve it. Back in CloudPeek, choose the AWS account, then the CloudPeek role and the Default region, and tap Validate & Save. To add more accounts from the same portal, tap Add Another Account: there's no need to approve in the browser again.
Add Account's first step, “How do you sign in to AWS?”, offering Access Key and IAM Identity Center with what each needs, and Don't have either yet? for the setup guide.
Step 1: how you sign in
The Access Key form: a link to the setup guide, then the Label and Default region, the Access key ID, Secret access key and Session token, and Validate & Save.
Step 2: the Access Key form

Choose the default region where your resources run. It starts as US East (N. Virginia), us-east-1. New widgets look for metrics in it (Create Widget also lets you choose another as you add one), and each keeps the region it was added in, so one added in the wrong region shows no data. Spend widgets always read us-east-1, whatever you choose.

Result: CloudPeek checks the sign-in with AWS and that it can read CloudWatch, shows Signed in with the account number, then opens Create Widget for the account, at What kind of widget? You don't need a dashboard: presets and AI widgets work without one.

If Validate & Save shows an error instead, see Troubleshooting › Signing in. To add more accounts, or change this one's region later, see Accounts.

3. Add your first widget

  1. In Create Widget, which opened when you added the account, look under Suggested presets, below What kind of widget?: presets that will show data in the account. If you closed it, tap Create Widget on the Widgets tab; with more than one account, choose the account first.
  2. Choose one of them. If none is listed, or none is what you want, choose Preset instead, then a preset for a service you use, such as Lambda invocations or SQS messages waiting. Search presets finds one by name, and a preset that would find nothing says why.
  3. Check how it looks at each size, then tap Add Widget. The Widgets tab shows it.
Create Widget's second step, “What kind of widget?”, offering Preset, AI Generated and From a Dashboard.
Step 2: what kind of widget, on iPhone
Create Widget's Preview step for the Lambda errors by function preset, with the Time range, Region and Title fields and the Add Widget button.
Step 3: preview, then Add Widget, on iPhone

Spend presets need billing metrics. The seven Cost presets read AWS's estimated charges, which AWS only sends to CloudWatch once you turn on Receive CloudWatch billing alerts, and the first data takes a few hours. See Turn on billing metrics.

Result: the widget joins the Widgets tab, with the account and Preset beneath it. The first time, CloudPeek also shows how to add it to your Home Screen.

The other two kinds work the same way. AI Generated writes a widget from a description (see AI widgets), and From a Dashboard adds any graph, number or alarm list from one of the account's CloudWatch dashboards (see Design dashboards). Create a widget covers all three.

4. Put it on your Home Screen

  1. Touch and hold an empty area of your Home Screen until the apps jiggle.
  2. Tap Edit, then Add Widget.
  3. Find CloudPeek (the widget that shows one of yours is called CloudWatch Widget), pick a size and tap Add Widget.
  4. On iOS 18 and later, iOS asks which widget it shows. Tap outside to keep the one you just added.

The Home Screen widget shows the widget you added last in CloudPeek, or chose with Add to Home Screen. To show another, touch and hold the Home Screen widget, tap Edit Widget, and choose it under Widget.

Lock Screen widgets work the same way: see Home Screen and Lock Screen.

CloudPeek can put it there for you:

  1. Tap Add to home screen, which CloudPeek offers at the bottom of the screen as it adds the widget (the first time, also at the top of the steps it shows).
  2. Your launcher shows the widget and asks whether to add it. Accept.

The home screen widget now shows the widget you just added. To add it later, on the Widgets tab, tap More options (⋮) beneath the widget, then Add to home screen.

If your launcher can't add widgets for apps, CloudPeek offers How? instead, with these steps, which work with any launcher:

  1. Touch & hold an empty area of your home screen, then tap Widgets.
  2. Find CloudPeek and touch & hold CloudWatch widget.
  3. Drag it to where you want it on your home screen, then let go.
  4. Before Android 12, CloudPeek asks which widget it shows. Choose the one you just added.

The home screen widget shows the widget you added last in CloudPeek, or chose with Add to home screen. To show another, touch & hold it, then tap Settings or the edit button (launchers differ), and choose it. Resizing it, and the rest, are in Home Screen and Lock Screen.

5. Check it's working

  • The Home Screen widget shows a value or a graph. Medium and larger widgets end with the time it covers and when it was updated, such as Last 3 hours · Updated 14:05.
  • On CloudPeek's Widgets tab, the widget says On Home Screen beneath it once a Home Screen widget has shown it.

If something's wrong

You seeWhat to do
“No data for this time range.”, or why, such as “Your SQS queues are in us-west-2.”Presets look in the default region the account had when you added them. If your resources are in another region, the widget says where: tap Show in … on its screen to show it there. Or add the preset again, as the list of presets says where they are, choose their region under Region in the preview, or change the account's region (how). For a spend preset, check billing metrics are on, and give them a few hours (see Turn on CloudWatch billing alerts).
An error when you tap Validate & SaveSee Signing in.
“Access denied” on a widgetThe sign-in is missing a permission: see Access denied.
The Home Screen widget shows a different widgetOn iPhone and iPad, touch and hold it, tap Edit Widget, and choose another under Widget. On Android, touch & hold it, then tap Settings or the edit button.
Anything elseSee Troubleshooting, or email support@cloudpeek.app.

Next steps

I want to…

Words these docs use

TermMeans
WidgetA graph, number, table or alarm list you've added in CloudPeek. They're listed on the app's Widgets tab.
Home Screen widget, Lock Screen widgetThe CloudPeek widget you add to your phone's Home Screen (the home screen, on Android) or, on iPhone and iPad, its Lock Screen. Each shows one of your CloudPeek widgets.
Dashboard widgetA widget on a CloudWatch dashboard, which you can add to CloudPeek.
PresetOne of CloudPeek's ready-made widgets. No dashboard needed.
AI widgetA widget an AI model wrote from your description (AI Generated in the app).
PinAdd a dashboard widget to CloudPeek while browsing a dashboard.
AccountAn AWS account you've added to CloudPeek, with its own sign-in.
Sign-inHow CloudPeek signs in to an account: an IAM user's Access Key, or IAM Identity Center. The Accounts tab tags each KEYS or SSO.
Default regionThe region you choose for an account, where new widgets look for metrics unless they name another.
iPhone and iPad, AndroidThe two CloudPeek apps, which work the same way. Where their steps or labels differ, these docs show one or the other: choose which at the top of each page, and every page follows. Android's labels are in sentence case, such as Add account for Add Account.

Downloads

FileWhat it is
cloudpeek-policy.jsonThe permissions CloudPeek needs: five CloudWatch reads, and Amazon Bedrock for writing AI widgets. What each is for
cloudpeek-access.yaml, cloudpeek-access.tfThat policy, and an optional IAM user to sign in with. Guide
cloudpeek-setup.yaml, cloudpeek-setup.tfThe spend-by-service dashboard, the policy and an optional IAM user, in one go. Guide
spend-by-service.jsonThe spend-by-service dashboard's JSON. Guide
cloudpeek-alarms.yaml, cloudpeek-alarms.tfAn alarms dashboard for the alarm ARNs you give it. Guide
production-alarms.jsonThe alarms dashboard's JSON, with example ARNs. Guide
api-health.jsonThe API health example dashboard's JSON. Guide

Getting help

Look up the message you're seeing in Troubleshooting, or see the FAQ. Still stuck? Email support@cloudpeek.app with what the app or widget says. Never send us your secret access key.