Connect AWS to Spotto (Preview)
Spotto enables AWS for a company on request. Contact us to join the preview. Spotto only reads from AWS: it never changes resources, buys commitments or reads secret values.
You connect AWS by launching regional CloudFormation access and, for new billing, a separate export-definition stack in your own AWS console. The stack creates SpottoReadOnlyRole, an IAM role with read-only policies that trusts Spotto only when it presents your company's External ID. You never create access keys or share credentials.
Before You Start
| You need | Why |
|---|---|
| Permission to manage cloud accounts in the Spotto company, with AWS enabled | Without it, Create shows no AWS choice. See the AWS option isn't shown. |
| An AWS console sign-in that can create CloudFormation stacks and IAM roles | The stack creates the role. Spotto never creates IAM roles itself. |
| The management account, for an organization | Connecting it lets Spotto find the organization's accounts and costs. A member account connects on its own. |
| StackSets trusted access, for member accounts | See Connect Member Accounts. |
Not sure of an ID? See find your AWS IDs.
Choose A Method
In Spotto, open Connectors > Cloud Accounts, select Create, then AWS. The Connect AWS dialog offers:
| Method | Select | Best for |
|---|---|---|
| Automated Setup (recommended) | Connect AWS | Most people. Sign in to AWS and launch regional access, then its billing-export definition. Accounts, organization and cost data are detected. See below. |
| Script or Terraform | Use CloudShell or Use Terraform | Running one CloudShell command or applying the Terraform module. Same stacks, detected the same way. |
| Manual Setup | Organization or Single Account | Creating the role yourself with a CloudFormation template or in IAM. Suits custom role names, a bucket in a separate account, legacy CUR or strict change processes. |
Working with the Spotto team without Portal access? See setup for AWS administrators.
Automated Setup
-
In the Connect AWS dialog, under Automated Setup, select Connect AWS.
-
Choose Cost Data. Billing is required to finish connecting:
Option Choose it when Create a New Export (recommended) You don't have a CUR 2.0 export yet, or want one with the right settings. The regional stack creates the bucket; a separate billing-only stack creates the export definition. Use an Existing Export You already have a supported export: CUR 2.0, Parquet, daily or hourly, with resource IDs. You choose it after connecting. -
Sign in to the AWS console in the management account, or your only account. Which account? on the page shows how to check.
-
Select Launch Stack in AWS. The AWS console opens a prefilled access stack in your Spotto geography: Sydney for AU, N. Virginia for US, Stockholm for EU.
-
Tick I acknowledge that AWS CloudFormation might create IAM resources with custom names, then select Create stack.
-
Return to the portal. It detects the connection when the stack finishes, usually in 1–2 minutes, and shows the organization, its accounts and any exports. You don't type an account ID.
-
For Create a New Export, select Create Billing Export in AWS, approve the separate us-east-1 definition-only stack, then Check Again. CUR files are delivered to the regional bucket.
-
Check the account name, then choose the accounts to connect. Untick any you want to leave out, such as sandboxes.
-
If member accounts show Not Deployed, select Connect Member Accounts.
-
Finish the cost data:
- New export: nothing to do. The first files arrive within 24 hours, with the current month only. Request Billing History generates the AWS Support case text for the previous 12 months. See request billing history.
- Existing export: choose it and select Finish to check access. If the check identifies missing access, follow Grant Access to Export. Update an existing billing-access stack using the offered template and parameters; create one only when it doesn't exist.
-
Select Finish.
Spotto saves the connection, returns you to Cloud Accounts and starts the first scan.
Not detected after 3 minutes? Select Enter Account ID, type the 12-digit ID of the account where you created the stack, and the portal checks that account directly. Find your account ID.
If you already deployed the stack, for example with the CloudShell command, the portal offers the detected account when you open Connect AWS. If that account is already connected, it shows Already Connected instead of Launch Stack in AWS. Either way, select Continue.
The portal warns you: This is a member account. Connect the management account to see costs for the whole organization. You can still continue with that one account.
Connect Member Accounts
Connect Member Accounts opens a second stack, SpottoMemberAccounts-<deployment>, in the management account. It uses a service-managed StackSet to add the role to every member account, and to new accounts as they join the organization. The portal updates each account's Role status while the page is open.
Turn on trusted access once before you launch it: in the management account, open CloudFormation > StackSets and select Enable trusted access. Organizations set up with AWS Control Tower already have it.
What Gets Created In Your AWS Account
| Resource | When | Details |
|---|---|---|
IAM role SpottoReadOnlyRole | Always | Trusts Spotto with your External ID. AWS managed ViewOnlyAccess and SecurityAudit, plus inline SpottoReadOnlyAccess, SpottoCommitmentsPlanning and SpottoBillingExportRead (the export folder only). See permissions. |
S3 bucket spotto-billing-<account-id>-<deployment> | Create a New Export | Private: Block Public Access on, encrypted, HTTPS only. Only the Data Exports service (bcm-data-exports.amazonaws.com) can write to it. |
Data Export spotto-cur2-<deployment> | Create a New Export | CUR 2.0, daily, with resource IDs, Parquet. Delivered to s3://spotto-billing-<account-id>/cur2. |
SpottoReadOnlyRole in each member account | Connect Member Accounts | ViewOnlyAccess, SecurityAudit and SpottoReadOnlyAccess. |
SpottoConnect-<deployment> also tells Spotto which account deployed it, through a custom resource that creates nothing in your account. See how the stack registers. The stacks and their templates are described in CloudFormation templates. Deleting them removes the roles; the bucket and export are kept, so cost data is never lost. To keep access current later, see update and repair.
How Spotto Reads Your AWS Data
Spotto has no agent or network connection in your environment. It calls the same public AWS APIs you would, signed with the role's temporary credentials:
The billing bucket never needs to be public. Two bucket policy patterns do block Spotto, because it connects from outside your network: allowing requests only through your VPC endpoints (aws:SourceVpce), or only from listed IP ranges (aws:SourceIp). Exempt the role's ARN from those conditions. Denying requests without HTTPS (aws:SecureTransport) is fine.
After You Connect
- Resources, recommendations and security appear when each account's first scan completes. Large organizations take longer.
- Costs appear once AWS delivers the first export files, within 24 hours for a new export. See when data arrives.
- Security score needs Security Hub CSPM with a standard enabled and AWS Config recording. See AWS security access.
- Trusted Advisor and AWS Health need a paid AWS Support plan with API access. Compute Optimizer and Cost Optimization Hub need to be opted in. Spotto's own rules work without them.
A company can connect up to 25 organizations or standalone accounts, with up to 100 accounts in each organization and 250 in total. Only the commercial AWS partition is supported, not AWS GovCloud (US) or the AWS China Regions.
To change, sync or remove accounts later, see manage connected AWS accounts. When the account's Access row shows Update Available or Repair Access, see update and repair.
Regional Onboarding And Billing Storage
| Spotto geography | Access stack, registration topic and new CUR bucket |
|---|---|
| AU | Sydney (ap-southeast-2) |
| US | N. Virginia (us-east-1) |
| EU | Stockholm (eu-north-1) |
The Portal supplies the deployment automatically; no separate region picker is
needed. Development and production topics, runtime access and state are separate.
Only generic public template files share central S3 hosting. New billing bucket:
spotto-billing-<account-id>-<deployment>; new export: spotto-cur2-<deployment>.
AWS's billing-definition APIs remain global in us-east-1 while billing files stay regional. Other AWS global services, including IAM and Organizations, have their own control-plane behaviour; a regional destination does not mean every AWS API is local. Existing sources retain and display their location. See CloudFormation details.