Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introducing Azure Automation Runtime Environment
Search
Yuji Masaoka | まっぴぃ
June 27, 2024
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introducing Azure Automation Runtime Environment
Presentation at Japan Azure User Group held on June 27, 2024.
Yuji Masaoka | まっぴぃ
June 27, 2024
More Decks by Yuji Masaoka | まっぴぃ
See All by Yuji Masaoka | まっぴぃ
Microsoft Fabric のデータベース: 概要 (MDPJP Databases Deep Dive Series #2)
mappie_kochi
0
240
意外と知ってそうでしらない、Reserved Instances の世界
mappie_kochi
0
280
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
490
AOAI で AI アプリを開発する時にまず考えたいこと
mappie_kochi
1
1.3k
AI Foundry Evaluation & Control model-deployment
mappie_kochi
0
190
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
430
I tried the newly introduced certification "Applied Skills" on Microsoft Learn
mappie_kochi
0
770
OneNote よりも Loop を使って業務の生産性を爆上げするためにあれこれ使ってみた件
mappie_kochi
0
2.9k
Migrating from SQL Server Profiler to SSMS xEvent Profiler
mappie_kochi
0
310
Other Decks in Technology
See All in Technology
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
360
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
1
330
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
150
20260930_Gemma4_Hands-on
tsho
0
230
ビジネスを止めない技術的負債の返済のための戦略とその手法 - 技術的負債と向き合う / Complexity and Simplicity
soudai
PRO
3
650
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
240
Codex概要
ymiya55
0
440
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
870
今こそ知りたいAmplifyGen2
mkdev10
2
150
IR Today: Theory, Practice, and Agents
dtunkelang
0
350
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
2
230
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
530
The untapped power of vector embeddings
frankvandijk
2
1.9k
Abbi's Birthday
coloredviolet
4
10k
It's Worth the Effort
3n
188
29k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
550
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Deep Space Network (abreviated)
tonyrice
0
360
Marketing to machines
jonoalderson
1
5.9k
How to build a perfect <img>
jonoalderson
1
6.1k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
260
4 Signs Your Business is Dying
shpigford
187
23k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
Transcript
Azure Automation Runtime Environment 2024/06/27 48th Tokyo Jazug Night @mappie_kochi
Speaker • Yuji Masaoka | まっぴぃ • X: @mappie_kochi •
Zenn: ymasaoka • Blog: とある IT エンジニアの⽇常 • 某社で情シスやってます • 従業員向け Microsoft Azure / Microsoft 365 の管理運⽤ • Microsoft Azure / Microsoft 365 の開発⽀援 + 某 A 基盤でのクラウド開発 • 趣味 • Perfume (ファンクラブ会員) • Disney • Jigsaw puzzle
Azure Automation Runtime Environment (PubPrev) • Azure Automation の ランタイムを
Runbook 毎に指定 できるようになった • 各 Runbook の実⾏ランタイムを個別作成/指定できる (Python でいう requirements.txt 的なものを作って実⾏に使うイメージ)
これまでの Automation モジュール管理 • 1 Automation アカウント内でランタイムバージョン毎に共有しないといけない • 異なるモジュール間で同じモジュールへの依存関係があるとすごく⾯倒 •
バージョンが異なるものを⼊れると、勝⼿に依存関係があるモジュールのバージョンも更新
新しいランタイム環境は何が良いのか • モジュール更新/切り戻しの⼿間が格段に改善 • これまでは、モジュールバージョンの更新は全ランタイムのテストが必要だった • 今後は新しいランタイム定義を作って、個別に編集/テストすれば良いだけ • ランタイム毎にどの Runbook
が紐づいているかが⼀覧で確認できる • 他のランタイムへの影響を考えなくて良くなる • この機能をよく使うコツは業務フローなどで Runbook をグルーピングし、 そのグループ毎のランタイムを⽤意すること (たぶん) • 他の無関係な Runbook との依存関係を考慮しなくて良くなる • PowerShell 7.2 は Azure CLI サポートが⼊る
切り替え方法 • [概要] タブにあるボタンから切り替え可能 (戻すのも可能)
ランタイム作成 (1/3) • ランタイム環境 メニューからランタイムを作成
ランタイム作成 (2/3) • PowerShell: 7.2 と 5.1 • Python: 3.10
と 3.8 PowerShell も Python もバージョンサポート遅すぎです 早く最新対応してください Microsoft 様
ランタイム作成 (3/3) • PSGallery や PyPI などから追加モジュールを指定して作成
従来のランタイムとの切り替え時の注意 • 切り替え時は、システム⽣成ランタイムに紐付けがされる • 従来のランタイムで⼊れていたモジュールは引き継がれる模様 • システム⽣成ランタイムは編集不可 (だったらデフォルト指定は変更したい) • 従来との互換性がサポートされないパターンがある
• PowerShell 7.2 で作った Runbook は従来モードだと 5.1 動作になる • グラフィカル PowerShell など、⼀部はシステム⽣成 PowerShell 5.1 のみ対応 • ランタイム環境に RBAC アクセス許可を割り当てられない • VSCode の Azure Automation 経由では構成できない GA 時には⾚字は絶対にサポートしてください
参考情報 • Public Preview: Azure Automation Runtime environment & support
for Azure CLI commands in runbooks | Azure updates | Microsoft Azure • Azure Automation のランタイム環境 (プレビュー) | Microsoft Learn • Azure Automation でランタイム環境と関連する Runbook を管理する | Microsoft Learn