We have learned how to build and configure serverless functions in AWS Lambda. We have learned how to scale them up using third-party tools. We have also had a close look at how microservices work and how to ensure security in them, while ensuring resilience and speed.
In this chapter, we will understand security in the AWS environment, keeping in mind our Lambda functions. We will understand how services, such as AWS VPCs, security groups, and subnets work, with respect to Lambda functions.
This chapter covers the following topics:
- Understanding AWS VPCs
- Understanding subnets in VPCs
- Securing Lambda inside private subnets
- Controlling access to Lambda functions
- Using STS inside Lambda for secure session-based execution