aws-samples / aws-modern-application-workshop

A tutorial for developers that want to learn about how to build modern applications on top of AWS. You will build a sample website that leverages infrastructure as code, containers, serverless code functions, CI/CD, and more.
Apache License 2.0
1.46k stars 832 forks source link

Re-network to not need NAT gateway #242

Open adj97 opened 3 years ago

adj97 commented 3 years ago

I followed this guide as a beginner to AWS, and soon learnt from my first few mistakes. After noticing the daily costs of 2 NAT gateways, I did a bit of reading about how to avoid using these costly services.

This guide should have the option (or warning of costly services) to put the services into public subnets (kept secure by security groups) so that NAT gateways aren't necessary.

As a small AWS implementation for beginners, I feel this should be addressed for users to make the most of AWS free tier. The non-NAT gateway solution proposed is only a suggestion, I am yet to implement this.

kristofrk commented 3 years ago

This would be especially helpful for people with student (or classroom) account. Apart from the price, NAT Gateways don't seem to be supported on classroom accounts.