0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Azure WebAppsを定期的に再起動する方法

Posted at

定期的にAzure WebAppsを再起動させたい。
Azure Automationを使ってもよいが、PowerShellも書きたくない人に向けてLogicAppsでの実現方法を解説する。

LogicAppsデザイナー全体像

image.png

  • スケジュール 「Recurrence(繰り返し)」トリガー
    image.png

  • Azure AppService 「Webアプリの再起動」アクション
    image.png

認証方式はマネージドIDを使う
image.png

LogicAppsのIDから有効化
有効化したIDをWebAppsのIAMに追加
ロールは「Webサイト共同作成者」
image.png

実際に再起動されたかは、WebAppsのアクティビティ ログから確認できる

料金

最初の4,000回は無料なので無料で利用できそう
https://azure.microsoft.com/ja-jp/pricing/details/logic-apps/

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?