We will re-use the setup described in
the App360 DevOps practice. So please read it first before continue.
This time we will setup a workflow contains 2 steps. It will first provision VMs untils the server group contains exactly 3 VMS.
Then it will re-run the playbook to add new VMs to the HAProxy backend pool.
Bascially the video can be divided into 3 parts:
- Create a server group for app servers
- Construct the workflow
- Trigger workflow to run and verify
Next we will modify the workflow a bit to support scaling to arbitrary number of nodes. Same workflow could be used to scale both in and out.
Although we only covered manual trigger, App360 support 3 ways of workflow triggering: manual, schedule, webhook. You may explore in other user guides.
This video is describing a two steps process:
- Modify the workflow to support parameters
- Manual trigger workflow with parameters, then verify