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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuji Masaoka | まっぴぃ
June 27, 2024
Technology
410
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
190
意外と知ってそうでしらない、Reserved Instances の世界
mappie_kochi
0
240
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
460
AOAI で AI アプリを開発する時にまず考えたいこと
mappie_kochi
1
1.2k
AI Foundry Evaluation & Control model-deployment
mappie_kochi
0
160
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
400
I tried the newly introduced certification "Applied Skills" on Microsoft Learn
mappie_kochi
0
740
OneNote よりも Loop を使って業務の生産性を爆上げするためにあれこれ使ってみた件
mappie_kochi
0
2.8k
Migrating from SQL Server Profiler to SSMS xEvent Profiler
mappie_kochi
0
280
Other Decks in Technology
See All in Technology
10年間のブログ発信を振り返って見えたWebアプリケーションエンジニアとしての軌跡
stefafafan
0
160
マルチアカウント環境での コーディングエージェントを使った障害調査が大変なので AIエージェントにReadOnly権限を付与してみた / ReadOnly AI Agents for Multi-Account AWS Incident Response
yamaguchitk333
2
110
LayerXにおけるセキュリティ管理の現在地と次の一手
tosho
0
250
AIのReact習熟度を測る
uhyo
2
650
就職⽀援サービスにおけるキャリアアドバイザーのシフトスケジューリング
recruitengineers
PRO
1
150
スタートアップにAmazon EKSは早すぎる? マルチプロダクト戦略を加速する Platform Engineeringの実践 / Is Amazon EKS Too Soon for Startups? Practical Platform Engineering to Accelerate a Multi-Product Strategy
elmodev09
0
370
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
8
2k
SONiCの統計情報を取得したい
sonic
0
230
脆弱性対応、どこで線を引くか
rymiyamoto
1
420
20260619 私の日常業務での生成 AI 活用
masaruogura
1
230
AI-DLCを “そのまま導入しなかった”話 ~組織に合わせてアジャストした 私たちの実践共有~
hiroramos4
PRO
0
210
AIチャット検索改善の3週間
kworkdev
PRO
2
140
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
720
How GitHub (no longer) Works
holman
316
150k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
So, you think you're a good person
axbom
PRO
2
2.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.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