Instructions for using the scheduler feature
Last updated
Last updated
Address
VNG CorporationScheduler is a feature that helps you create a schedule to run an auto-scaling group automatically at the desired time. Scheduler helps you save workload for repetitive tasks at the same time. For example, at the peak time of 8am-10am every day you need many instances to serve, you can use the scheduler to increase the number of VMs at 8am and use the scheduler to reduce the number of VMs after 10am per day.
To create a scheduler, step 1 at the Auto-scaling group management interface, select a group you want to use the scheduler for.
You will see the details of the group below, select scheduler
Select create scheduler and enter the required information
Name: Can enter characters (a-z, A-Z, 0-9, '_'), and must start with letter
Group: the system automatically selects the Group you are viewing
Desire capacity: Enter the number of instances you want, the scaling group will scale the number of instances accordingly
Min capcity: Minimum number of instances
Max capcity: The maximum number of instances.
Scheduler: How (how often) the scheduler will run, including the following options
One: Scheduler runs only once
Everyday: Repeat every day. For example setting below, scheduler will repeat at 10:07 every day
Everyweek: Repeat every week. For example below, the scheduler will repeat at 20:15 every Monday
Everymonth: Repeat every month. For example below, the scheduler will repeat at 15:10 on the 2nd day of each month (2/1, 2/2, 2/3 etc...)
- Run start: The date the scheduler starts running
- Run end: After the end-time, the scheduler will finish the iteration
After the setup is complete, select create to create the scheduler. Successfully created, you will see the Scheduler listed as shown below:
Cron: You can define how often the scheduler repeats according to the Cron job structure. See more here