Sha256: 0320c9e57e04bbbc128954028f91815be333e4e284a6e94eab37a05128096c18

Contents?: true

Size: 1.4 KB

Versions: 45

Compression:

Stored size: 1.4 KB

Contents

Ufo provides a command to scale up and down an ECS service quickly. It is a simple wrapper for `aws ecs update-service --service xxx ----desired-count xxx`.  Here's an example of how you use it:

    $ ufo scale 3
    Scale demo-web service in development cluster to 3

It is useful to use `ufo ps` to check the status.

    $ ufo ps
    => Service: demo-web
       Service name: development-demo-web-Ecs-7GAUAXH5F56M
       Status: ACTIVE
       Running count: 2
       Desired count: 3
       Launch type: FARGATE
       Task definition: demo-web:85
       Elb: develop-Elb-1M74CLRS2G0Z4-686742146.us-east-1.elb.amazonaws.com
    +----------+------+-------------+----------------+--------------+-------+
    |    Id    | Name |   Release   |    Started     |    Status    | Notes |
    +----------+------+-------------+----------------+--------------+-------+
    | 8f95ef9d | web  | demo-web:85 | PENDING        | PROVISIONING |       |
    | f590ee5e | web  | demo-web:85 | 50 minutes ago | RUNNING      |       |
    | fb60ba9f | web  | demo-web:85 | 48 minutes ago | RUNNING      |       |
    +----------+------+-------------+----------------+--------------+-------+
    $

While scaling via this method is quick and convenient the [ECS Service AutoScaling](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html) that is built into ECS is a much more powerful way to manage scaling your ECS service.

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ufo-5.0.7 lib/ufo/help/scale.md
ufo-5.0.6 lib/ufo/help/scale.md
ufo-5.0.5 lib/ufo/help/scale.md
ufo-5.0.4 lib/ufo/help/scale.md
ufo-5.0.3 lib/ufo/help/scale.md
ufo-5.0.2 lib/ufo/help/scale.md
ufo-5.0.1 lib/ufo/help/scale.md
ufo-5.0.0 lib/ufo/help/scale.md
ufo-4.6.3 lib/ufo/help/scale.md
ufo-4.6.2 lib/ufo/help/scale.md
ufo-4.6.1 lib/ufo/help/scale.md
ufo-4.6.0 lib/ufo/help/scale.md
ufo-4.5.11 lib/ufo/help/scale.md
ufo-4.5.10 lib/ufo/help/scale.md
ufo-4.5.9 lib/ufo/help/scale.md
ufo-4.5.8 lib/ufo/help/scale.md
ufo-4.5.7 lib/ufo/help/scale.md
ufo-4.5.6 lib/ufo/help/scale.md
ufo-4.5.5 lib/ufo/help/scale.md
ufo-4.5.4 lib/ufo/help/scale.md