Microsoft Azure Functions 現支援 PowerShell 以自動執行無伺服器任務
Microsoft Azure Functions 現支援 PowerShell 以自動執行無伺服器任務
News from: iThome & Microsoft Azure Web Site
Azure Functions現支援PowerShell Core 6,用戶能以PowerShell編寫自動化腳本,根據排程或事件執行Azure Functions程式。
微軟在其無伺服器服務Azure Functions中,支援自動化與配置管理框架PowerShell,也就是說,用戶現在可以使用PowerShell自動化操作任務,目前這項功能進入預覽階段。
Web site: https://azure.microsoft.com/zh-tw/blog/serverless-automation-using-powershell-preview-in-azure-functions/
企業在雲端環境執行工作負載的同時,也需要能夠管理並自動化雲端資源的工具,而PowerShell能夠讓用戶方便地自定義邏輯,使工作按照排程或是事件觸發執行,而由於Azure Functions也是基於觸發與綁定的應用程式開發模型,剛好能與PowerShell良好地搭配使用。

微軟提到,不少企業已經使用PowerShell,在基礎設施或是應用程式的事件驅動使用案例自動化雲端資源,以應付需要馬上回應的工作。而現在使用第二代Runtime的Azure Functions則開始支援PowerShell Core 6,用戶可以在Windows、macOS和Linux上開發自動化函式,PowerShell還與Azure Application Insights原生整合,用戶能完全掌握每一個PowerShell函式執行狀況。
在Azure Functions中使用PowerShell有許多好處,像是與Azure Monitor整合,因此能處理Azure服務產生或是由Event Grid捕獲的警示,也可以在虛擬機器、SQL伺服器或是其他Azure資源上,執行排程的運作任務。PowerShell也與Azure Portal、Visual Studio Code良好整合,可方便用戶編寫和測試腳本,並可以在混合環境或是本地端環境中順暢的執行。
由於微軟從Azure Functions 1.x版本開始實驗性支援PowerShell,現在官方建議用戶,將原本PowerShell函式搬遷至最新的Runtime上。
------------------------------------------------------------------
News from: iThome & Microsoft Azure Web Site
Azure Functions現支援PowerShell Core 6,用戶能以PowerShell編寫自動化腳本,根據排程或事件執行Azure Functions程式。
微軟在其無伺服器服務Azure Functions中,支援自動化與配置管理框架PowerShell,也就是說,用戶現在可以使用PowerShell自動化操作任務,目前這項功能進入預覽階段。
Web site: https://azure.microsoft.com/zh-tw/blog/serverless-automation-using-powershell-preview-in-azure-functions/
企業在雲端環境執行工作負載的同時,也需要能夠管理並自動化雲端資源的工具,而PowerShell能夠讓用戶方便地自定義邏輯,使工作按照排程或是事件觸發執行,而由於Azure Functions也是基於觸發與綁定的應用程式開發模型,剛好能與PowerShell良好地搭配使用。

微軟提到,不少企業已經使用PowerShell,在基礎設施或是應用程式的事件驅動使用案例自動化雲端資源,以應付需要馬上回應的工作。而現在使用第二代Runtime的Azure Functions則開始支援PowerShell Core 6,用戶可以在Windows、macOS和Linux上開發自動化函式,PowerShell還與Azure Application Insights原生整合,用戶能完全掌握每一個PowerShell函式執行狀況。
在Azure Functions中使用PowerShell有許多好處,像是與Azure Monitor整合,因此能處理Azure服務產生或是由Event Grid捕獲的警示,也可以在虛擬機器、SQL伺服器或是其他Azure資源上,執行排程的運作任務。PowerShell也與Azure Portal、Visual Studio Code良好整合,可方便用戶編寫和測試腳本,並可以在混合環境或是本地端環境中順暢的執行。
由於微軟從Azure Functions 1.x版本開始實驗性支援PowerShell,現在官方建議用戶,將原本PowerShell函式搬遷至最新的Runtime上。
------------------------------------------------------------------
Serverless automation using PowerShell preview in Azure Functions
As companies of all sizes move their assets and workloads to the cloud, there’s a clear need to provide more powerful ways to manage, govern, and automate their cloud resources. Such automation scenarios require custom logic best expressed in PowerShell. They are also typically executed either on a schedule or when an event happens like an alert on an application, a new resource getting created, or when an approval happens in an external system.
Azure Functions is a perfect match to address such scenarios as it provides an application development model based on triggers and bindings for accelerated development and serverless hosting of applications. PowerShell support in Functions has been a common request from customers, given its event-based capabilities.
Today, we are pleased to announce that we have brought the benefits of this model to automating operational tasks across Azure and on-premises systems with the preview release of PowerShell support in Azure Functions.
Companies all over the world have been using PowerShell to automate their cloud resources in their organization, as well as on-premises, for years. Most of these scenarios are based on events that happen on the infrastructure or application that must be immediately acted upon in order to meet service level agreements and time to recovery.
With the release of PowerShell support in Azure Functions, it is now possible to automate these operational tasks and take advantage of the native Azure integration to modernize the delivering and maintenance of services.
PowerShell support in Azure Functions is built on the 2.x runtime and uses PowerShell Core 6 so your automation can be developed on Windows, macOS, and Linux. It also integrates natively with Azure Application Insights to give full visibility into each function execution. Previously, Azure Functions had experimental PowerShell support in 1.x., and it is highly recommended that customers move their 1.x PowerShell functions to the latest runtime.





留言
張貼留言