Is there any guide about VMSS Azure scheduled scaling

362 views Asked by At

I have some problem. Is it possible to set up vmss (Virtual Machine Scale Set) scaling with specified schedule? If yes, please give me the path to solution guide. Thank you!

1

There are 1 answers

2
4c74356b41 On

Yes, take a look at this article, basically what you need to do is create a Scale Set with some schedule, go into Azure Resource Explorer and modify it to suit your needs:

{
    "name": "Weekday_Morning_Hours_Scale",
    "capacity": {
    "minimum": "4",
    "maximum": "12",
    "default": "4"
    },
    "rules": [],
    "recurrence": {
    "frequency": "Week",
    "schedule": {
        "timeZone": "Pacific Standard Time",
        "days": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
        ],
        "hours": [
        6
        ],
        "minutes": [
        0
        ]
    }
    }
},