Skip to main content

Connect my AWS data

Connect AWS data to Greenly and monitor cloud emissions through an interactive dashboard.

S
Written by Support

Overview

The main process to add your AWS emissions into the Greenly platform is now to directly send us the carbon export generated by AWS on your AWS account. The methodology and emissions has been reviewed and validated by our experts. If you still prefer to use Greenly’s internal AWS calculator, you can still follow the following steps:
This article explains how to connect your AWS account to Greenly so your cloud billing data can be used to measure and monitor your cloud emissions. You will create a dedicated IAM policy and role in your AWS console, which produces a roleARN to provide in the Greenly platform's cloud module.

Before starting, make sure you have access to your AWS console with the right to create IAM policies and roles. At the end of the tutorial, you will have a roleARN that you will need to provide on the Greenly platform, in your cloud module.

1. Before you start: make sure historical data is activated

Go to the IAM console — Billing and Cost Management > Cost Management Preferences.
Activate the multi-year data option.

2. Create IAM policy

  • Go to Access management > Policies

  • Click on Create policy

  • In the Create policy window, go to the JSON tab

  • Copy the following policy and paste it in the JSON tab. Then, click Next: Tags, then Next: Review

  • Name the policy "CostExplorerAccess" and click on Create policy
    Note: This means Greenly will have no other permission than simply reading and retrieving your billing data, on which the cloud study relies.

3. Create IAM role

  • Go to Access Management > Roles and select Create role

  • In the Create role window, select Another AWS account and then in the Account ID field, enter Greenly's account ID: 357850250637

  • In Options, check the Require external ID checkbox, and enter the externalID of your choice (for eg: companyName_2328). You should not use any special characters (#,!,-,&...) in this field. Write down this external ID as you will have to provide it to us

  • Click on next, and then select the CostExplorerAccess policy you created in the previous step

  • Click Next: Tags, then Next: Review and name your new role greenly_cost_explorer

  • At this step, your policy should be looking like this

Did this answer your question?