In this chapter, we have learned how security works in Lambda functions in a deep-dive mode. We have understood how VPCs and subnets work in the AWS environment. We have learned to create a VPC and also created public and private subnets. This will give you a better understanding of how security works from the whole of the AWS perspective.
We have also learned how to place your Lambda functions inside the VPCs and the subnets we have created throughout this chapter. We understood how to handle and route traffic inside our VPCs and subnets.
Finally, we also learned how to implement better security in our Python code using session-based access to other AWS components, thereby placing security in the control of the developer.
In the next chapter, you will learn about the Serverless Application Model (SAM) and how to write SAM models and deploy your Lambda applications through...