Amazon Web Services (AWS)
NudgeBee connects to your AWS accounts to discover resources, collect CloudWatch alarms, and analyze Cost & Usage Reports (CUR) for cost optimization. You can connect a single account using one of three methods, or onboard an entire AWS Organization at once.
Prerequisite — Cost & Usage Report
Cost features (spend tracking, rightsizing, and cost recommendations) read an AWS Cost & Usage Report (CUR). Everything else — resource discovery, CloudWatch alarms, events, and recommendations that are not cost-based — works without one.
- Method 1 (CloudFormation) creates the CUR for you. Nothing to do.
- Methods 2 and 3 (IAM Role ARN / Access Keys) need a CUR that already exists in the account. If none is found, the account is still created — you will see a warning that cost data is unavailable, and you can attach a report later with Edit Billing Config (see Adding a CUR later).
NudgeBee can only ingest a report with Daily granularity and text/csv format.
The default export type in the AWS console is Standard data export (CUR 2.0). NudgeBee cannot use those exports: they are managed by a different API, so NudgeBee does not even discover them, and their column layout differs from the legacy report. Choose the Legacy CUR export type instead, with Daily granularity and gzip text/csv output.
Creating a CUR
- In the AWS Console, open Billing and Cost Management and choose Data Exports in the navigation pane. The standalone Cost & Usage Reports page no longer exists — legacy reports are created and listed here.
- Click Create. Under Export type, choose Legacy CUR export — not Standard data export (CUR 2.0).
- Enter an Export name (e.g.
nudgebeeReport) and note it — you may need it for Edit Billing Config. - Under Export content, tick Include resource IDs. Without it the report has no per-resource line items: total spend still shows, but per-resource cost and rightsizing savings stay empty.
- Under Data table delivery options, set Time granularity to Daily. Either Report versioning option works; the CloudFormation template uses Overwrite existing report.
- Leave every Report data integration option unticked. Selecting Amazon Athena switches the file format to Parquet, which NudgeBee cannot read.
- Set Compression type and file format to gzip – text/csv.
- Under Data export storage settings, choose or create an S3 bucket, accept the generated bucket policy, and optionally set an S3 path prefix.
- Click Create report.
AWS delivers the first report within 24 hours. NudgeBee picks it up on the next daily sync — you do not need to re-onboard the account.
The IAM role or user also needs cur:DescribeReportDefinitions and
s3:GetBucketLocation / s3:ListBucket / s3:GetObject on that bucket. All of these
are in the manual role policy
below.
Connecting a Single Account
Open Admin → Integrations → Kubernetes & Cloud → AWS → Add AWS Account. The form offers three connection methods as tabs — CloudFormation, IAM Role ARN, and Access Keys — so you can pick whichever fits your AWS setup.

Fields Common to All Methods
- Display Name (required) — a friendly name to identify this account in NudgeBee (e.g.
aws-production). - Account Type — Production or Non-production. Production accounts score alerts at full weight in triage. It also drives the Production / Non-production (Environment) filter on Optimize views.
- Access Mode — choose Standard (read + write, allows NudgeBee to create CloudWatch alarms and apply recommendations) or Read-Only (monitoring only).
- Enable SSM Parameter Store access (CloudFormation method) — lets NudgeBee read SSM parameter values. Only enable this if your parameters do not contain secrets.
- AWS Regions (optional) (IAM Role ARN and Access Keys methods) — a comma-separated list of region codes, for example
ap-southeast-2, us-east-1. Leave it blank and NudgeBee discovers the account's regions on its own. Fill it in only when the role or user is restricted to specific regions — see Restricting the role to specific regions.
Method 1 — CloudFormation (Recommended)
This method uses an AWS CloudFormation stack to create the required IAM role automatically, and NudgeBee detects the account once the stack is created — no values need to be copied back.

- Give the account a name — enter a Display Name.
- Click "Connect via AWS Console" — you are redirected to the AWS CloudFormation console in a new tab with the template pre-loaded. Do not change any pre-filled values. Acknowledge that the stack may create IAM resources and click Create stack.
- Wait for auto-detection — once the CloudFormation stack reaches
CREATE_COMPLETE, the account is detected and registered automatically. There is no need to copy a Role ARN back into NudgeBee.
In the AWS Console, the Quick create stack page opens with the NudgeBee template and stack name pre-filled. Leave the values unchanged, acknowledge the IAM capabilities at the bottom, and click Create stack.

Method 2 — IAM Role ARN
Use this flow if you already have a cross-account IAM role that NudgeBee can assume.
The role's trust policy must let NudgeBee's principal call sts:AssumeRole, and its
permissions policy must grant at least the read-only set in
Least-Privilege IAM Policy — including
cur:DescribeReportDefinitions and s3:GetBucketLocation / s3:ListBucket / s3:GetObject
on the CUR bucket if you want cost data.
- Enter a Display Name and choose an Access Mode. If the role is restricted to specific regions, also enter them in AWS Regions; otherwise leave that field blank.
- Paste the IAM Role ARN (e.g.
arn:aws:iam::123456789012:role/NudgebeeRole). - Optionally provide an External ID — required only if the role's trust policy specifies one.
- Click Validate — NudgeBee probes STS, Cost & Usage Report discovery, and CUR S3 access upfront — then click Connect.
Only the STS check has to pass. If no usable CUR is found, the checks show a warning and Connect stays enabled: the account is created without cost data, which you can add later.
Method 3 — Access Keys
Use this flow when you cannot grant a cross-account role (for example, segregated billing accounts or dev/test accounts). Create an IAM user with the same CUR + read-only permissions as the CloudFormation template, then provide its keys.
- Enter a Display Name and choose an Access Mode. If the user is restricted to specific regions, also enter them in AWS Regions; otherwise leave that field blank.
- Paste the AWS Access Key ID and AWS Secret Access Key.
- Click Validate, then Connect. As with the Role ARN method, a missing CUR is a warning rather than a blocker.
Onboarding an Entire AWS Organization
To connect many accounts at once, use AWS Organization onboarding, which deploys a CloudFormation StackSet across your organization.

- Set Organization Name — enter a display name for the organization.
- Generate credentials — NudgeBee creates a verification token and a StackSet template URL for you.
- Deploy the StackSet — launch the CloudFormation StackSet in your AWS Management Account console using service-managed permissions, targeting your entire organization or selected OUs (with automatic deployment for new accounts).
- Automatic registration — member accounts appear in NudgeBee automatically as the StackSet deploys to each one.
StackSets deploy only to member accounts, not the management account itself. If you also want to monitor your management account, add it separately using Add AWS Account.
Least-Privilege IAM Policy (Manual Role Creation)
Use this if you cannot run the CloudFormation template and want to create the cross-account role yourself. It takes two policies: a trust policy that lets NudgeBee assume the role, and a permissions policy that grants what NudgeBee reads.
The permissions policy below covers the Read-Only access mode. For Standard mode, add the write actions listed in Standard access mode below. The EventBridge event pipeline is not part of a manual role; add it with Connect EventBridge — see Real-time events.
Step 1 — Trust policy
NudgeBee assumes your role from its own IAM principal. To find that principal's
ARN, open Add AWS Account, stay on the CloudFormation tab and click
Connect via AWS Console: the Quick create page lists it as the
NudgebeeIamRole parameter. Copy the value and close the tab without creating
the stack. On a self-hosted install it is the NUDGEBEE_INSTANCE_ROLE value from
the Helm values.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": { "AWS": "<NUDGEBEE_IAM_PRINCIPAL_ARN>" },
"Action": "sts:AssumeRole",
"Condition": { "StringEquals": { "sts:ExternalId": "<YOUR_EXTERNAL_ID>" } }
}
]
}
The Condition block is optional. If you keep it, enter the same value in the
External ID field when you connect the account — NudgeBee sends it on every
sts:AssumeRole call, and a trust policy that requires it rejects calls without it.
Step 2 — Permissions policy
Pick one of the two options.
Option A — mirror the CloudFormation template. Attach the AWS-managed
arn:aws:iam::aws:policy/ReadOnlyAccess policy, plus this inline policy. This is
what the template grants in Read-Only mode and keeps working as NudgeBee adds
support for more AWS services.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "NudgebeeBillingReadOnly",
"Effect": "Allow",
"Action": [
"budgets:Describe*",
"budgets:View*",
"ce:Get*",
"ce:Describe*",
"ce:List*",
"cur:Describe*",
"pricing:*",
"organizations:Describe*",
"organizations:List*",
"savingsplans:Describe*"
],
"Resource": "*"
},
{
"Sid": "NudgebeeLogsQueryAccess",
"Effect": "Allow",
"Action": ["logs:StartQuery", "logs:StopQuery"],
"Resource": "arn:aws:logs:*:*:log-group:*:*"
},
{
"Sid": "NudgebeeCURS3Access",
"Effect": "Allow",
"Action": ["s3:GetBucketLocation", "s3:ListBucket", "s3:GetObject"],
"Resource": [
"arn:aws:s3:::<YOUR_CUR_BUCKET_NAME>",
"arn:aws:s3:::<YOUR_CUR_BUCKET_NAME>/*"
]
}
]
}
Option B — explicit least privilege. If ReadOnlyAccess is too broad for
your policy, attach the following instead. It lists every read action the
current NudgeBee collector calls. Because it is a snapshot of today's collector,
re-check it after NudgeBee upgrades; new AWS services need new actions here,
whereas Option A picks them up automatically.
Object reads (s3:GetObject) are deliberately limited to the CUR bucket; NudgeBee
reads bucket configuration everywhere but never reads objects outside it. Log
contents are read through CloudWatch Logs Insights — that is what root-cause
analysis works from.
What each statement powers
| Statement | Powers | If you remove it |
|---|---|---|
NudgeBeeBillingAndRecommendations | Spend views, EC2/RDS rightsizing, cost recommendations | No cost data and no rightsizing advice |
NudgeBeeCURS3Access | Reading the Cost & Usage Report | No spend breakdown by resource |
NudgeBeeMonitoring | Metrics, alarms, log queries, RCA | Troubleshooting and log analysis stop working |
NudgeBeeDependencyMap | The resource dependency map | Resources are listed but not their relationships |
NudgeBeeComputeDiscovery | EC2, EKS, ECS, Lambda, ELB, Auto Scaling and more | Those resources are invisible |
NudgeBeeDataAndMessagingDiscovery | RDS, DynamoDB, ElastiCache, OpenSearch, S3, EFS, ECR, SQS/SNS and more | Those resources are invisible |
NudgeBeeNetworkAndEdgeDiscovery | Route 53, CloudFront, Direct Connect, WAF | Those resources are invisible |
NudgeBeeSecurityPosture | Security and compliance findings | No security findings |
Trimming it safely
Trim by service prefix, not by whole statement. The statements are grouped by
feature, and most mix several services — NudgeBeeComputeDiscovery alone covers
ec2, eks, ecs, lambda, elasticloadbalancing and more. Dropping the whole
statement because you do not run ECS also blinds NudgeBee to your EC2 instances and
EKS clusters. Delete the individual <service>: actions for services you do not
run; discovery of those then reports AccessDenied and is skipped, and the account
connects normally.
Two things that look like simple tightening but are not:
- A region condition needs a matching setting in NudgeBee.
aws:RequestedRegionscoped to your workload region works only if you also give the account an AWS Regions list. Unless the condition allowsus-east-1, it also switches off the global services. See Restricting the role to specific regions. - Do not replace
"Resource": "*"with resource ARNs or tag conditions. Most discovery APIs —ec2:Describe*,cloudwatch:ListMetrics,elasticloadbalancing:Describe*,eks:ListClusters,logs:DescribeLogGroups— do not support resource-level permissions, so an ARN there denies everything. Resource ARNs work only where this policy already uses them: the CUR bucket and log groups.
Option B policy document (eight statements, about 230 read actions)
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "NudgeBeeBillingAndRecommendations",
"Effect": "Allow",
"Action": [
"cur:DescribeReportDefinitions",
"ce:GetReservationPurchaseRecommendation",
"ce:GetSavingsPlansPurchaseRecommendation",
"pricing:GetProducts",
"cost-optimization-hub:ListRecommendations",
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetECSServiceRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
"support:DescribeTrustedAdvisorChecks",
"support:DescribeTrustedAdvisorCheckResult"
],
"Resource": "*"
},
{
"Sid": "NudgeBeeCURS3Access",
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket",
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::<YOUR_CUR_BUCKET_NAME>",
"arn:aws:s3:::<YOUR_CUR_BUCKET_NAME>/*"
]
},
{
"Sid": "NudgeBeeMonitoring",
"Effect": "Allow",
"Action": [
"cloudwatch:DescribeAlarms",
"cloudwatch:DescribeAlarmsForMetric",
"cloudwatch:GetMetricData",
"cloudwatch:ListMetrics",
"logs:DescribeLogGroups",
"logs:DescribeLogStreams",
"logs:DescribeMetricFilters",
"logs:FilterLogEvents",
"logs:StartQuery",
"logs:StopQuery",
"logs:GetQueryResults",
"logs:ListTagsForResource",
"pi:GetResourceMetrics",
"pi:GetDimensionKeyDetails",
"xray:GetEncryptionConfig",
"xray:GetGroups",
"xray:GetSamplingRules",
"xray:ListTagsForResource",
"cloudtrail:DescribeTrails",
"cloudtrail:GetTrailStatus",
"cloudtrail:ListTags",
"cloudtrail:LookupEvents",
"cloudtrail:ListEventDataStores",
"cloudtrail:GetEventDataStore"
],
"Resource": "*"
},
{
"Sid": "NudgeBeeDependencyMap",
"Effect": "Allow",
"Action": [
"config:SelectResourceConfig"
],
"Resource": "*"
},
{
"Sid": "NudgeBeeComputeDiscovery",
"Effect": "Allow",
"Action": [
"ec2:DescribeAddresses",
"ec2:DescribeFlowLogs",
"ec2:DescribeInstanceTypes",
"ec2:DescribeInstances",
"ec2:DescribeInternetGateways",
"ec2:DescribeNatGateways",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRegions",
"ec2:DescribeRouteTables",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSpotPriceHistory",
"ec2:DescribeSubnets",
"ec2:DescribeVolumes",
"ec2:DescribeVolumesModifications",
"ec2:DescribeVpcEndpoints",
"ec2:DescribeVpcs",
"ec2:GetInstanceTypesFromInstanceRequirements",
"autoscaling:DescribeAutoScalingInstances",
"application-autoscaling:DescribeScalableTargets",
"ecs:DescribeCapacityProviders",
"ecs:DescribeClusters",
"ecs:DescribeServices",
"ecs:DescribeTaskDefinition",
"ecs:DescribeTasks",
"ecs:ListClusters",
"ecs:ListServices",
"ecs:ListTasks",
"eks:DescribeCluster",
"eks:DescribeNodegroup",
"eks:ListClusters",
"eks:ListNodegroups",
"lambda:GetFunction",
"lambda:GetFunctionConcurrency",
"lambda:ListFunctionUrlConfigs",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"lambda:ListTags",
"elasticbeanstalk:DescribeApplications",
"elasticbeanstalk:DescribeEnvironmentHealth",
"elasticbeanstalk:DescribeEnvironmentResources",
"elasticbeanstalk:DescribeEnvironments",
"elasticbeanstalk:ListTagsForResource",
"elasticloadbalancing:DescribeListeners",
"elasticloadbalancing:DescribeLoadBalancerAttributes",
"elasticloadbalancing:DescribeLoadBalancers",
"elasticloadbalancing:DescribeTags",
"elasticloadbalancing:DescribeTargetGroups",
"elasticloadbalancing:DescribeTargetHealth",
"cloudformation:DescribeStacks",
"cloudformation:ListStacks",
"sagemaker:DescribeEndpoint",
"sagemaker:DescribeNotebookInstance",
"sagemaker:ListEndpoints",
"sagemaker:ListNotebookInstances",
"sagemaker:ListTags",
"bedrock:GetCustomModel",
"bedrock:GetModelInvocationLoggingConfiguration",
"bedrock:GetProvisionedModelThroughput",
"bedrock:ListCustomModels",
"bedrock:ListProvisionedModelThroughputs",
"bedrock:ListTagsForResource",
"states:DescribeStateMachine",
"states:ListExecutions",
"states:ListStateMachines",
"states:ListTagsForResource",
"ssm:DescribeDocument",
"ssm:DescribeInstanceInformation",
"ssm:DescribeInstancePatches",
"ssm:DescribeMaintenanceWindows",
"ssm:DescribeParameters",
"ssm:DescribePatchBaselines",
"ssm:ListAssociations",
"ssm:ListDocuments",
"ssm:ListTagsForResource"
],
"Resource": "*"
},
{
"Sid": "NudgeBeeDataAndMessagingDiscovery",
"Effect": "Allow",
"Action": [
"rds:DescribeDBInstances",
"rds:DescribeDBSnapshots",
"rds:DescribeReservedDBInstances",
"dynamodb:DescribeContinuousBackups",
"dynamodb:DescribeTable",
"dynamodb:DescribeTimeToLive",
"dynamodb:ListTables",
"dynamodb:ListTagsOfResource",
"elasticache:DescribeCacheClusters",
"elasticache:DescribeCacheEngineVersions",
"elasticache:ListTagsForResource",
"redshift:DescribeClusters",
"es:DescribeElasticsearchDomains",
"es:ListDomainNames",
"es:ListTags",
"kafka:DescribeClusterV2",
"kafka:ListClusters",
"kafka:ListClustersV2",
"efs:DescribeFileSystems",
"efs:DescribeLifecycleConfiguration",
"efs:DescribeMountTargets",
"s3:ListAllMyBuckets",
"s3:GetBucketAcl",
"s3:GetEncryptionConfiguration",
"s3:GetLifecycleConfiguration",
"s3:GetBucketLocation",
"s3:GetBucketLogging",
"s3:GetBucketPolicyStatus",
"s3:GetBucketTagging",
"s3:GetBucketVersioning",
"s3:GetBucketPublicAccessBlock",
"backup:DescribeBackupVault",
"backup:GetBackupPlan",
"backup:GetBackupVaultAccessPolicy",
"backup:ListBackupPlans",
"backup:ListBackupVaults",
"backup:ListTags",
"sqs:GetQueueAttributes",
"sqs:GetQueueUrl",
"sqs:ListQueueTags",
"sqs:ListQueues",
"sns:GetTopicAttributes",
"sns:ListSubscriptionsByTopic",
"sns:ListTagsForResource",
"sns:ListTopics",
"ses:DescribeConfigurationSet",
"ses:GetIdentityDkimAttributes",
"ses:GetIdentityMailFromDomainAttributes",
"ses:GetIdentityNotificationAttributes",
"ses:GetIdentityVerificationAttributes",
"ses:ListConfigurationSets",
"ses:ListIdentities",
"ecr:DescribeRepositories",
"ecr:ListTagsForResource",
"ecr-public:DescribeRepositories",
"ecr-public:ListTagsForResource",
"codeartifact:GetRepositoryPermissionsPolicy",
"codeartifact:ListRepositories",
"codeartifact:ListTagsForResource"
],
"Resource": "*"
},
{
"Sid": "NudgeBeeNetworkAndEdgeDiscovery",
"Effect": "Allow",
"Action": [
"cloudfront:GetDistribution",
"cloudfront:ListDistributions",
"cloudfront:ListTagsForResource",
"route53:GetDNSSEC",
"route53:GetHealthCheckStatus",
"route53:ListHealthChecks",
"route53:ListHostedZones",
"route53:ListQueryLoggingConfigs",
"route53:ListResourceRecordSets",
"route53:ListTagsForResource",
"directconnect:DescribeConnections",
"directconnect:DescribeLags",
"directconnect:DescribeLoa",
"directconnect:DescribeTags",
"directconnect:DescribeVirtualInterfaces",
"wafv2:GetIPSet",
"wafv2:GetLoggingConfiguration",
"wafv2:GetWebACL",
"wafv2:ListIPSets",
"wafv2:ListRegexPatternSets",
"wafv2:ListResourcesForWebACL",
"wafv2:ListTagsForResource",
"wafv2:ListWebACLs"
],
"Resource": "*"
},
{
"Sid": "NudgeBeeSecurityPosture",
"Effect": "Allow",
"Action": [
"iam:GetAccessKeyLastUsed",
"iam:GetAccountPasswordPolicy",
"iam:GetAccountSummary",
"iam:ListAccessKeys",
"iam:ListAttachedUserPolicies",
"iam:ListGroups",
"iam:ListMFADevices",
"iam:ListRoleTags",
"iam:ListRoles",
"iam:ListUserPolicies",
"iam:ListUserTags",
"iam:ListUsers",
"kms:DescribeKey",
"kms:GetKeyPolicy",
"kms:GetKeyRotationStatus",
"kms:ListKeys",
"kms:ListResourceTags",
"secretsmanager:DescribeSecret",
"secretsmanager:ListSecrets",
"guardduty:GetDetector",
"guardduty:ListDetectors",
"securityhub:DescribeHub",
"securityhub:DescribeStandards",
"securityhub:GetFindings",
"inspector2:BatchGetAccountStatus",
"inspector2:ListCoverage",
"inspector2:ListFindings",
"config:DescribeComplianceByConfigRule",
"config:DescribeConfigRuleEvaluationStatus",
"config:DescribeConfigRules",
"config:DescribeConfigurationAggregators",
"config:DescribeConfigurationRecorderStatus",
"config:DescribeConfigurationRecorders",
"config:DescribeConformancePackCompliance",
"config:DescribeConformancePacks",
"config:DescribeDeliveryChannels",
"config:ListTagsForResource"
],
"Resource": "*"
}
]
}
Restricting the role to specific regions
You can scope the role to your workload regions with an aws:RequestedRegion
condition, as long as the account in NudgeBee carries a matching AWS Regions
list.
Without the list, NudgeBee starts in us-east-1 and asks AWS which regions the
account has enabled (ec2:DescribeRegions); resource discovery and CloudWatch
alarm collection both depend on the answer. If the condition leaves out
us-east-1, AWS denies that call. If it allows us-east-1, the call succeeds,
NudgeBee reads every enabled region, and AWS denies the regions outside the
condition. Either way the sync fails, so the account connects and then stays
empty. With the list, NudgeBee skips the call and reads only the regions you name.
Set the list in either place:
- When connecting — fill in AWS Regions (optional) on the IAM Role ARN
or Access Keys tab before you click Validate. Use comma-separated region
codes, for example
ap-southeast-2, us-east-1. - On a connected account — open Admin → Integrations → Kubernetes & Cloud → AWS, find the account, and choose Edit AWS Regions from its ⋮ menu. The new list applies on the next sync; you do not need to reconnect. If your self-hosted version does not show this menu entry, upgrade to a newer release or contact NudgeBee support.
Once the list is set:
- Only the listed regions are monitored. Resources NudgeBee had already found in other regions are marked deleted.
- NudgeBee makes its first call — including the Validate check when you connect — from the first region in the list.
- List only regions the role allows. One listed region that the role denies fails the sync for every region.
- Clearing the list returns the account to automatic region discovery.
AWS treats requests to global services as us-east-1 requests, so a condition
that leaves out us-east-1 also denies the global and us-east-1-only services,
including ce, cur, pricing, organizations, savingsplans,
cost-optimization-hub, iam, route53, cloudfront and support. CUR
discovery always runs in us-east-1. You still get resources, metrics, alarms and
logs for your regions, but no cost data, no recommendations from Cost Explorer,
Cost Optimization Hub or Trusted Advisor, and no IAM, Route 53 or CloudFront
resources. To keep those, either allow us-east-1 in the condition as well, or
keep their statements — including the CUR bucket statement — free of the region
condition. The AWS Regions list is required in both cases.
Standard access mode with a manual role
Standard mode lets NudgeBee create CloudWatch alarms and apply recommendations. These are the write actions NudgeBee uses for that; add them to your role only if you want those features. The CloudFormation template grants the same set, except the RDS cluster start/stop actions, which only the collector uses today:
| Feature | Actions |
|---|---|
| CloudWatch alarms | cloudwatch:PutMetricAlarm, cloudwatch:DeleteAlarms |
| Log-based alarms | logs:CreateLogGroup, logs:TagLogGroup, logs:PutMetricFilter, logs:DeleteMetricFilter |
| EC2 remediations | ec2:StartInstances, ec2:StopInstances, ec2:RebootInstances, ec2:ModifyVolume |
| RDS remediations | rds:StartDBInstance, rds:StopDBInstance, rds:RebootDBInstance, rds:StartDBCluster, rds:StopDBCluster |
| ECS remediations | ecs:UpdateService |
| Run Command on instances | ssm:SendCommand, ssm:GetCommandInvocation, ssm:ListCommandInvocations, ssm:DescribeInstanceInformation |
Real-time events (EventBridge)
EventBridge rules forward events to NudgeBee in near real time: EC2 instance state changes, RDS instance events, ECS service actions and task state changes, CloudWatch alarm state changes, and API calls (through CloudTrail) for EC2, RDS, ECS, Lambda, load balancers, SQS and SNS. On a self-hosted install they are sent to the SQS queue configured for your deployment, in your own AWS account, and read by the collector running in your cluster; the events do not leave your account.
Accounts onboarded with the CloudFormation template in Standard mode get these rules automatically. For accounts that don't have them — Read-Only accounts or accounts connected with a manually created role — open Admin → Integrations → Kubernetes & Cloud → AWS, choose Connect EventBridge in the account's row menu and deploy the EventBridge stack it offers. That stack creates only the EventBridge resources. Without it NudgeBee learns about changes on its daily sync. The services named above are only the ones with real-time events, not the list of supported services. Every service on Supported Cloud Services is collected by the daily sync and by Sync Now. See Access Modes & Real-Time Events for the Real-Time Events status values.
To change the access mode of an account connected with the CloudFormation template, use Update Permissions in the account's row menu.
Troubleshooting
"No Cost & Usage Report found matching the required format (DAILY + textORcsv)"
The account has no CUR that NudgeBee can read. The most common cause is having created a Data Export / CUR 2.0 report, which is in Parquet format — NudgeBee needs the legacy report type with Daily granularity and text/csv format. See Creating a CUR.
Since this is a warning and not a blocker, the account itself connects fine. Resource discovery, alarms, and events all work; only spend, rightsizing, and cost recommendations stay empty until a readable report exists.
Other causes worth checking:
- The report exists but its granularity is Hourly or Monthly.
- The report exists but the role or user is missing
cur:DescribeReportDefinitions. - The report exists but its S3 bucket was deleted, or CUR lost permission to write
to it — AWS shows the report in an
ERROR_NO_BUCKET/ERROR_PERMISSIONSstate. Fix or delete the broken report, then retry.
Adding a CUR later
For an account already connected without cost data:
- Create the CUR in AWS if you have not already (Creating a CUR).
- In NudgeBee, open Admin → Integrations → Kubernetes & Cloud → AWS, find the account, and choose Edit Billing Config from its ⋮ menu.
- Enter the CUR Report Name. The CUR S3 Bucket is optional — supply it only if several reports share a name.
- Click Validate, then Save.
NudgeBee also discovers a newly created report on its own during the next daily sync, so this step is only needed to pick a specific report or to confirm the setup immediately.
Cost data is empty but the report exists
AWS delivers a newly created CUR within 24 hours, and NudgeBee ingests it on the next daily sync — so allow up to two days after creating the report. The account's spend status is shown on the Agent Health page.
The account connects but no resources or alarms appear
The role or user is most likely restricted to specific regions while the account has no AWS Regions list. On a self-hosted install, the collector log shows AWS refusing the region lookup:
... is not authorized to perform: ec2:DescribeRegions
If the role allows us-east-1, the log instead shows AccessDenied or
UnauthorizedOperation errors for the regions outside the condition.
Give the account the regions the role allows — see Restricting the role to specific regions. Resources and alarms appear after the next sync.
If the role has no region restriction, the same error means its policy is missing
ec2:DescribeRegions. Add the action back from the
permissions policy.