Advanced Setup Available in v1.15.7+
AWS Node Integration Setup
IAM Permissions
IAM role and policy granting ScaleOps access to your EC2 instances, Auto Scaling Groups, and EKS node groups.
Launch CloudFormation (or Download Template / Preview)
Fill in the following parameters: externalID, policyName, roleName (reference)
For a smaller policy, use the minimal template. It grants the same NodeConsolidation, Network, and VolumeModification statements as the full template, and skips the broader read actions.
Launch minimal CloudFormation (or Download Template / Preview)
Least-Privilege Permissions
Use this when a security review must limit node consolidation to one cluster. The full and minimal
templates stay unchanged. Network map reads are included. EBS volume changes stay on the full and
minimal templates. The status check omits iam:PassRole. Node group creation still requires it.
Pass clusterName and clusterRegion. Node group changes are limited to that cluster, including groups created later.
SimulateIAM is limited to the role this stack creates. The status check reads that role. Network
reads stay on *. AWS does not scope those describe calls to one VPC.
Auto Scaling writes stay on *. The new group does not exist yet, so it has no ARN. The minimal-template
review accepted that.
ec2:RunInstances, ec2:CreateLaunchTemplate, and ec2:DeleteLaunchTemplate stay on * for the same
reason. That review accepted them only when iam:PassRole is limited to the node role, so a launched
instance can carry only that role. Terraform does that by reading the cluster. CloudFormation cannot
read the node role, so its iam:PassRole stays limited to roles passed to EKS and EC2. That is the
remaining gap. EKS writes cover the cluster, including groups created later.
autoscaling:DescribeLifecycleHooks stays on *. AWS has no resource-level permissions for it. See
self-managed Auto Scaling Group clones for the
optional iam:PassRole on lifecycle hook roles.
Launch least-privilege CloudFormation (or Download Template / Preview)
- externalID: 36 character value from Cloud Integration under Settings.
- clusterName: EKS cluster name.
- clusterRegion: AWS region of that cluster. The launch link opens in
us-east-1.
The module needs at least one EKS managed node group. Set aws_region to the cluster region. Leaving
out cluster_name keeps the broad policy.
module "scaleops_node_integration" {
source = "https://scriptshelf.scaleops.com/aws/integrate.tf.tar.gz"
scaleops_external_id = "<SCALEOPS_EXTERNAL_ID>"
cluster_name = "<CLUSTER_NAME>"
aws_region = "<AWS_REGION>"
}
The External ID is a unique, fixed value tied to your account. It is used to securely assume the IAM role you create. The value can be found in Cloud Integration under the Settings page.

ScaleOps Setup
Helm Install
Install ScaleOps Helm Chart with the following values (reference):
cloudNodeIntegration:
aws:
enabled: true
roleName: <ROLE_NAME>
# roleArn: "" # Optional, default: "arn:aws:iam::<account-id>:role/<role-name>"
# accountID: "" # Optional, will auto discover if not provided
# region: "" # Optional, will auto discover if not providedVerify Integration
Navigate to Cloud Integration under the Settings page, and verify ScaleOps is integrated successfully.

Reference
Helm Parameters
| Key | Description | Default |
|---|---|---|
enabled | Enable integration | false |
roleName | Name of the IAM role that grants ScaleOps node integration permissions (from this step) | scaleops-node-integration-access-role |
roleArn | IAM role ARN that grants ScaleOps node integration permissions | "" |
accountID | The AWS account ID that the setup is in | "" |
region | The AWS region of the cluster | "" |
Using External Secret
Run helm template with correct values of the AWS node integration to retrieve secret definition:
helm template ... --show-only templates/cloud_node_integration_settings_secret.yamlStore the secret data from the helm template output on your secret provider, and reference it using External Secrets:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: scaleops-cloud-node-integration-settings
namespace: scaleops-system
spec:
secretStoreRef:
name: SECRET_STORE_NAME # Replace with your secret store name
kind: ClusterSecretStore # Replace with your secret store kind
target:
name: scaleops-cloud-node-integration-settings
template:
data:
settings: "{{ .aws_integration_config }}"
data:
- secretKey: aws_integration_config
remoteRef:
key: path/to/secret # Replace with your secret pathIf you use this approach, do not include cloudNodeIntegration.aws values in your helm values file.