Skip to content

Commit e055b91

Browse files
authored
Аdd taxonomy filters to dashboard (#1180)
1 parent ab1ce90 commit e055b91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+92975
-86990
lines changed

cfn-templates/cid-cfn.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://github.com/aws-samples/aws-cudos-framework-deployment/blob/main/cfn-templates/cid-cfn.yml
22
AWSTemplateFormatVersion: '2010-09-09'
3-
Description: Deployment of Cloud Intelligence Dashboards v4.1.5 - AWS Solution SO9011
3+
Description: Deployment of Cloud Intelligence Dashboards v4.2.0 - AWS Solution SO9011
44
Metadata:
55
AWS::CloudFormation::Interface:
66
ParameterGroups:
@@ -2070,7 +2070,7 @@ Resources:
20702070
SourceBucket: !Ref ReferenceAssetsBucket
20712071
DestinationBucket: !Ref LocalAssetsBucket
20722072
Keys:
2073-
- 'cid-resource-lambda-layer/cid-4.1.5.zip' #replace version here if needed
2073+
- 'cid-resource-lambda-layer/cid-4.2.0.zip' #replace version here if needed
20742074

20752075
CidResourceLambdaLayer:
20762076
Type: AWS::Lambda::LayerVersion
@@ -2085,7 +2085,7 @@ Resources:
20852085
- LambdaLayerBucketPrefixIsManaged
20862086
- !FindInMap [RegionMap, !Ref 'AWS::Region', BucketName]
20872087
- !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}' # Region added for backward compatibility
2088-
S3Key: 'cid-resource-lambda-layer/cid-4.1.5.zip' #replace version here if needed
2088+
S3Key: 'cid-resource-lambda-layer/cid-4.2.0.zip' #replace version here if needed
20892089
CompatibleRuntimes:
20902090
- python3.10
20912091
- python3.11

changes/CHANGELOG-cudos.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
# CUDOS v5
44

5+
# CUDOS - 5.6
6+
7+
* **Executive: Trends**: Sheet 'MoM Trends' renamed to 'Trends'. Added control Trends Type which allows to switch between Monthly, Weekly and Daily Trends. Added control Trends Time Range which allows to adjust a time period when switching between Trend Types. Changed positioning of Product and Account Trends visuals to effectively present more than 3 trends periods.
8+
* **Databases**: Added 'Amazon ElastiCache Redis Migration to Valkey - Adoption Tracking and Potential Savings' section with visuals 'ElastiCache Redis vs Valkey: Cost Breakdown', 'ElastiCache Valkey: Achieved Cost Efficiency Gains vs Redis', 'Monthly Cost Savings Opportunities with Migration to Valkey' and 'Redis Cache Instances and Serverlless Cache: Cost Savings Opportunities with migration to Valkey' to track migration progress to Valkey.
9+
* **Taxonomy Explorer**: 'TAGSplorer sheet complexly redesigned and renamed to Taxonomy Explorer. Now it allows to interactively explore cost and usage details across 2 Taxonomy Dimensions such as tags and account level mappings which added to the dashboard via new [Add Organizational Taxonomy](https://catalog.workshops.aws/awscid/en-US/dashboards/add-organizational-taxonomy) capability.
10+
* **AI/ML**: Added 'Amazon Bedrock Model Unit Cost' and 'Amazon Bedrock Cost per Legal Entity' visuals . Updated Bedrock UsageType Group for more accurate usage type categorization. Added Model Name calculated field to group different model ids under the same name on 'Amazon Bedrock Daily Cost per Resource' visual.
11+
* **Amazon S3 Summary**: Added 'Group By' control which allows to switch between S3 Operation and S3 UsageType Group in 'Total Cost per Bucket by Operation', 'Daily Cost Bucket Explorer' and 'Daily Storage Bucket Explorer' visuals.
12+
* **Analytics**: Added new section AWS Glue with 'AWS Glue Spend per Account','AWS Glue Spend per UsageType Group', 'AWS Glue Spend per Usage Type' and 'AWS Glue Detailed Resource View' visuals.
13+
* **Analytics**: Added new section Amazon Elastic MapReduce (EMR) with 'EMR Spend per Account', 'EMR Spend Per UsageType Group', 'EMR Spend Per UsageType Sub Group', 'EMR Spend Per Processor Type' 'EMR Daily Cost per Usage Type Sub Group' and 'EMR Detailed Resource View (Top 20)' visuals.
14+
* **Executive: RI/SP Summary**: Added Amazon ElastiCache, OpenSearch, Redshift, DynamoDB and MemoryDB services into 'Savings Option for Compute by Owner / Consumer' visual
15+
516
# CUDOS - 5.5
617

718
* **DynamoDB**: Refactored visuals to improve user experience and simplify navigation. *'DynamoDB Accounts by Category'* visuals replaced with 'DynamoDB Cost per Account' and 'DynamoDB Cost per Usage Type Group'

changes/cloud-intelligence-dashboards.rss

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,88 @@
55
<link>https://catalog.workshops.aws/awscid/en-US</link>
66
<atom:link href="https://cid.workshops.aws.dev/feed/cloud-intelligence-dashboards.rss" rel="self" type="application/rss+xml"/>
77
<description>The Cloud Intelligence Dashboards is an open-source framework, lovingly cultivated and maintained by a group of customer-obsessed AWSers, that gives customers the power to get high-level and granular insight into their cost and usage data. Supported by the Well-Architected framework, the dashboards can be deployed by any customer using a CloudFormation template or a command-line tool in their environment in under 30 minutes. These dashboards help you to drive financial accountability, optimize cost, track usage goals, implement best-practices for governance, and achieve operational excellence across all your organization.</description>
8-
<lastBuildDate>Mon, 21 Apr 2025 12:00:00 GMT</lastBuildDate>
8+
<lastBuildDate>Mon, 2 Jun 2025 09:00:00 GMT</lastBuildDate>
99
<language>en-us</language>
10+
11+
<item>
12+
<title>[New significant feature] Add Organizational Taxonomy with cid-cmd without dashboard customization</title>
13+
<link>
14+
https://catalog.workshops.aws/awscid/en-US/dashboards/add-organizational-taxonomy
15+
</link>
16+
<pubDate>Mon, 2 Jun 2025 09:00:00 GMT</pubDate>
17+
<category><![CDATA[Dashboard Update]]></category>
18+
<guid isPermaLink="false">7d2f3c91-8c10-4265-94e7-7e0c8ef61b58</guid>
19+
<description>Add Organizational Taxonomy with cid-cmd without dashboard customization</description>
20+
<content:encoded><![CDATA[
21+
<div>
22+
<p>Starting today, you can use <code>cid-cmd</code> to add organizational taxonomy—such as tags, cost categories, and account mappings to Cloud Intelligence Dashboards without needing to customize the dashboards, while retaining the ability to update to the latest versions.</p>
23+
<p>Learn more in the new documentation guide:
24+
<a href="https://catalog.workshops.aws/awscid/en-US/dashboards/add-organizational-taxonomy">Add Organizational Taxonomy</a>
25+
</p>
26+
</div>
27+
]]></content:encoded>
28+
</item>
29+
<item>
30+
<title>[Update] CUDOS Dashboard v5.6.0</title>
31+
<link>
32+
https://github.com/aws-solutions-library-samples/cloud-intelligence-dashboards-framework/blob/main/changes/CHANGELOG-cudos.md#cudos---56
33+
</link>
34+
<pubDate>Mon, 2 Jun 2025 09:00:00 GMT</pubDate>
35+
<category><![CDATA[Dashboard Update]]></category>
36+
<guid isPermaLink="false">f3b5e9a2-1c4e-45fa-8c2a-9cf5a93e8e3a</guid>
37+
<description>CUDOS Dashboard v5.6.0</description>
38+
<content:encoded><![CDATA[
39+
<div>
40+
<ul>
41+
<li><strong>Executive: Trends</strong>: Sheet 'MoM Trends' renamed to 'Trends'. Added control <em>Trends Type</em> which allows switching between Monthly, Weekly and Daily Trends. Added control <em>Trends Time Range</em> to adjust the time period when switching between Trend Types. Changed positioning of Product and Account Trends visuals to effectively present more than 3 trends periods.</li>
42+
43+
<li><strong>Databases</strong>: Added '<em>Amazon ElastiCache Redis Migration to Valkey - Adoption Tracking and Potential Savings</em>' section with visuals:
44+
<ul>
45+
<li>'ElastiCache Redis vs Valkey: Cost Breakdown'</li>
46+
<li>'ElastiCache Valkey: Achieved Cost Efficiency Gains vs Redis'</li>
47+
<li>'Monthly Cost Savings Opportunities with Migration to Valkey'</li>
48+
<li>'Redis Cache Instances and Serverless Cache: Cost Savings Opportunities with migration to Valkey'</li>
49+
</ul>
50+
</li>
51+
52+
<li><strong>Taxonomy Explorer</strong>: 'TAGSplorer' sheet completely redesigned and renamed to <em>Taxonomy Explorer</em>. Now allows interactive exploration of cost and usage across 2 Taxonomy Dimensions (e.g. tags and account-level mappings), added via the new
53+
<a href="https://catalog.workshops.aws/awscid/en-US/dashboards/add-organizational-taxonomy">Add Organizational Taxonomy</a> capability.</li>
54+
55+
<li><strong>AI/ML</strong>: Added 'Amazon Bedrock Model Unit Cost' and 'Amazon Bedrock Cost per Legal Entity' visuals. Updated <em>Bedrock UsageType Group</em> for more accurate categorization. Added <em>Model Name</em> calculated field to group different model IDs on 'Amazon Bedrock Daily Cost per Resource'.</li>
56+
57+
<li><strong>Amazon S3 Summary</strong>: Added <em>'Group By'</em> control to switch between S3 Operation and S3 UsageType Group in the following visuals:
58+
<ul>
59+
<li>'Total Cost per Bucket by Operation'</li>
60+
<li>'Daily Cost Bucket Explorer'</li>
61+
<li>'Daily Storage Bucket Explorer'</li>
62+
</ul>
63+
</li>
64+
65+
<li><strong>Analytics</strong>: Added new AWS Glue section with visuals:
66+
<ul>
67+
<li>'AWS Glue Spend per Account'</li>
68+
<li>'AWS Glue Spend per UsageType Group'</li>
69+
<li>'AWS Glue Spend per Usage Type'</li>
70+
<li>'AWS Glue Detailed Resource View'</li>
71+
</ul>
72+
</li>
73+
74+
<li><strong>Analytics</strong>: Added new Amazon EMR section with visuals:
75+
<ul>
76+
<li>'EMR Spend per Account'</li>
77+
<li>'EMR Spend Per UsageType Group'</li>
78+
<li>'EMR Spend Per UsageType Sub Group'</li>
79+
<li>'EMR Spend Per Processor Type'</li>
80+
<li>'EMR Daily Cost per Usage Type Sub Group'</li>
81+
<li>'EMR Detailed Resource View (Top 20)'</li>
82+
</ul>
83+
</li>
84+
85+
<li><strong>Executive: RI/SP Summary</strong>: Added Amazon ElastiCache, OpenSearch, Redshift, DynamoDB, and MemoryDB services to the 'Savings Option for Compute by Owner / Consumer' visual.</li>
86+
</ul>
87+
</div>
88+
]]></content:encoded>
89+
</item>
1090
<item>
1191
<title>[Update] Sustainability Proxy and Carbon emissions data Dashboard v4.0.0</title>
1292
<link>

cid/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '4.1.5'
1+
__version__ = '4.2.0'
22

cid/builtin/core/data/datasets/kpi/kpi_ebs_snap.json

Lines changed: 53 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22
"DataSetId": "0e7cd1a6-e38d-4ca8-af6f-9256577d651e",
33
"Name": "kpi_ebs_snap",
44
"PhysicalTableMap": {
5+
"88cab3bf-bb23-4b37-9ff6-6f32e4c3d9d8": {
6+
"RelationalTable": {
7+
"DataSourceArn": "${athena_datasource_arn}",
8+
"Catalog": "AwsDataCatalog",
9+
"Schema": "${athena_database_name}",
10+
"Name": "account_map",
11+
"InputColumns": [
12+
{
13+
"Name": "account_id",
14+
"Type": "STRING"
15+
},
16+
{
17+
"Name": "account_name",
18+
"Type": "STRING"
19+
}
20+
]
21+
}
22+
},
523
"f224e706-8cd3-4c2f-b4e8-d8470368782f": {
624
"RelationalTable": {
725
"DataSourceArn": "${athena_datasource_arn}",
@@ -25,48 +43,45 @@
2543
"Type": "STRING"
2644
},
2745
{
28-
"Name": "account_id",
29-
"Type": "STRING"
30-
},
31-
{
32-
"Name": "account_name",
46+
"Name": "snapshot_type",
3347
"Type": "STRING"
3448
},
3549
{
3650
"Name": "resource_id",
3751
"Type": "STRING"
3852
},
39-
{
40-
"Name": "snapshot_type",
41-
"Type": "STRING"
42-
},
4353
{
4454
"Name": "usage_quantity",
45-
"Type": "DECIMAL"
55+
"Type": "DECIMAL",
56+
"SubType": "FLOAT"
4657
},
4758
{
4859
"Name": "ebs_snapshot_cost",
49-
"Type": "DECIMAL"
60+
"Type": "DECIMAL",
61+
"SubType": "FLOAT"
5062
},
5163
{
5264
"Name": "public_cost",
53-
"Type": "DECIMAL"
65+
"Type": "DECIMAL",
66+
"SubType": "FLOAT"
5467
},
5568
{
5669
"Name": "ebs_snapshots_under_1yr_cost",
57-
"Type": "DECIMAL"
70+
"Type": "DECIMAL",
71+
"SubType": "FLOAT"
5872
},
5973
{
6074
"Name": "ebs_snapshots_over_1yr_cost",
61-
"Type": "DECIMAL"
75+
"Type": "DECIMAL",
76+
"SubType": "FLOAT"
6277
}
6378
]
6479
}
6580
}
6681
},
6782
"LogicalTableMap": {
68-
"f224e706-8cd3-4c2f-b4e8-d8470368782f": {
69-
"Alias": "kpi_ebs_snap",
83+
"9cd6e7ab-5a7a-40b8-8d3f-0061502aa428": {
84+
"Alias": "Intermediate Table",
7085
"DataTransforms": [
7186
{
7287
"ProjectOperation": {
@@ -75,24 +90,41 @@
7590
"start_date",
7691
"payer_account_id",
7792
"linked_account_id",
78-
"account_id",
79-
"account_name",
80-
"resource_id",
8193
"snapshot_type",
94+
"resource_id",
8295
"usage_quantity",
8396
"ebs_snapshot_cost",
8497
"public_cost",
8598
"ebs_snapshots_under_1yr_cost",
86-
"ebs_snapshots_over_1yr_cost"
99+
"ebs_snapshots_over_1yr_cost",
100+
"account_id",
101+
"account_name"
87102
]
88103
}
89104
}
90105
],
106+
"Source": {
107+
"JoinInstruction": {
108+
"LeftOperand": "f224e706-8cd3-4c2f-b4e8-d8470368782f",
109+
"RightOperand": "f0d714f0-5bdc-467d-a201-d15ec6f1bcbc",
110+
"Type": "LEFT",
111+
"OnClause": "{linked_account_id} = {account_id}"
112+
}
113+
}
114+
},
115+
"f0d714f0-5bdc-467d-a201-d15ec6f1bcbc": {
116+
"Alias": "account_map",
117+
"Source": {
118+
"PhysicalTableId": "88cab3bf-bb23-4b37-9ff6-6f32e4c3d9d8"
119+
}
120+
},
121+
"f224e706-8cd3-4c2f-b4e8-d8470368782f": {
122+
"Alias": "kpi_ebs_snap",
91123
"Source": {
92124
"PhysicalTableId": "f224e706-8cd3-4c2f-b4e8-d8470368782f"
93125
}
94126
}
95127
},
96128
"ImportMode": "SPICE",
97129
"Permissions": []
98-
}
130+
}

0 commit comments

Comments
 (0)