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

【備忘録】AWS NAT Gateway概要 + 構築手順

Last updated at Posted at 2025-02-17

NAT Gateway

NAT

プライベートIPパブリックIPに変換する技術
プライベートIPからパブリックIPに変換は出来るが、逆は出来ない(一方通行)
プライベートサブネットのEC2からインターネットに接続出来る
用途
セキュリティパッチ・ソフトウェアアップデートのために使用する

NAT Gateway

NAT機能を提供するAWSリソース
サブネット** + EIP を指定するだけで作成出来る

NAT Gateway構築手順

1.NAT Gatewayを作成する
2.プライベートサブネット用ルートテーブルの作成

1-1.NAT Gatewayの名前・パブリックサブネット・EIPを選択する
image.png

1-2.NAT ゲートウェイが正常に作成されましたと表示されればOK
image 1.png

2-1.ルートテーブル名・VPCを選択する
image 2.png

2-2.作成したルートテーブルのルーティングにNATゲートウェイを選択する
image 3.png

2-3.ルートテーブルをサブネットに紐づける
image 4.png

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