Lab complete!
Now that you have completed this lab, make sure to update your Well-Architected review if you have implemented these changes in your workload.
Click here to access the Well-Architected Tool
Dashboard can be installed via CID tool or via CloudFormation.
If you already have CUDOS, Cost Intellegence Dashboard or KPI Dashboard installed via CloudFormation as described here, you can update the Stack by setting DeployComputeOptimizerDashboard to “yes” and updating the path of Data Collection S3 bucket (if different from default).
If you do not have the stack installed, you can install using the instructions here (you can ignore the Cost and Usage report part as it is not required for this dashboard).
Please follow instructions here to install cid-cmd tool.
You can run deploy command and follow instructions in an interactive mode to install Compute Optimizer Dashboard.
cid-cmd deploy
Or you can provide all parameters in the command line. Please pay attention to the s3 path, it must be the same as in installation of Data Collection Lab.
cid-cmd -vv deploy \
--dashboard-id compute-optimizer-dashboard \
--athena-database optimization_data \
--view-compute-optimizer-lambda-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_lambda' \
--view-compute-optimizer-ebs-volume-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_ebs_volume' \
--view-compute-optimizer-auto-scale-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_auto_scale' \
--view-compute-optimizer-ec2-instance-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_ec2_instance'
After deployment you will need to set up a daily refresh of following dataset:
You can update just dashboard or execute a recursive update. Recursive update will also refresh datasets views and table definitions.
For dashboard update in interactive mode:
cid-cmd update
You can also provide all parameters in the command line. Please make sure the parameters are the same as on the deployment.
cid-cmd -vv -yes update --recursive --force \
--dashboard-id compute-optimizer-dashboard \
--athena-database optimization_data \
--view-compute-optimizer-lambda-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_lambda' \
--view-compute-optimizer-ebs-volume-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_ebs_volume' \
--view-compute-optimizer-auto-scale-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_auto_scale' \
--view-compute-optimizer-ec2-instance-lines-s3FolderPath 's3://costoptimizationdata{account_id}/compute_optimizer/compute_optimizer_ec2_instance'
Now that you have completed this lab, make sure to update your Well-Architected review if you have implemented these changes in your workload.
Click here to access the Well-Architected Tool