How to optimize AWS VMs

How to Optimize AWS EC2 Instances

1. Download Kaytu CLI

MacOS

brew tap kaytu-io/cli-tap && brew install kaytu

Linux

curl -fsSL https://raw.githubusercontent.com/kaytu-io/kaytu/main/scripts/install.sh | sh

Windows (and all Binaries) Download Windows (Linux, and MacOS) binary from releases

2. Login to kaytu CLI

kaytu login

3. Login to AWS CLI

If you don't have AWS CLI, go here and install it.

Run to confirm you are logged in to the correct account

aws sts get-caller-identity

4. Run AWS EC2 Optimizer Check

kaytu optimize ec2-instance

Optimizer checks will interact with CloudWatch to understand utilization of EC2 Instances.