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.
8,830 questions
0 comments No comments
{count} votes

Accepted answer
  1. vipullag-MSFT 26,481 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,951 Reputation points MVP Moderator
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.