Logo
  • Home
  • Trending
  • Search
  • Login
  • Register

CHINMAYA M Avatar CHINMAYA M  answered Xavier Antony Prabhaker Victor's question. 6 hours ago

An engineer creates a custom VPC (10.50.0.0/16) and an Internet Gateway (IGW). They immediately try to attach the IGW to a newly created subnet (10.50.1.0/24). Why does the AWS Management Console/CLI throw an error?

An IGW is attached to a VPC, not a subnet. To provide internet access to a subnet, configure its route table with 0.0.0.0/0 pointing to the IGW.
Related Replies
CHINMAYA M
CHINMAYA M 6 hours ago
No, an EC2 instance in VPC-A cannot access the internet through VPC-B's IGW via VPC Peering. VPC-A needs its own Internet Gateway or another..
CHINMAYA M
CHINMAYA M 6 hours ago
AWS throws an error because an IGW can only be attached to a VPC, not a subnet. Configure the subnet's route table to enable internet access..
CHINMAYA M
CHINMAYA M 6 hours ago
Required subnets = 8Borrowed bits = \(2^3 = 8\)Original prefix = /16New prefix = /16 + 3 = /19Answer: 255.255.224.0 (/19)
CHINMAYA M
CHINMAYA M 6 hours ago
A subnet mask contains 32 bits.22 consecutive 1sRemaining 10 bits are 0s. 255.255.252.0 (/22)
Mathivanan
Mathivanan 17 hours ago
It is a dedicated network service that links your on-premises data center, office, or colocation environment directly to a cloud provider, b..
Sign in to post your reply or answer to this question. Login Register
Please login to ask, answer, share, like, and vote.
Trending
No results found for your query.
  • Terms
  • Privacy Policy

Copyright © 2026 Ekasquest - Cloud Computing, DevOps & Tech Q&A Community. All rights reserved.

  • Ekasquest - Cloud Computing, DevOps & Tech Q&A Community available in

    EnglishEnglishDutchDutchGermanGermanSpanishSpanish
    ArabicArabicFrenchFrenchRussianRussianTurkishTurkish
  • Terms
  • Privacy Policy

Copyright © 2026 Ekasquest - Cloud Computing, DevOps & Tech Q&A Community. All rights reserved.

  • Ekasquest - Cloud Computing, DevOps & Tech Q&A Community available in

    EnglishEnglishDutchDutchGermanGermanSpanishSpanish
    ArabicArabicFrenchFrenchRussianRussianTurkishTurkish