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 Static Web Apps で実現する Serverless CMS / Se...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
miyake
July 15, 2020
Technology
2
2.4k
Azure Static Web Apps で実現する Serverless CMS / Serverless CMS with Azure Static Web Apps
Serverless Meetup Japan Virtual #2 のセッション資料です。
https://serverless.connpass.com/event/181523/
miyake
July 15, 2020
Tweet
Share
More Decks by miyake
See All by miyake
Azure Serverless × AI Agent × MCP アーキテクチャ最前線 / Azure Serverless Agent Architecture
miyake
15
4.6k
Cosmos DB で持続可能な RAG を実現しよう!~ AOAI Dev Day ふりかえりを添えて / Sustainable RAG with Cosmos DB with recap AOAI Dev Day
miyake
1
360
Mirroring Azure Cosmos DB in Microsoft Fabric
miyake
2
270
LLM 時代におさえておきたい Azure Serverless ファミリーまとめ / serverlessdaystokyo2023-llm-aoai
miyake
9
2.9k
Nuxt Studio を使ってみた / nuxt-studio-intro
miyake
1
1.2k
Microsoft Build 2023 で発表された Cosmos DB の注目アップデート / Microsoft Build 2023 Cosmos DB update
miyake
1
900
祝 🎉 両方とも正式リリース! GitHub Codespaces と Nuxt3 で次世代開発体験 / codespaces-nuxt3
miyake
0
1.5k
Static Site Generator でサイト構築 / building sites with static site generator
miyake
1
440
Design and implementation of Cosmos DB Change Feed-centric architecture
miyake
0
1.2k
Other Decks in Technology
See All in Technology
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
5
360
3分でわかる!新機能 AWS Transform custom
sato4mi
1
270
DatabricksホストモデルでAIコーディング環境を構築する
databricksjapan
0
210
What happened to RubyGems and what can we learn?
mikemcquaid
0
130
Tebiki Engineering Team Deck
tebiki
0
23k
システムのアラート調査をサポートするAI Agentの紹介/Introduction to an AI Agent for System Alert Investigation
taddy_919
2
1.1k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
66k
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
SREの仕事を自動化する際にやっておきたい5つのポイント
jacopen
6
1.2k
re:Inventで出たインフラエンジニアが嬉しかったアップデート
nagisa53
4
230
ドキュメントからはじめる未来のソフトウェア
pkshadeck
4
2.1k
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
91
The SEO Collaboration Effect
kristinabergwall1
0
340
Un-Boring Meetings
codingconduct
0
200
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
340
From π to Pie charts
rasagy
0
120
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
320
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
87
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Code Review Best Practice
trishagee
74
20k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Transcript
Azure Static Web Apps で実現する Serverless CMS Serverless Meetup Japan
Virtual #2 Kazuyuki Miyake 1
About Me 三宅 和之 @kazuyukimiyake 株式会社ゼンアーキテクツ CTO Microsoft MVP (
for Microsoft Azure ) Vue.js-jp, typescript-jp 運営スタッフ PaaS がかりの部屋(Blog): https://k-miyake.github.io/blog/ 2
Azure Static Web Apps Preview 主な特⻑ スタティックサイトに最適化されたホスティング GitHub Actions と統合された
CI/CD Azure Functions によるサーバーレス API の統合 詳細 公式ドキュメント(⽇本語) de:code 2020 でも関連セッションを公開しています(2D 推奨) 3
デプロイの仕組み GitHub Actions と統合された CI/CD 4
統合された API リポジトリに BFF (APIs) を共存させることが可能 Azure Functions (Node.js) で実装する
5
Azure Static Web Apps のユースケース SPA: Single Page Application ブラウザ上で実⾏される(サーバーランタイムが不要の)Web
アプリ SSG: Static Site Generator (JAM Stack を含む) プレレンダリングされた静的コンテンツベースの Web アプリ その他 BFF(Backends For Frontends)は統合 API 機能を利⽤して実現可能 SSR(Server-Side Rendering)には対応していない 6
SSG - Static Site Generator 動的コンテンツを 事前にレンダリング し静的ファイルを⽣成する Jekyll, Gatsby,
HUGO, Next.js, Nuxt.js など 7
Git ベースの SSG コンテンツは Git リポジトリで管理 リポジトリ内の markdown 等でコンテンツを作成、更新 データベースや
CMS サーバー が不要 Git の運⽤に慣れた開発者向け 8
nuxt/content による SSG Nuxt.js の Git-based Headless CMS モジュール ->
公式サイト content/ ディレクトリ内にファイルを書き込む Markdown 内で Vue コンポーネントが利⽤可能(︕) 9
DEMO nuxt/content + Azure Static Web Apps 10
SSG(Git-based) + Azure Static Web Apps ⾃動⽣成された GitHub Actions の
YAML を⼀部カスタマイズする app_build_command : フレームワーク指定の Generate コマンドを呼ぶ 11
API-based SSG (JAM Stack) コンテンツは Headless CMS で管理 Headless CMS
提供の管理画⾯でコンテンツを作成、更新 ビルドプロセスの中で CMS の API からコンテンツを取得する ⼀般ユーザーがコンテンツ更新をするのに向いている 12
Contentful Headless CMS サービス -> 公式サイト コンテンツ管理画⾯は提供され、コンテンツ⾃体は API で取得する フロントエンドは⾃分で作る(⾃由度が⾼まる)
個⼈ブログなどを WordPress から移⾏する⼈が増えている 13
DEMO Contentful + Nuxt.js + Azure Static Web Apps 14
JAM Stack + Azure Static Web Apps プレビュー当初に存在していたバグが解消されて実現できるように︕ Webhook トリガーで
GitHub Actions を実⾏するように YAML を構成する 15
Reference Microsoft Docs – Azure Static Web Apps 公式ドキュメント https://docs.microsoft.com/ja-jp/azure/static-web-apps/
サンプルコード集 - Azure Static Web Apps Gallery Community Projects https://github.com/microsoft/static-web-apps-gallery-code-samples Microsfot Learn Azure Static Web Apps で Angular、React、Svelte、または Vue の JavaScript アプリと API を発⾏する Gatsby と Azure Static Web Apps で静的 Web アプリを作成して発⾏する 16
fin. ご清聴ありがとうございました︕ 17