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
Azure Container Apps で .NET 7 アプリを Blue-Green デ...
Search
TonyTonyKun
September 23, 2022
Technology
0
1.7k
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう!/jazug12
Japan Azure User Group 12周年イベントのセッション資料です。
TonyTonyKun
September 23, 2022
Tweet
Share
More Decks by TonyTonyKun
See All by TonyTonyKun
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
55
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
23
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
30
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
13
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.1k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
900
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
270
Azure Synapse Analytics 入門/jazug11
thara0402
0
740
Azure Bicep で始める Infrastructure as Code/ace0917
thara0402
0
490
Other Decks in Technology
See All in Technology
SRE本出版からまもなく10年!〜これまでに何が起こり、これから何が起こるのか〜
katsuhisa91
PRO
0
350
AIエージェントのオブザーバビリティについて
yunosukey
1
390
テストコードにはテストの意図を込めよう(2025年版) #retechtalk / Put the intent of the test 2025
nihonbuson
PRO
11
2.1k
Docker Compose で手軽に手元環境を実現する / Simplifying Local Environments with Docker Compose #CinemaDeLT
nabeo
0
270
さくらのクラウド開発の裏側
metakoma
PRO
18
5.9k
Microsoft Fabric のライセンスについて
ryomaru0825
2
3.5k
問 1:以下のコンパイラを証明せよ(予告編) #kernelvm / Kernel VM Study Kansai 11th
ytaka23
3
640
Design for Failure - リージョンとAZについて
yuki_ink
0
130
KubeCon EU 2025 Recap - Kubernetes CRD Design for the Long Haul: Tips, Tricks, and Lessons Learned / Kubernetes Meetup Tokyo #70 / k8sjp70-crd-long-haul-recap
everpeace
0
100
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
71
18k
10年もののアプリケーションを運用・開発するアプリケーションエンジニアのDatadog活用術
miyamu
0
110
人間性を捧げる生成AI時代の技術選定
yo4raw
1
930
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
The Cost Of JavaScript in 2023
addyosmani
49
7.9k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
The Invisible Side of Design
smashingmag
299
50k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Into the Great Unknown - MozCon
thekraken
38
1.8k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Navigating Team Friction
lara
185
15k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
580
Agile that works and the tools we love
rasmusluckow
329
21k
Transcript
Azure Container Apps で .NET 7 アプリを Blue-Green デプロイしてみよう! 2022.9.24
Japan Azure User Group 12周年イベント
自己紹介 名前 原 敏之 個人 Twitter : @TonyTonyKun ROMANCE DAWN
for the new world • https://gooner.hateblo.jp/ Microsoft MVP for Microsoft Azure 2017 〜 コミュニティ Azureもくもく会@リモート • https://azure-mokumoku.connpass.com/ 仕事 株式会社ネクストスケープ Copyright© 2022, JAZUG All Rights Reserved. 2
Azure Container Apps Overview 概要と特徴 3 Copyright© 2022, JAZUG All
Rights Reserved.
Azure Container Apps とは? 複数のコンテナアプリで構成されるシステム向けのサービス 従来は Web Apps for Containers
か Azure Kubernetes Service の2択 でしたが、新たに Container Apps が追加されました。 マイクロサービスだけでなく、ゼロスケールのサーバーレス実行 環境として、Functions よりも自由度が高いサービスです。 Kubernetes を基盤に構成されていますが、利用者が Kubernetes を 意識することなく、アプリの開発と運用に注力できます。 4 Copyright© 2022, JAZUG All Rights Reserved.
Azure Container Apps のアーキテクチャ 5 Copyright© 2022, JAZUG All Rights
Reserved.
Demo .NET 7 アプリケーションを Blue-Green デプロイする 6 Copyright© 2022, JAZUG
All Rights Reserved.
Blue-Green Deployments 複数バージョンの Revision をデプロイし、トラフィック制御を 行うことで、Blue-Green の切り替えを実現します。 1. Environment をデプロイ
2. v1 のコンテナアプリをデプロイ(Traffic:100%) 3. v2 のコンテナアプリをデプロイ(Traffic:0%) 4. スワップ( v1:0% ⇔ v2:100% ) 7 Copyright© 2022, JAZUG All Rights Reserved.
.NET 7 から組み込みコンテナをサポート Announcing built-in container support for the .NET
SDK 8 Copyright© 2022, JAZUG All Rights Reserved. https://devblogs.microsoft.com/dotnet/announcing-builtin-container-support-for-the-dotnet-sdk/
Conclusion まとめ 9 Copyright© 2022, JAZUG All Rights Reserved.
まとめ Azure Container Apps は、複数のコンテナアプリで構成される システムを構築するときにお勧めのサービスです。 マイクロサービス(Dapr 統合) バックグラウンド処理 イベント駆動処理(KEDA)
10 Copyright© 2022, JAZUG All Rights Reserved. Azure Kubernetes Services は、ラストオプション。 まずは、Azure Container Apps の採用を検討しましょう!
参考資料 Azure Container Apps の公式ドキュメント https://docs.microsoft.com/ja-jp/azure/container-apps/ Azure Container Apps で
Blue-Green Deployments を試してみた https://gooner.hateblo.jp/entry/2022/05/27/092220 Azure Container Apps のサンプルコード https://github.com/thara0402/build2022-azure-container-apps-samples クラウドデベロッパーちゃんねる Azure Container Apps の紹介 https://www.youtube.com/watch?v=hu8qWrYXeFw 11 Copyright© 2022, JAZUG All Rights Reserved.
一緒にお仕事する仲間を募集中です 12 Copyright© 2022, JAZUG All Rights Reserved. https://hrmos.co/pages/nextscape