VPC Lambda functions should operate in more than one Availability Zone
Severity: Medium
Resource Types: AWS::Lambda::Function
Description
This control checks if Lambda has more than one availability zone associated. The rule fails if only one availability zone is associated with Lambda.
Deploying resources across multiple Availability Zones is an AWS best practice to ensure high availability within your architecture. Availability is a core pillar in the confidentiality, integrity, and availability triad security model. All Lambda functions should have a multi-Availability Zone deployment to ensure that a single zone of failure does not cause a total disruption of operations.
Remediation
To deploy a Lambda function in multiple Availability Zones through console:
- Open the AWS Lambda console
- From the
Functions
page on the Lambda console choose a function. - Choose
Configuration
and then choose VPC. - Choose
Edit
. - If the function was not originally connected to a VPC, select a VPC from the dropdown menu. If the function was not originally connected to a VPC, choose at least one security group to attach to the function.
- Choose
Save
.