Note: If the customer has multiple payer accounts, this will need to be done for each payer account individually.
-
Set up Hourly CUR with Athena compatibility and resource_ids and wait at least 24 hours.
-
Deploy crawler-cfn.yml CloudFormation template generated in the CUR S3 bucket
-
Setup Amazon Athena "Query result location" in the Athena "primary" Workgroup
-
Subscribe to Amazon QuickSight Enterprise Edition
-
Give Amazon QuickSight role access to CUR bucket
-
Purchase required amount of SPICE capacity for Amazon QuickSight
-
Launch AWS CloudShell and upgrade the AWS CLI on your AWS CloudShell
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
- Run the ./shell-script/customer-cudos.sh script from the cudos directory (NOT from cudos/shell-script)
Note: Your user would require minimal permissions on the IAM Role described in minimal_permissions.json
Note: map
parameter requires AWS Organisations API ListAccounts
Important: Run each of these one at a time in the order they appear below
./shell-script/customer-cudos.sh config
./shell-script/customer-cudos.sh prepare
./shell-script/customer-cudos.sh deploy-datasets
./shell-script/customer-cudos.sh deploy-dashboard
./shell-script/customer-cudos.sh deploy-cid-dashboard
./shell-script/customer-cudos.sh map
./shell-script/customer-cudos.sh refresh-data-sets
-
Set up scheduled SPICE refresh for the SPICE datasets:
- summary_view
- ec2_running_cost
- compute_savings_plan_eligible_spend
- s3_view
-
To pull updates run
./shell-script/customer-cudos.sh update-dashboard
-
To delete CUDOS dashboard and datasets from Amazon QuickSight run
./shell-script/customer-cudos.sh delete ./shell-script/customer-cudos.sh cleanup
-
To delete CID dashboard from Amazon QuickSight run
./shell-script/customer-cudos.sh cid-delete