Why can’t I create a NACL and route table before a VPC on AWS? | by Teri Radichel | Biting Bugs | December 2023

esteria.white

Then I could associate the route table and NACL with the VPC when I create it

I have to jump through all these hoops to fix a NACL and VPC route table after creating it. It would be really great if I could create the routing table and NACL first, independently. The same concept that is used for an Elastic IP address.

Then, when I create my VPC, I want to be able to specify the route table and NACL to use at deployment time.

But I guess maybe there is something about having to associate a subnet with a NACL that is associated with the same VPC? I’m not sure, but I’m sure there is a way to make it work. This might involve creating a route table which is essentially a template used to generate a route table attached to a VPC, for example.

Anyway, just a thought, as the complexity of fixing routing tables and NACLs not present in CloudFormation after the fact seems more complicated than it should be.

#awswishlist

Follow for updates.

Teri Radichel | © 2nd sight laboratory 2023

The best way to support this blog is to subscribe to the broadcast list And type for the stories you love. If you are interested in IANS Decision Support Services so you can schedule security consulting calls with myself and other IANS faculty, please contact us on LinkedIn via the link below. THANKS!

About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
Author
: Cybersecurity for Executives in the Age of Cloud
Presentations
: Presentations by Teri Radichel
Recognition: SANS Difference Makers Award, AWS Security Hero, IANS Faculty
Certifications: SANS
Education: BA Business, Master of Software Engineering, Master of Infosec
Company: Penetration Tests, Assessments, Training ~ 2nd Sight Lab
Like this story? Use the options below to help me write more!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
❤️ Clap
❤️ Referrals
❤️ Medium: Teri Radichel
❤️ Email List:
Teri Radichel
❤️ Twitter:
@teriradichel
❤️ Mastodon:
@teriradichel@infosec.exchange
❤️ Facebook:
2nd Sight Lab
❤️ Threads:
@teriradichel
❤️ Bluesky:
@teriradichel
❤️ YouTube:
@2ndsightlab
❤️ Buy a Book: Teri Radichel on Amazon
❤️ Request a penetration test, assessment, or training
via LinkedIn:
Teri Radichel
❤️ Schedule a consulting call with me through
IANS Research

My book on cybersecurity: Cybersecurity for leaders in the cloud era

Leave a comment