Skip to Content

Architecture
Available in v1.26.11+

Overview

ScaleOps AWS Cloud Node Integration provides deep integration with AWS services to optimize your Kubernetes workloads. The architecture leverages AWS APIs to gather real-time data about EC2 instances, Auto Scaling Groups, and EKS clusters.

Diagram

Settings

Permissions

The integration requires read-only permissions, with additional write permissions for Node Consolidation on EKS Managed Node Groups and Auto Scaling Groups. Those writes are the NodeConsolidation statement. NodeIntegrationReadAccess is read-only. This policy is the same one used by Workload Identity and the published CloudFormation and Terraform templates.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "NodeConsolidation", "Effect": "Allow", "Action": [ "autoscaling:CreateAutoScalingGroup", "autoscaling:DeleteAutoScalingGroup", "autoscaling:SetDesiredCapacity", "autoscaling:TerminateInstanceInAutoScalingGroup", "autoscaling:UpdateAutoScalingGroup", "autoscaling:CreateOrUpdateTags", "autoscaling:SuspendProcesses", "ec2:CreateLaunchTemplate", "ec2:DeleteLaunchTemplate", "ec2:RunInstances", "eks:CreateNodegroup", "eks:DeleteNodegroup", "eks:TagResource", "eks:UpdateNodegroupConfig" ], "Resource": "*" }, { "Sid": "NodeIntegrationReadAccess", "Effect": "Allow", "Action": [ "athena:Get*", "athena:List*", "autoscaling:Describe*", "autoscaling:Get*", "bedrock:Get*", "bedrock:List*", "ce:Describe*", "ce:Get*", "ce:List*", "cloudwatch:GetMetricData", "cloudwatch:GetMetricStatistics", "cloudwatch:ListMetrics", "cloudwatch:DescribeAlarms", "compute-optimizer:Describe*", "compute-optimizer:Get*", "dynamodb:Describe*", "dynamodb:List*", "ec2:Describe*", "ec2:Get*", "ec2:List*", "ecs:Describe*", "ecs:List*", "eks:Describe*", "eks:List*", "elasticache:Describe*", "elasticache:List*", "elasticloadbalancing:Describe*", "glue:Get*", "glue:List*", "lambda:GetFunction", "lambda:GetFunctionConfiguration", "lambda:List*", "organizations:Describe*", "organizations:List*", "rds:Describe*", "rds:List*", "s3:GetBucketLocation", "s3:GetBucketTagging", "s3:ListAllMyBuckets", "sagemaker:Describe*", "sagemaker:List*", "tag:GetResources", "tag:GetTagKeys", "tag:GetTagValues", "pricing:GetProducts", "pricing:DescribeServices", "pricing:GetAttributeValues", "ecr:DescribeRepositories", "ecr:ListTagsForResource", "ecr:GetRepositoryPolicy", "savingsplans:DescribeSavingsPlans", "savingsplans:DescribeSavingsPlansOfferings", "savingsplans:DescribeSavingsPlanRates" ], "Resource": "*" }, { "Sid": "SimulateIAM", "Effect": "Allow", "Action": [ "iam:SimulatePrincipalPolicy", "iam:SimulateCustomPolicy", "iam:GetRole", "iam:ListAttachedRolePolicies" ], "Resource": "*" }, { "Sid": "PassNodeRole", "Effect": "Allow", "Action": "iam:PassRole", "Resource": "*", "Condition": { "StringEquals": { "iam:PassedToService": [ "eks.amazonaws.com", "ec2.amazonaws.com" ] } } }, { "Sid": "MarketplaceTagging", "Effect": "Allow", "Action": [ "ec2:CreateTags" ], "Resource": "arn:aws:ec2:*:*:volume/*" } ] }

Self-Managed Auto Scaling Group Clones

When ScaleOps replaces the instance type of a self-managed Auto Scaling Group, it creates a clone group and copies the origin group’s lifecycle hooks and AZRebalance suspension onto it. EKS managed node groups do not use these permissions.

PermissionUsed forScope
autoscaling:DescribeLifecycleHooksRead the origin group’s lifecycle hooks. Covered by autoscaling:Describe*.*. AWS has no resource-level permissions for this action.
autoscaling:SuspendProcessesSuspend AZRebalance on the clone, only when the origin has it suspended.Same as autoscaling:UpdateAutoScalingGroup.
iam:PassRole on the hook’s roleCopy a lifecycle hook that has a RoleARN.Not in the policy. ScaleOps cannot know your hook role ARNs.

All three are optional. If one is missing, ScaleOps still creates the clone and emits a Kubernetes Warning event (CloneLifecycleHooksNotCopied or CloneAZRebalanceNotCopied). Without iam:PassRole on a hook’s role, the clone gets only the hooks that have no RoleARN. To copy those hooks too, grant iam:PassRole on each hook role to the ScaleOps role.

The Cloud Integration page lists autoscaling:DescribeLifecycleHooks or autoscaling:SuspendProcesses as missing only on clusters whose self-managed groups use it. autoscaling:SuspendProcesses is checked only where a group has AZRebalance suspended.


Settings