Trying to figure out how to scale the app created with boxfuse. First I simply run the app with:
$ boxfuse run <myapp> -env=prod
Then I try to scale it, as shown in this 'slim' documentation (https://cloudcaptain.sh/docs/commandline/scale.html) on the webpage:
$ boxfuse scale <myapp> -env=prod -capacity=3:t2.micro
I get a:
WARNING: Unable to scale non-existent auto-scaling group for <ip>
Successfully scaled <myapp> to 3 t2.micro instances in prod
I'm new to AWS and haven't created any auto-scaling group there. I see I can do that, but then it forces me to first create a launch configuration where I need to specify the AMI. It looks to me that boxfuse command is supposed to take care of all of that. Am I missing something?
ps. When I pass to scale to '2' instances, nothing happens. The command exists as if it had nothing to do
Sorry about the confusing error messages. We will be improving those. To scale a single instance application, you can only scale vertically (= change the type of instance, but not the number of instances) Example:
boxfuse scale myapp -env=prod -capacity=t2.small
For load balanced apps you can scale both horizontally (the number of instances) and vertically (the type of instances). Example:
boxfuse scale myapp -env=prod -capacity=3:t2.small
Update: The documentation is now available at https://cloudcaptain.sh/docs/commandline/scale.html