1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Azure Static Web Appsを試す

Posted at

GitHubのレポジトリを作成

とりあえず動かすことが目的なので過去と同じシンプルなファイルを用意しました。Azure App Serviceへの継続的デプロイを試すを参照。

Azure Static Web Appsを作成

以下の設定値でStatic Web Appsを作成します。
CreateStaticWebApp2.png

デプロイが完了するとURLが表示されるのでそちらにアクセスすると構築したWebサイトにアクセスできます。

まとめ

静的WebアプリであればAzure Static Web Appsを使って簡単にホスティングできてしまいます。
ドキュメントを参照すると、Static Web Appsは静的アセットをWebサーバから切り離し、世界各地の分散したポイントから提供されるため高速で、APIエンドポイントはAzure Functionsを介して提供するというあたりが特徴です。リソース作成の際にリージョンを指定したよな?と思ったのですが、これはAPIが単一リージョンとなりそこに関係するようです。

参考

App Service Static Web Apps の仕組みを探る(非公式)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?