Skip to main content
友田 陽大

Category

Azure Container Apps 本番運用ガイド(環境・KEDAゼロスケール・Ingress自動HTTPS・リビジョン・SIGTERM・マネージドID・コスト/AWS Fargate比較)

Azure Container Appsは『サーバー構成・コンテナオーケストレーション・デプロイの詳細を気にせずにコンテナを動かす』サーバーレス基盤で、Kubernetes・KEDA・Dapr・EnvoyというOSSの上に建てられつつKubernetes APIは直接公開しません。本クラスタは、ACAを採用した後の『どう本番で作るか』に集中します——環境=セキュリティ境界の設計、KEDAによる水平オートスケールとHTTP/イベント駆動のゼロスケール(Ingress無効ワーカーの自爆回避)、ロードバランサも証明書も要らない自動HTTPS Ingressと240秒タイムアウト、startup/liveness/readinessプローブ、単一/複数リビジョンによるゼロダウンタイムとBlue/Green・カナリア、SIGTERMを30秒以内に処理するグレースフルシャットダウンと冪等性、マネージドID+Key Vault参照で認証情報をコードから消すセキュリティ、Jobs(バッチ/スケジュール/イベント)、Consumption/Dedicated/Flexと無料枠・idleレートのコスト設計、Bicep/Terraform/鍵レスCI/CDまでを体系化します。AWS ECS on Fargateで221エンドポイントのB2B SaaSと本番二重課金0件の決済基盤を運用した知見を根拠に、Fargateとのクロスクラウド比較(ゼロスケール・サーバーレスGPU・Spot・分離粒度)まで含めて、Microsoft Learn公式ドキュメントに忠実な実コードで解説します。

8 articles in total

Foundational guide

Foundational guide (start here)

Azure
Container Apps
コンテナ
サーバーレス
KEDA

Azure Container Apps Production Operations Guide: Designing, Scaling, Deploying, Costing, and Securing Serverless Containers, with Real Code

A production operations guide for Azure Container Apps faithful to the official Microsoft Learn docs. From the configuration of environments, revisions, and replicas, to zero-scaling with KEDA, Ingress (automatic HTTPS, 240-second timeout), graceful shutdown via SIGTERM, managed identities and Key Vault references, and Consumption/Dedicated cost design — systematized with Bicep, Terraform, az CLI, and real code.

31 min read

Related practical articles