Scales an App to the specified capacity in a certain environment
Usage: boxfuse scale app -capacity=instanceCount:instanceType
> boxfuse scale hello -capacity=3:t2.small -env=prod Scaling hello to 3 t2.large instances in prod Launching t2.large instance of axelfontaine/hello:1.0 (ami-f6384f94) in eu-central-1 ... Instance launched in 00:10.009s -> i-f876f2ba Remapping Elastic IP 54.11.12.1 to i-f876f2ba ... Waiting 15s for AWS to complete Elastic IP Zero Downtime transition ... Terminating instance i-053de18e ... Deployment completed successfully. axelfontaine/hello:1.0 is up and running at https://hello-axelfontaine.boxfuse.io Successfully scaled hello to 3 t2.large instances in prod
Argument | boxfuse.conf property | Default | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
capacity |
The capacity to scale an app to in a certain environment
Valid formats:
|
||||||||||||||||
-env=... | env | dev | Select the specified environment (ex.: test or prod ) |
{"success":"true"}