ecs-power

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

README

ecs-power

Setup

Add three SSM parameters for each cluster with the following keys:

/<clusterName>/ecs-cluster/AUTOSCALE_MIN
/<clusterName>/ecs-cluster/AUTOSCALE_MAX
/<clusterName>/ecs-cluster/AUTOSCALE_DESIRED

# SSM Parameter Key example for a cluster named "dev":
/dev/ecs-cluster/AUTOSCALE_MIN

Configure an autoscaling group in AWS EC2 with a name in the following format

<clusterName>-ecs

# for a cluster named "dev" the autoscaling group would be named
dev-ecs

Usage

ecs-power --help

# Scale up (turn on) environment to preset values
ecs-power on -c dev

# Shut off ecs-cluster
ecs-power down -c dev

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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