Jamie-BitFlight / dynamic-iops

Lambda Function to modify EBS IOPS based on EC2 metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dynamic-iops

Lambda Function to modify EBS IOPS based on EC2 metrics

Create the trust role Commands: aws iam create-role --role-name ebs-iops-worker
--assume-role-policy-document file://modifyvolume-trust.json

The policy needs to:

  1. Write CloudWatch logs, so you can debug the function.
  2. Read EC2 information about instances, tags,

aws iam put-role-policy --role-name ebs-iops-worker
--policy-name IopsModifyPolicy
--policy-document file://iops-modify-policy.json

About

Lambda Function to modify EBS IOPS based on EC2 metrics


Languages

Language:JavaScript 86.4%Language:Shell 13.6%