2. Set Master Payer Account
Eco operates on the AWS Cost and Usage Report that is located in the Master Payer account. The master payer account is the top level account where all billing data is consolidated. For organizations with a single account, then that account is the master payer. For organizations with multiple AWS accounts the master payer where accounts link to for consolidated billing.
If you have already connected the master payer account with Elastigroup:
- Choose that account from the menu in the upper right of the console
- Choose Eco Dashboards from the side panel
- Click Update Permissions
If the master payer is not connected to Spotinst:
- Choose new account from the account menu in the upper right of the console
- Name the new account
- Click on Eco for AWS
3. Setup Reports
The following steps are needed to populate these respective fields:
Reminder: The Detailed Billing report is optional
Cost and Usage Report
Available here: https://console.aws.amazon.com/billing/home?#/reports
Important items of note
- “Units” should be Hourly
- “Resource IDs” should be listed
- Copy the “S3 Bucket” value
To create a new report follow the screenshots here:
Detailed Billing Report (optional)
If a current Detail Billing Report already exists, this bucket can be used for additional historical data analysis. If not, there is no need to configure this value.
4. Run CloudFormation
Once at least the Cost and Usage Report bucket has been entered the Open Template button will be enabled. Click and execute the CloudFormation template.
Note: In the Create Stack dialog under Capabilities please mark the checkbox acknowledge that AWS CloudFormation might create IAM resources.
5. Submit the Form
Copy the RoleArn from from the output of the CloudFormation execution. It will have a format similar to: arn:aws:iam::123456789012:role/sc-iam-stack-StratCloudRole-ABCDEFG
Once copied, the Connect button will be activated. Click to enable Eco.