- 1 Minute to read
- Print
- PDF
Prepare for K8s Agent installation
- 1 Minute to read
- Print
- PDF
This topic describes steps that the client must perform before the K8s environment can be set up.
Prerequisites
You must have AWS permissions to create a legacy Cost and Usage Report (CUR). You will create a CUR for both of these:
For the subaccount with the EKS cluster that will be used for the POC (must)
For the Master account (highly recommended)
A CUR for the Master account can give you visibility to all of your AWS resources.
Note that AWS can take 24+ hours to generate the first CUR.
Create a CUR
Create CURs for both accounts.
To create a CUR:
The following instructions give a brief description of how to create a CUR. For a more complete explanation, see Create a legacy CUR.
In the AWS Management Console of your subaccount, go to Cost & Usage Reports.
Click Create Report and provide a name for your report.
Ensure the following options are selected:
Export type: Legacy CUR
Additional export content: Include resource IDs
Report data time granularity: Hourly
Report data integration: Amazon Athena
Set up the S3 bucket for AWS Athena report storage:
Choose or create an S3 bucket for CUR data.
Complete the setup by reviewing and confirming the report configuration.
Repeat this process for the Master account.
For the Master account only:
When you have received confirmation of the CUR being initiated, backfill 3 months of data into the new CUR as described in Backfill data into a CUR.
The CUR will now begin generating and delivering reports to the S3 bucket.
After creating your CUR. AWS automatically uploads the crawler-cfn.yml file to your CUR S3 bucket. This file contains the resources that are necessary to set up Glue Crawlers and databases for Athena.
Example location: s3://<your-bucket>/cloudformation/crawler-cfn.yml
If there are issues in creating the CURs or other resources (such as the crawler file), please reach out to your Zesty representative.