You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cost-management-billing/costs/aws-integration-set-up-configure.md
+30-15Lines changed: 30 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Set up AWS integration with Azure Cost Management
3
3
description: This article walks you through setting up and configuring AWS Cost and Usage report integration with Cost Management.
4
4
author: bandersmsft
5
5
ms.author: banders
6
-
ms.date: 10/07/2021
6
+
ms.date: 01/10/2022
7
7
ms.topic: how-to
8
8
ms.service: cost-management-billing
9
9
ms.subservice: cost-management
@@ -16,10 +16,6 @@ With Amazon Web Services (AWS) Cost and Usage report (CUR) integration, you moni
16
16
17
17
Cost Management processes the AWS Cost and Usage report stored in an S3 bucket by using your AWS access credentials to get report definitions and download report GZIP CSV files.
18
18
19
-
Watch the video [How to set up Connectors for AWS in Cost Management](https://www.youtube.com/watch?v=Jg5KC1cx5cA) to learn more about how to set up AWS report integration. To watch other videos, visit the [Cost Management YouTube channel](https://www.youtube.com/c/AzureCostManagement).
Using a Cost and Usage report is the AWS-recommended way to collect and process AWS costs. The Cost Management cross cloud connector supports cost and usage reports configured at the management (consolidated) account level. For more information, see the [AWS Cost and Usage Report](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-reports-costusage.html) documentation.
@@ -104,26 +100,40 @@ Add permission for AWS Organizations:
104
100
105
101
1. Enter **Organizations**.
106
102
2. Select **Access level** > **List** > **ListAccounts**. This action gets the names of the accounts.
107
-
3. In **Review Policy**, enter a name for the new policy. Check that you entered the correct information, and then select **Create Policy**.
108
-
4. Go back to the previous tab and refresh your browser's webpage. On the search bar, search for your new policy.
109
-
5. Select **Next: Review**.
110
-
6. Enter a name for the new role. Check that you entered the correct information, and then select **Create Role**.
103
+
3. Select **Add Additional permissions**.
104
+
105
+
Configure permissions for Policies
106
+
107
+
1. Enter **IAM**.
108
+
1. Select Access level > List > **ListAttachedRolePolicies** and **ListPolicyVersions** and **ListRoles**.
1. Select **Resources** > policy, and then select **Any**. These actions allow verification that only the minimal required set of permissions were granted to the connector.
111
+
1. Select role - **Add ARN**. The account number should be automatically populated.
112
+
1. In **Role name with path** enter a role name and note it. You need to use it in the final role creation step.
113
+
1. Select **Add**.
114
+
1. Select **Next: Tags**. You may enter tags you wish to use or skip this step. This step isn't required to create a connector in Cost Management.
115
+
1. Select **Next: Review Policy**.
116
+
1. In Review Policy, enter a name for the new policy. Verify that you entered the correct information, and then select **Create Policy**.
117
+
1. Go back to the previous tab and refresh the policies list. On the search bar, search for your new policy.
118
+
1. Select **Next: Review**.
119
+
1. Enter the same role name you defined and noted while configuring the IAM permissions. Verify that you entered the correct information, and then select **Create Role**.
111
120
112
-
Note the role ARN and the external ID used in the preceding steps when you created the role. You'll use them later when you set up the Cost Management connector.
121
+
Note the role ARN and the external ID used in the preceding steps when you created the role. You'll use them later when you set up the Cost Management connector.
113
122
114
-
The policy JSON should resemble the following example. Replace _bucketname_ with the name of your S3 bucket.
123
+
The policy JSON should resemble the following example. Replace `bucketname` with the name of your S3 bucket, `accountname` with your account number and `rolename` with the role name you created.
115
124
116
-
```JSON
125
+
```json
117
126
{
118
127
"Version": "2012-10-17",
119
128
"Statement": [
120
129
{
121
130
"Sid": "VisualEditor0",
122
131
"Effect": "Allow",
123
132
"Action": [
124
-
"organizations:ListAccounts",
125
-
"ce:*",
126
-
"cur:DescribeReportDefinitions"
133
+
"organizations:ListAccounts",
134
+
"iam:ListRoles",
135
+
"ce:*",
136
+
"cur:DescribeReportDefinitions"
127
137
],
128
138
"Resource": "*"
129
139
},
@@ -133,10 +143,15 @@ The policy JSON should resemble the following example. Replace _bucketname_ with
0 commit comments