AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.04.2017, 14:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
palleagermark: Use Microsoft Flow to start up your Azure VMs
Источник: http://www.agermark.com/2017/04/use-...t-up-your.html
==============

Having Azure VM's running when no one uses them is the cloud equivalent of setting your money on fire.


With the ARM deployments we can do for D365fO now, we can pretty easy make the machines shut down automatically based on a schedule:




But how about startup? If you start a machine manually it takes a while before you can connect to it and use it. So it is preferred to start machines before the workday starts.


If you control startup with scheduled RunBook scripts you risk starting machines that will not be used during the day. Developers might be on other projects, being sick or being on vacation.


So I have been looking into using Microsoft Flow to start machines. The idea is that a developer opens his/her Flow app before leaving their home in the morning to start the machines they want to work on that day. Here is how that could look in the Flow app:

To get there, first step is to create an Azure Automation account and create the RunBook for starting a VM. You can find the RunBook as a template in the Azure Portal. The process is very well described in this article on the Axology blog: https://axology.wordpress.com/2016/1...-of-azure-vms/


The Flow app is very simple to setup. Here are the steps for creating the app button (sorry, some of this is in danish).


First add the manual trigger:




Then add the action, which in this case is an "Azure Automation - Create job" action:






Finally I get a notification when the job is done. Not when the machine actually runs, but when the job kicking off the startup is done:




That is it for a really simple flow. You can probably think of a lot of bells and whistles to add.


I would like to try it out with one of the physical buttons that works with Flow, like Flic, as the trigger:




A button is ordered...


Источник: http://www.agermark.com/2017/04/use-...t-up-your.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 15 Blog bot Dynamics CRM: Blogs 1 10.02.2016 10:26
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM Mobile SDK Update and Azure Mobile Connector SDK Blog bot Dynamics CRM: Blogs 0 24.07.2015 00:13
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 16 Blog bot Dynamics CRM: Blogs 0 23.01.2014 03:15
crminthefield: Microsoft Dynamics CRM 4.0 and 2011 Update Rollup Release Dates, Build Numbers, and Collateral Blog bot Dynamics CRM: Blogs 0 24.08.2011 02:11
Microsoft Dynamics CRM Team Blog: Update Rollup 3 for Microsoft Dynamics CRM 2011 Blog bot Dynamics CRM: Blogs 3 03.08.2011 09:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 04:07.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.