Which stack do I deploy?
I have an AWS Organization
Deploy one stack in your management account. It creates both roles and a StackSet that adds
HiltCloudConnectRole to every current and future member account automatically.I have one or a few accounts
Deploy the per-account stack in each account. No organization, no StackSet, no management-account access needed.
Organizations only, one-time: StackSets need trusted access enabled. The CloudFormation console offers to turn it on while you create the stack, or run
aws cloudformation activate-organizations-access once.What HiltCloudConnectRole can do
Optional: the connectivity permissions
Only present if you use PrivateLink to give agents a path to the collector:Different regions are fine. Since November 2024 AWS PrivateLink connects across regions: your VPC in one region can reach Hilt’s ingest service in another, and the endpoint’s network interfaces stay local to your VPC. Hilt enables your region on its service automatically the first time you connect from it - nothing for you to do.
What it cannot do
It cannot touch IAM, open interactive SSM sessions, stop or terminate instances, read object storage, or modify any security group you own — quarantine and endpoint groups are tag-scoped, and Hilt creates those itself.What HiltCloudConnectOrgRole can do
Two read-only actions, and nothing else:
How the trust works
Both roles pin three things at once. All three must match or the assume fails:- Your Hilt deployment’s account — nobody else’s
- The exact backend role ARN in that account — not any role
- An ExternalId unique to your deployment, shown in the dashboard
