Sha256: deb4e612da4a459d0fc72d0b64b3ea81aa3b15ea002a2668a7514cdf6f660a2d
Contents?: true
Size: 1.7 KB
Versions: 45
Compression:
Stored size: 1.7 KB
Contents
--- title: ufo scale reference: true --- ## Usage ufo scale SERVICE COUNT ## Description Scale the ECS service. 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. ## Options ``` [--verbose], [--no-verbose] [--mute], [--no-mute] [--noop], [--no-noop] [--cluster=CLUSTER] # Cluster. Overrides .ufo/settings.yml. ```
Version data entries
45 entries across 45 versions & 1 rubygems