이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 1. Creating an unfiltered AWS cloud integration


Note
  • If you want to create a filtered AWS integration, do not complete the following steps. Instead, go to Creating a filtered AWS integration.
  • If you are using RHEL metering, after you integrate your data with cost management, go to Adding RHEL metering to an AWS integration to finish configuring your integration for RHEL metering.
  • AWS is a third-party product and its UI and documentation can change. The instructions for configuring third-party integrations are correct at the time of publishing. For the most up-to-date information, see the AWS documentation.

In the Integrations page, you can create an AWS cloud integration and configure your AWS account to give cost management access.

Prerequisites

You must have a Red Hat account with Cloud Administrator permissions.

1.1. Adding an AWS account as an integration

Add an AWS integration so that cost management can process your AWS Cost and Usage Reports.

Procedure

  1. From Red Hat Hybrid Cloud Console, click Settings Settings icon > Integrations.
  2. On the Settings page, click Create Integration Cloud to enter the Add a cloud integration wizard.
  3. On the Select cloud provider step, select Amazon Web Services. Click Next.
  4. Enter a name for the integration and click Next.
  5. On the Select configuration step, select Manual configuration. Do not select the recommended configuration mode when you set up cost management integrations. The recommendation is for other workflows.
  6. In the Select application step, select Cost management. Click Next.

1.2. Creating an S3 bucket and a data export

Next, you will create an Amazon S3 bucket with permissions configured to store your data exports.

Procedure

To create a data export, log in to your AWS account and complete the following steps:

  1. In the AWS S3 console, create a new S3 bucket or use an existing bucket. If you are configuring a new S3 bucket, accept the default settings.
  2. In the cost management Add an integration wizard, enter the name of your S3 bucket and select the region that it was created in. Click Next.
  3. In the AWS Billing Console, create a data export that will be delivered to your S3 bucket. Enter the following values and accept the defaults for any other values:

    • Export type: Legacy CUR export
    • Report name: koku
    • Include: resource IDs
    • Time unit: Hourly
    • Enable report data integration for: Amazon Redshift and Amazon QuickSight. Disable report data integration for Amazon Athena.
    • Compression type: GZIP
    • S3 bucket: <the S3 bucket that you configured previously>
    • Report path prefix: cost
  4. In the Add a cloud integration wizard, on the Create cost and usage report step, click Next.

    Note

    For more details on configuration, see the AWS Billing and Cost Management documentation.

1.3. Activating AWS tags

Tags can help you organize your AWS resources in cost management. Activate your tags in AWS and then give cost management permissions to import them automatically.

In the AWS Billing console:

  1. Click Cost Allocation Tags.
  2. Select the tags that you want to use in cost management. Click Activate.

    • If your organization is converting systems from CentOS 7 to RHEL and using hourly billing, activate the com_redhat_rhel tag for your systems.
    • If you are tagging instances of RHEL that you want to meter in AWS, select Include RHEL usage. Return to the Red Hat Hybrid Cloud Console Create an integration wizard and select Include RHEL usage.

For more information about tagging, see Adding tags to an AWS resource.

1.3.1. Configuring an IAM policy to enable account access for AWS Cost and Usage Reports

Cost management needs your AWS Cost and Usage Reports to display data. To provide access to only your stored information, create an Identity and Access Management (IAM) policy and role in AWS.

In the cost management Add a cloud integration wizard:

  1. On the Tags, aliases, and organizational units step, select any additional data points that you want to include:

    • Select Include AWS account aliases to display an AWS account alias rather than an account number. In the next step of the wizard, this selection will populate iam:ListAccountAliases in your IAM JSON policy.
    • Select Include AWS organization units if you are using consolidated billing rather than the account ID. In the next step of the wizard, this selection will populate _organization:List*_ and _organizations:Describe*_ in your IAM JSON policy.
  2. Click Next
  3. Copy the IAM JSON policy that is generated based on your selections.

In the AWS Identity and Access Management console:

  1. Create a new IAM policy for the S3 bucket that you configured.
  2. Select the JSON tab and enter the IAM JSON policy that you copied from the Red Hat Hybrid Cloud Console Add a cloud integration wizard.

Example IAM JSON policy

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::<your_bucket_name>",
                "arn:aws:s3:::<your_bucket_name>/*"
            ]
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "cur:DescribeReportDefinitions",
            ],
            "Resource": "*"
        }
    ]
}

  1. Enter a name and create your policy
  1. Next, create a new IAM role:

    1. Select Another AWS account as the type of trusted entity.
    2. Enter 589173575009 for the Account ID to give Red Hat Hybrid Cloud Console read access to the AWS account’s cost data.

In the cost management Add a cloud integration wizard:

  1. Click Next.
  2. Copy your External ID from the Create IAM role step.

In the AWS Identity and Access Management console:

  1. Enter your External ID.
  2. Attach the IAM policy that you configured.
  3. Enter a name and description to finish creating your role.
  4. In Roles, open the summary screen for the role that you created.

    1. Copy the Role ARN. It is a string that starts with arn:aws:.

In the cost management Add a cloud integration wizard:

  1. Click Next
  2. Enter your Role ARN and click Next.
  3. Review the details of your cloud integration and click Add.

Cost management will now begin collecting Cost and Usage data from your AWS account as well as any other linked AWS accounts.

Note

The data can take a few days to populate before it shows on the cost management dashboard.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동