aws-usage-analyzer

module
v0.0.0-...-5d55901 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0

README

aws-usage-analyzer

The aws-usage-analyzer script will fetch information about your Elasticache clusters and DynamoDB Tables to help find opportunities for optimizations with Momento.

Usage Diagram

Permissions Needed

This script is currently intended to be run from an operator laptop with READ only permissions. Specifically you will need following permissions from cloud watch, elasticache, and DynamoDB.

elasticache:DescribeCacheClusters
cloudwatch:GetMetricData
dynamodb:ListTables
dynamodb:DescribeTable

Requirements.

Building:

Running the following build step will output a binary artifact to the dist folder.

make build

Running

After building the script you can run it with the following commands:

chmod +x ./dist/aws-usage-analyzer
AWS_PROFILE=my-profile AWS_REGION=us-west-2 ./dist/aws-usage-analyzer

Running the script will produce an output file named results.csv with raw data about your workloads needed for analysis.

Directories

Path Synopsis
internal
pkg
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL