VM schedule start

Niren Adhikary (NAD) 146 Reputation points
2022-11-30T09:03:29.12+00:00

Hello,

We would like schedule auto-shut down and start for VM in azure. In the portal we have option to schedule shutdown but not start.

Can you please suggest

  1. How can we schedule auto-shut down and start vm ?
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,532 questions
0 comments No comments
{count} votes

Accepted answer
  1. vipullag-MSFT 25,861 Reputation points
    2022-11-30T09:29:57.8+00:00

    @Niren Adhikary (NAD)

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Adding to AlanKinane above response, please check this Azure Automation Start/Stop VMs document for your ask on Stopping and Starting of VM's automatically.

    There is also another alternative for your ask which is currently in preview. Please check this document.

    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.


1 additional answer

Sort by: Most helpful
  1. Alan Kinane 16,811 Reputation points MVP
    2022-11-30T09:28:55.323+00:00

    There are several ways to achieve this: automation account, Azure function, Logic App.

    I found the Logic App approach to be the easiest to configure. You can configure an automation task for the VM and schedule a start time, you can also schedule a deallocation time here (separate task) but be sure to choose the deallocate VM task and not the shutdown VM task as this will only shut down the OS and still incur costs.

    https://learn.microsoft.com/en-us/azure/logic-apps/create-automation-tasks-azure-resources

    0 comments No comments