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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
TonyTonyKun
September 23, 2022
Technology
0
1.8k
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 Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
230
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
660
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
250
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
72
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
83
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
62
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.4k
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
980
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
330
Other Decks in Technology
See All in Technology
インシデント対応入門
grimoh
6
4.2k
ブログの作成に音声AIツールを使って音声入力しようとした話
smt7174
1
130
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
1.4k
ECS障害を例に学ぶ、インシデント対応に備えたAIエージェントの育て方 / How to develop AI agents for incident response with ECS outage
iselegant
5
810
ECSネイティブのBlue/Green デプロイを攻略しよう ~CodeDeployとの違いから、デプロイフロー実装まで~
ideaws
3
280
Claude Code で画面の仕様書を作ろう
zozotech
PRO
0
310
量子クラウドシステムと運用
oqtopus
0
180
技術書を出版するまでの1161時間50分38秒
kakeami
0
130
猫でもわかるKiro CLI(セキュリティ編)
kentapapa
1
250
チーム開発の基礎_研究を事業につなげるために
cyberagentdevelopers
PRO
8
3.7k
"共通化"と"Embed"のブレンドでスケール可能な運用を!M&Aを支えるGENDA SREの実践 / GENDA Tech Talk #3
genda
0
220
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
340
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
GraphQLとの向き合い方2022年版
quramy
50
14k
Designing Experiences People Love
moore
144
24k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Scaling GitHub
holman
464
140k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
61
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
160
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
71
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