LoginSignup
0
0

More than 1 year has passed since last update.

AWS EC2がインターネット接続できない時の超凡ミス

Posted at

まずは以下のリンクを確認してください!

普通はこれで解決するはず!
https://aws.amazon.com/jp/premiumsupport/knowledge-center/ec2-connect-internet-gateway/
https://docs.aws.amazon.com/ja_jp/vpc/latest/userguide/VPC_Internet_Gateway.html
https://www.early2home.com/blog/it/aws/post-2397.html
https://qiita.com/blackpeach7/items/d481b96b2946a247f06b
https://open-groove.net/amazon-ec2/when-deny-outbound-access-from-ec2/

そんな中、私がやった凡ミスはこちら、、、

【DNS解決が「無効」になっている!!!】

VPCの詳細画面を開いで確認してみてください
ちなみにデフォルトでは「有効」になるはずなので、こんなミスをする輩はいないでしょう
(現に誰も投稿してなさそうです)
私が「DNSは後からEC2に構築するから無効にしてみようかな〜」って分からないまま無効にしてました
結果、yum updateが実行できない始末、、、
aws.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