
Since NAT gateway is not cheap, in some cases, we don’t need to keep NAT Gateway running all the time. It is a good practice to automate the removal of the NAT gateway after finishing your task. This article will show how to implement a lambda function to remove the NAT gateway and associated Elastic IPs. What is aws lambda AWS Lambda is a AWS serverless compute service. It lets you run...