LoginSignup
0
3

More than 1 year has passed since last update.

AWS App RunnerにECRパブリックイメージをデプロイしてカスタムドメインを設定するまで

Posted at

App Runnerサービスの作成

image.png
ECRパブリックイメージはこちらを使います。

デプロイトリガーは手動に設定。自動は月1$の追加コストがかかります。
image.png
ポートはhello-app-runnerusageに書いてあったものを指定。
その他はデフォルト。

image.png
image.png
3分ほど待つとサービスの作成が完了します。

image.png
デフォルトドメインにアクセスしてページが表示されればOK。
image.png

カスタムドメインの設定

デフォルトドメインに任意のカスタムドメインを割り当ててアクセスしてみます。
image.png

image.png
表示されたレコードと値のセットを使用してるDNS(Route53など)にCNAMEで登録します。
image.png

しばらく待つと証明書の検証が完了しカスタムドメインでサービスにアクセスができるようになります。

0
3
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
0
3