Sign inSign up

nextroll/rightsizer

By nextroll

•Updated 8 months ago

rightsizer allows you to compute the appropriate size of your ECS services based on usage.

Image
0

888

nextroll/rightsizer repository overview

⁠rightsizer

rightsizer allows you to compute the appropriate size of your ECS services based on the average resource usage in a given period of time. You can use the output of the program to update your task definitions and keep your services on the perfect size.

⁠Usage

In order to use rightsizer you need to be logged in to your AWS Cli using aws config files⁠ or a credential manager like our own hologram⁠. Then you invoque the rightsizer command using your target cluster and service:

$ rightsizer some-cluster some-service
containerDefinitions:
  some-database:
    cpu: 1
    memory: 500
    memoryReservation: 95
  some-nginx-thing:
    cpu: 1
    memory: 500
    memoryReservation: 95
  some-language-api:
    cpu: 1
    memory: 500
    memoryReservation: 95

The program will output the suggested configuration for your service based on your actual usage. Then you can use this output to patch your service or patch your deploy configuration.

⁠Getting rightsizer

The best way to get rightsizer is from dockerhub:

docker pull nextroll/rightsizer

Then you can run the container with the following command:

docker run --rm nextroll/rightsizer rightsizer some-cluster some-service

Tag summary

Content type

Image

Digest

sha256:3192375d5…

Size

21.7 MB

Last updated

8 months ago

docker pull nextroll/rightsizer