Amazon Web Services onboarding
Connect Amazon Web Services to CloudHiro.
Register with CloudHiro, deploy the CloudFormation template, and review the permissions for your AWS accounts.
Before you start
Use an AWS admin account. For organization-wide setup, use the management account.
Deploy in us-east-1 (N. Virginia) and keep your CloudHiro External ID ready.
Register & copy your External ID
Create your CloudHiro account before deploying the stack.
For onboarding in an EU region, please contact your CloudHiro Customer Success team directly.
Confirm the email you get and login
Go to ShowExternalID and copy the externalID for later use. If no external ID is shown, log out and login again.
Deploy the CloudFormation stack
Choose Organization or SingleAccount mode and enter your parameters.
Login to your AWS account as an admin (for a whole organization, use the management account) and make sure you are in us-east-1 (N. Virginia).
Launch the CloudHiro stack and fill in the key parameters:
- Deployment mode - Organization (role deployed to every account in the selected OUs) or SingleAccount (this account only).
- External ID - Replace cloudhiro with the value you copied from CloudHiro.
- Customer name - lowercase letters, digits and dashes.
- OUs to onboard - Go to AWS Organizations and paste the Root (r-xxxx) unit (Organization mode only).
- Create a Cost and Usage Report - set to True to create a new CUR + S3 bucket, or False to skip creating reports and exports.
- Existing CUR S3 bucket (optional) - to use a bucket you created yourself, in any region, enter its name here and its region in Existing CUR S3 bucket region (e.g. eu-west-1). Use a dedicated, empty bucket: CloudHiro will replace its bucket policy. Works with Create a Cost and Usage Report set to True (reports are created in your bucket) or False (the bucket is only used for CloudHiro access and Route53 / VPC Flow Logs). Leave the region empty to only grant CloudHiro access to the bucket.
Check the IAM acknowledgements and click Create stack.
Using your own S3 bucket (any region)
Instead of letting the stack create a CUR bucket, you can create one yourself in any region and paste it in.
- In S3, create a dedicated, empty bucket in the region you want. Keep Block Public Access on.
- In the stack parameters set Existing CUR S3 bucket to the bucket name and Existing CUR S3 bucket region to its region, for example eu-west-1.
- Choose Create a Cost and Usage Report: True to create the reports in your bucket, or False to create none.
- Launch the stack itself in us-east-1, as before. Only the bucket can live elsewhere.
CreateCUR False, no bucket
Nothing is created. CloudHiro has no CUR bucket.
CreateCUR True, no bucket
A new bucket is created in the deployment region, with the CUR, CUR 2.0 and FOCUS exports you enabled.
CreateCUR True, bucket + region
The reports and exports are created in your bucket, in its region. The bucket policy is replaced.
CreateCUR False, bucket + region
No reports are created. CloudHiro gets access, and the bucket policy is set up so Route53 query logs and VPC Flow Logs can deliver into it. The bucket policy is replaced.
Bucket, region empty
CloudHiro is only granted IAM access to the bucket. Your bucket policy is not touched and no reports are created.
The bucket policy is replaced
All parameters
Deployment
Deployment mode DeploymentMode
Default: Organization
Organization deploys the role to every account in the selected OUs (run from the management account). SingleAccount deploys to this account only.
External ID ExternalID
Default: cloudhiro
Replace with the External ID shown in your CloudHiro account. Used in the role's trust policy (AWS Commercial only).
AWS partition CloudType
Default: AWS Commercial
AWS Commercial, AWS GovCloud (US) or AWS China. GovCloud and China cannot use the CUR bucket creation, bucket region, Storage Lens or notify options.
Costi IAM role/user name CostiRoleName
Default: Costi
Change only if a role named Costi already exists in the account.
Customer name CustomerName
Default: -
Lowercase letters, digits and dashes. Used in resource names, for example the new CUR bucket is named <customer>-cloudhiro-cur-bucket.
Deployment region Region
Default: us-east-1
Must match the region you launch the stack in. Keep us-east-1: Cost and Usage Reports can only be managed from there.
OUs to onboard OrganizationalUnitIds
Default: -
Organization mode only. Paste the Root (r-xxxx) to cover the whole organization, or specific OU IDs.
Child stack name CloudHiroStackName
Default: CloudHiro-Costi
Do not change.
Cost and Usage Report and bucket
Create a Cost and Usage Report CreateCUR
Default: False
True creates the reports and exports. False creates none. Only applied to the management/single account; member accounts never create a CUR.
Existing CUR S3 bucket name ExistingCURS3Bucket
Default: (empty)
Leave empty to have a new bucket created (when CreateCUR is True). Enter the name of a bucket you created yourself to use it instead. Works with CreateCUR True or False.
Existing CUR S3 bucket region ExistingCURS3BucketRegion
Default: (empty)
Region of your bucket, for example eu-west-1. Set it to let CloudHiro fully manage the bucket (bucket policy, reports, log delivery). Leave empty for access-only.
Create CUR 2.0 export EnableCUR2Export
Default: True
Creates a CUR 2.0 data export (Parquet, hourly) in the bucket. Requires CreateCUR True.
Create FOCUS 1.0 export EnableFOCUSExport
Default: False
Creates a FOCUS 1.0 data export (Parquet) in the bucket. Requires CreateCUR True.
Create legacy hourly CUR report EnableLegacyCURReport
Default: False
Creates the legacy hourly Cost and Usage Report (Parquet) in the bucket. Requires CreateCUR True.
Delete CUR bucket objects after 180 days EnableS3LifecycleExpiration
Default: False
Adds a lifecycle rule that permanently deletes objects in a bucket the stack creates after 180 days.
Optional permissions
Grant full-access Costi permissions EnableFullAccess
Default: False
Adds a full-access policy on top of read-only, for tagging resources, starting/stopping instances and similar actions.
Reserved Instance / Savings Plan management EnableRIManagement
Default: False
Adds permissions to manage Reserved Instances and Savings Plans.
Optional integrations
Enable EKS integration EnableEKS
Default: False
Scoped SSM Session Manager access to EKS-tagged instances plus EKS access-entry management.
EKS access policy ARN EKSPolicyArn
Default: AmazonEKSAdminViewPolicy
Only with EnableEKS. Set to None to skip the association and apply a ClusterRole per cluster yourself.
Custom SSM document ARN CustomSSMDocumentArn
Default: (empty)
Only with EnableEKS. Optional custom port-forwarding SSM document; empty uses the AWS default.
Allow reading CloudTrail S3 logs EnableCloudTrail
Default: False
Lets CloudHiro read CloudTrail log objects in S3, which the read-only guardrail otherwise blocks.
Route53 query logs integration EnableRoute53QueryLogs
Default: False
Creates a Route53 Resolver query logging configuration that delivers to the CUR bucket. Needs a CloudHiro-managed bucket: a new one, or an existing one with its region set.
VPC Flow Logs integration EnableVPCFlowLogs
Default: False
Lets CloudHiro create and delete VPC Flow Logs delivered to the CUR bucket. Needs a CloudHiro-managed bucket, same as above.
Storage Lens destination bucket ARN StorageLensDestinationBucketArn
Default: (empty)
Provided by CloudHiro. Leave empty to skip S3 Storage Lens.
Storage Lens destination account ID StorageLensDestinationAccountId
Default: CloudHiro account
Provided by CloudHiro. Leave the default.
Onboarding-complete notify function NotifyLambdaFunctionName
Default: (empty)
Provided by CloudHiro. Leave empty to skip the completion notification.
Optional auto-remediation
OUs to enroll AutoRemediateOrganizationalUnitIds
Default: (empty)
Empty enrolls the same OUs as OUs to onboard. Set to narrow auto-remediation to a subset.
Specific account IDs AutoRemediateAccountIds
Default: (empty)
Narrows enrollment to these accounts within the OUs above.
Apply to this account EnableAutoRemediateOnManagementAccount
Default: False
Also auto-remediate in the account launching the stack.
Clean up EC2 waste EnableEC2Cleanup
Default: False
Terminate instances, delete unattached volumes, modify volumes, release unused Elastic IPs and similar.
Create/delete snapshots and backups EnableSnapshotManagement
Default: False
Across EC2, RDS, ElastiCache, Redshift, DynamoDB, FSx, OpenSearch and others.
Start/stop idle resources EnableStartStopResources
Default: False
EC2, RDS, Redshift, SageMaker, WorkSpaces, AppStream, Managed Flink, EMR Serverless.
Operative S3 management EnableS3ManagementPolicy
Default: False
Lifecycle, versioning, replication, inventory, access logging and Intelligent-Tiering configuration.
Manage Lambda EnableLambdaManagement
Default: False
Memory, ephemeral storage and timeout settings, and Lambda layers.
Start/stop ECS tasks, modify services EnableECSManagement
Default: False
Start/stop tasks and change service desired count or task definition.
Manage Athena Capacity Reservations EnableAthenaCapacityReservationManagement
Default: False
Create, update, cancel and assign Athena Capacity Reservations.
Modify Auto Scaling group size EnableASGManagement
Default: False
Min/max/desired capacity and launch template version swaps.
Create/modify VPC endpoints EnableVPCEndpointManagement
Default: False
Mainly S3 and DynamoDB Gateway endpoints to avoid NAT Gateway data charges.
Delete orphaned resources EnableOrphanedResourceCleanup
Default: False
Unused VPC endpoints, ENIs and Secrets Manager secrets.
Delete ECR images, set lifecycle policies EnableECRManagementEnabled
Default: False
Delete image tags/images and set repository lifecycle policies.
Configure CloudTrail EnableCloudTrailManagement
Default: False
Manage data event selectors and convert trails to multi-region or organization trails.
Review optional permissions
All options below are off by default and can be enabled by updating the stack.
Optional features
Enable only the features you need
Optional permissions (all off by default, can be enabled later by updating the stack):
- Full access - tag resources, start/stop instances, etc.
- Reserved Instances / Savings Plans management
- Auto-remediation - clean up or right-size wasteful resources (EC2, snapshots, S3, Lambda, ECS and more), scoped by OU or account.
- Integrations - EKS, CloudTrail, Route53 query logs, VPC Flow Logs, S3 Storage Lens.
Check discount sharing
For Reserved Instances and Savings Plans management.
Reserved Instances Management:
Make sure that"Reserved Instances and Savings Plans discount sharing preference" is enabled for all accounts and enabled by default. AWS → AWS billing → Billing preferences →"Reserved Instances and Savings Plans discount sharing preference".
Review your setup with CloudHiro
Tick off each item as you complete it. Checkmarks apply to this page visit only.
Contact your CloudHiro representative to validate the connection and walk through your reports.