How to integrate my AWS cloud

You are here:
← All topics

It’s very simple, takes less than 10 minutes! 

Follow the steps to integrate your AWS cloud with CleanCloud: 

1.Integration must be done through your root account to access cost data. Don’t worry, linked accounts are automatically brought.

2.In CleanCloud, click the cloud menu at the top right and select add. 

3.Select AWS and Continue

4.Type a name for your cloud. It’s optional to put description. Click on Continue.

5.In a new browser tab, access your AWS console and go to IAM Management Roles page. There, select the Create Role button. (Services > IAM > Roles > Create Role)

6.Click another AWS Account as Trusted entity type.

7.Back at the CleanCloud page, copy the Account ID and past it into the AWS page in the Account ID field. Select the Require External ID option and copy the External ID from the CleanCloud page and past it into the External ID option. Keep this page open for the next steps. Leave the Require MFA option unchecked and select Next: Permissions 

8.In the permissions policy search bar, type “ReadOnlyAccess” and check the option with that exact name to give permission to this policy only and click Next. 

9.Leave this screen blank and select Next: Review. 

10.Type CleanCloudApp as the Role name. The description is optional. Finally, click on Create Role to finish. 

11.Back to the Role page, click on the newly created Role – CleanCloudApp – to access your data. 

12.Copy the ARN Role from the AWS page and paste it on the ARN Role on the CleanCloud page.

 

You have completed the first part of the integration, congratulations! 

In the next steps you will create a report in a defined bucket for CleanCloud to collect and analyze data and provide full visibility of your AWS billing. 

13.Returning to the AWS page, navigate to the Reports page in the Billing management console and select Create Report. 

14.On the report creation page, type the name “CleanCloudReport”  and select Include resource IDs and Automatically update your report options. Click on Next. 

15.Click Configure to create a new bucket on your S3 where the report will be saved.

16.In the window that opens, choose Create a Bucket. As Bucket S3 name put “mycompany-report-cleancloud” and select a region where you prefer. Then click Next. 

17.Confirm the security policy that gives AWS permission to record or archive a report inside the newly created bucket. Click on Save. 

18.You will return to the report configuration page. First validate the Bucket you created, then fill the Report Path Prefix with CleanCloud. Select Hourly Granularity and Report Versioning to Create a New Version, and finally choose Compression Type as GZIP. Click Next. Obs: Bucket must appear as valid. 

19.Review the available information and complete to finalize report creation. 

20.Select Cost and Usage Report and click the CleanCloudReport

21.Copy the text displayed in the Report Path Prefix field

22.Finally you must enable tags for cost reporting. Go to the Cost Allocation Tags page in the cost management console. Select all tags and click Enable. (Services > Billing > Cost allocation tags) 

23.In CleanCloud click on the refresh icon, then in the S3 bucket field select the bucket mycompany-report-cleancloud and finally paste the copied prefix on the AWS page in the Report path field. Click on Continue. 

24.Finally on CleanCloud page, click Stat optimization and you’re done! 

 

CONGRATULATIONS 

Your AWS cloud is integrated with CleanCloud and within 24 hours you’ll have access to over 60 safety, performance and cost saving recommendations.