Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introducing Azure Automation Runtime Environment
Search
Yuji Masaoka | まっぴぃ
June 27, 2024
Technology
0
390
Introducing Azure Automation Runtime Environment
Presentation at Japan Azure User Group held on June 27, 2024.
Yuji Masaoka | まっぴぃ
June 27, 2024
Tweet
Share
More Decks by Yuji Masaoka | まっぴぃ
See All by Yuji Masaoka | まっぴぃ
Microsoft Fabric のデータベース: 概要 (MDPJP Databases Deep Dive Series #2)
mappie_kochi
0
81
意外と知ってそうでしらない、Reserved Instances の世界
mappie_kochi
0
190
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
420
AOAI で AI アプリを開発する時にまず考えたいこと
mappie_kochi
1
1.1k
AI Foundry Evaluation & Control model-deployment
mappie_kochi
0
130
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
370
I tried the newly introduced certification "Applied Skills" on Microsoft Learn
mappie_kochi
0
680
OneNote よりも Loop を使って業務の生産性を爆上げするためにあれこれ使ってみた件
mappie_kochi
0
2.6k
Migrating from SQL Server Profiler to SSMS xEvent Profiler
mappie_kochi
0
190
Other Decks in Technology
See All in Technology
LINE Messengerの次世代ストレージ選定
lycorptech_jp
PRO
17
6.8k
2026-02-25 Tokyo dbt meetup プロダクトと融合したCI/CD で実現する、堅牢なデータパイプラインの作り方
y_ken
0
160
「使いにくい」も「運用疲れ」も卒業する UIデザイナーとエンジニアが創る持続可能な内製開発
nrinetcom
PRO
1
770
マネージャー版 "提案のレベル" を上げる
konifar
7
1.9k
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
0
220
Vertex AI Agent Engine で学ぶ「記憶」の設計
tkikuchi
0
120
【SLO】"多様な期待値" と向き合ってみた
z63d
2
290
「データとの対話」の現在地と未来
kobakou
0
1.2k
Oracle Cloud Infrastructure:2026年2月度サービス・アップデート
oracle4engineer
PRO
0
170
Lookerの最新バージョンv26.2がやばい話
waiwai2111
1
150
Exadata Fleet Update
oracle4engineer
PRO
0
1.3k
Databricks (と気合い)で頑張るAI Agent 運用
kameitomohiro
0
350
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
エンジニアに許された特別な時間の終わり
watany
106
240k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
68
Crafting Experiences
bethany
1
74
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
620
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Chasing Engaging Ingredients in Design
codingconduct
0
130
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
140
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
120
How to Ace a Technical Interview
jacobian
281
24k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
450
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