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 デプロイしてみよう!/jazug12
Search
TonyTonyKun
September 23, 2022
Technology
0
1.6k
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
サイクルガードサービス AlterLock の問い合わせ対応業務に Azure OpenAI Service を活用した話/jazug46
thara0402
0
710
Microsoft Ignite 2023 現地参加レポート/ignite2023
thara0402
0
130
Azure Synapse Analytics 入門/jazug11
thara0402
0
630
Azure Bicep で始める Infrastructure as Code/ace0917
thara0402
0
400
Introduction to Azure Synapse Analytics/ace0416
thara0402
0
450
Azure Kubernetes Service を活用したマイクロサービス開発/clouddev
thara0402
0
410
Azure Kubernetes Service を活用したマイクロサービス開発/Ignite-osaka
thara0402
0
410
Azure Kubernetes Service を活用したマイクロサービス開発/Ignite-tokyo
thara0402
0
170
Azure アーキテクチャ センターを読んで LINE BOT を作ってみた話/kitaazu23
thara0402
0
1.4k
Other Decks in Technology
See All in Technology
クラウド利用者の「責任」をどう果たす?AWSセキュリティ対策のススメ #AWSSummit
hiashisan
0
280
公共領域から学ぶ クラウド移行についてエンジニアが意識していること
kawakawa2222
0
140
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
4
1.3k
[NIKKEI Tech Talk] KDDI/KAG Scrum & Community for Engineering Training
curanosuke
2
220
Azure OpenAI Service Dev Day / LLMでできる!使える!生成AIエージェント
masahiro_nishimi
3
810
可視化プラットフォームGrafanaの基本と活用方法の全て
hamadakoji
0
230
AWSで”最小権限の原則”を実現するための考え方 /20240722-ssmjp-aws-least-privilege
opelab
10
4.4k
データベース研修 分析向けSQL入門【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
110
コミュニティサービスに「あなたへ」フィードを リリースするまでの試行錯誤
takapy
1
150
AWS IAMのアンチパターン/AWSが考える最低権限実現へのアプローチ概略(JAWS-UG朝会#59資料改修20分版)
htan
0
330
20240717_イケコパ代表Copilot_in_Teams会社でこう使ってます
ponponmikankan
2
430
What if...? 처음부터 다시 LLM 어플리케이션을 개발한다면
huffon
0
1k
Featured
See All Featured
Six Lessons from altMBA
skipperchong
24
3.2k
Building Your Own Lightsaber
phodgson
101
5.9k
Optimising Largest Contentful Paint
csswizardry
18
2.6k
Scaling GitHub
holman
458
140k
The World Runs on Bad Software
bkeepers
PRO
63
11k
For a Future-Friendly Web
brad_frost
173
9.2k
How to train your dragon (web standard)
notwaldorf
79
5.5k
How STYLIGHT went responsive
nonsquared
93
5k
Creatively Recalculating Your Daily Design Routine
revolveconf
214
11k
A Modern Web Designer's Workflow
chriscoyier
689
190k
The Brand Is Dead. Long Live the Brand.
mthomps
52
36k
Speed Design
sergeychernyshev
9
270
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