Forked from SodaDev/gist:6ba66b4c65ff94fee8f9ecd9cd4e0289
Created
July 16, 2024 09:58
-
-
Save caasig/d7d6eea6986dacd72ff20a0b24e0f1c0 to your computer and use it in GitHub Desktop.
Elasticache Serverless Cost Diagram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metrics": [ | |
[ { "expression": "pricestorage+(ecpus/1000000*0.0038)", "label": "Serverless Elasticache Pricing", "id": "price", "yAxis": "right" } ], | |
[ { "expression": "SUM(METRICS())/1000", "label": "ECPus", "id": "ecpus" } ], | |
[ { "expression": "$YOUR_CLUSTER_GB_SIZE*0.14*24*30", "label": "PriceStorage", "id": "pricestorage", "yAxis": "right", "visible": false } ], | |
[ "AWS/ElastiCache", "NetworkBytesOut", "CacheClusterId", "$YOUR_CLUSTER_NAME-001", "CacheNodeId", "0001", { "region": "$YOUR_REGION", "id": "m1", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-002", ".", ".", { "region": "$YOUR_REGION", "id": "m2", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-003", ".", ".", { "region": "$YOUR_REGION", "id": "m3", "visible": false } ], | |
[ ".", "NetworkBytesIn", ".", "$YOUR_CLUSTER_NAME-001", ".", ".", { "region": "$YOUR_REGION", "id": "m4", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-002", ".", ".", { "region": "$YOUR_REGION", "id": "m5", "visible": false } ], | |
[ "...", "$YOUR_CLUSTER_NAME-003", ".", ".", { "region": "$YOUR_REGION", "id": "m6", "visible": false } ] | |
], | |
"region": "$YOUR_REGION", | |
"title": "Elasticsearch Serverlss ECPus & pricing", | |
"stat": "Sum", | |
"view": "timeSeries", | |
"period": 86400 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment