Skip to main content

AWS Setup Guide for Your AWS Administrator

This guide is for the AWS administrator at a company joining the Spotto AWS preview, working with the Spotto team. You don't need a Spotto login.

WhoDoes
YouSend the account ID and a few choices.
Spotto teamSends a Launch Stack link and a CloudShell command, with your External ID filled in.
YouCreate regional access and, for new billing, its separate definition-only stack, then reply.
Spotto teamConnects the accounts, starts the first scans and tells you about any fix.

Before You Start​

  • Sign-in to the management account for an organization, or the standalone account, with permission to create CloudFormation stacks and IAM roles.
  • For member accounts: StackSets trusted access, turned on once in CloudFormation > StackSets > Enable trusted access. Control Tower organizations already have it.
  • Knowledge of any SCPs or permissions boundaries that apply to new IAM roles. An explicit deny overrides the role.

Only the commercial AWS partition is supported, not AWS GovCloud (US) or the AWS China Regions.

Step 1: Send Spotto Your Details​

Copy this into an email to your Spotto contact:

Company name:
Account ID, if you know it (the management account for an organization):

Cost data (required): create a new export / use an existing export (name: )
Connect every member account: yes / no

Known SCPs or permissions boundaries that affect new roles:

Spotto detects the account when your stack completes, then finds the organization, its accounts and your exports.

Step 2: Create The Stack​

Spotto replies with a Launch Stack link and a CloudShell command. Use either one:

OptionSteps
Launch Stack linkSign in to the account, open the link, tick the IAM acknowledgement and select Create stack. For new billing, use the billing-export link Spotto supplies after regional access is ready; this definition-only stack uses us-east-1 but files stay regional. Deploy any member-account link separately.
CloudShell commandOpen CloudShell in the account, paste the command and answer its questions. It handles member accounts and existing exports in one run. See CloudShell command.

For an existing export, use the CloudShell command: it finds the export and grants access to its folder.

Both create the resources in what gets created. Review the templates and permissions first if you like. The External ID isn't a secret, but it ties the role to your Spotto company, so don't change it.

Step 3: Reply To Spotto​

Reply with:

  • that regional access and the required billing definition are complete, and the account ID if you have it;
  • whether you connected member accounts;
  • any SCP or permissions boundary that might still block read-only access.

There's no file to send back. Never send AWS access keys, session tokens or KMS key material. Spotto doesn't need them.

Spotto then connects the accounts. If one fails, Spotto tells you which account, which permission was denied and the change to make. Other accounts carry on in the meantime.

Once your company has Portal access, you'll see the same accounts under Connectors > Cloud Accounts. See manage connected AWS accounts.

Troubleshooting​

What you seeFix
The stack fails with access deniedYour session can't create IAM roles or stacks in that account. Sign in with an IAM administrator role.
SpottoReadOnlyRole already existsAn earlier setup created it. Delete it in IAM, then create the stack again.
The member accounts stack failsTurn on StackSets trusted access, delete the failed stack and launch it again.
Spotto reports access denied after deploymentAn SCP, permissions boundary, bucket policy or KMS key policy blocks a read. Scope an exception to the exact SpottoReadOnlyRole ARNs. See access is denied.

For other stack errors, see CloudFormation troubleshooting. Need help? Reply to your Spotto contact, or contact us.