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...
Advanced python: comprehension
In this article, we’ll learn about a Python language construct known as comprehensions for creating a new sequence based on existing one but its syntax is more human-readable than lambda functions. These can be applied to lists, sets, and dictionaries. REVIEW Lambda and map Lambda is an anonymous function (function without name). Let have a quick look at the following example for...