Serverless and Containers
The ability to seamlessly incorporate serverless technology,
container technology, and microservice designs in AWS enables
customers to build multiple levels of isolation for workloads. AWS
services use multiple layers of security to achieve isolated
operations. Many of the security features of services like
AWS Lambda
AWS approaches logical isolation with its serverless service, AWS Lambda, and its managed container service, AWS Fargate, in a multilayered fashion. These layers start with bare metal instances, the same ones that any customer can provision, using the same underlying Nitro architecture and its security benefits that were previously discussed. Then, at a subsequent layer, there is the purpose-built lightweight virtual machine monitor called Firecracker which was created by AWS to securely manage containers and serverless functions. Firecracker functions as an isolated environment that provides secure runtime execution for serverless functions and containers. Lambda operates in EC2 as micro virtual machines (micro-VMs) and offers similar protections for logical isolation as other EC2 instances. Each function executes in a sandbox that is contained in the micro-VM. The sandbox offers secure Linux kernel isolation using cgroups, namespaces, seccomp, and other features. Additionally, techniques such as process jailing and static linking are used to securely isolate runtime. Firecracker presents multiple security features such as a simple guest model — in other words, a virtualized device model that presents a minimal surface area allowing just enough features for operation. These concentric levels of protection allow for rapid, fraction-of-a-second invocations while securely isolating the micro-VM to a customer account. The source code for Firecracker has been provided as open source to the community at large to support full transparency with its operational configuration and capabilities.
Customers can build their own logical isolation and separation
practices tailored to their organization using capabilities such
as serverless resources. For example, customers can build event
driven architectures which have multiple automation focused use
cases from incident response to fleet management. Lambda in
combination with other AWS services, such as
Amazon CloudWatch Events or Amazon EventBridge,
AWS Step Functions
AWS container orchestration service,
Amazon Elastic Container Service (Amazon ECS)
AWS services offer customers with a growing list of capabilities to make security in the cloud robust and easy to implement while maintaining a high security bar. Ever expanding security services and features minimize cumbersome processes, improve confidentiality, and expand accessibility to democratize security and the benefits of modern techniques and innovation. Applying foundational security practices, such as encryption, with proper customer implementation can effectively address the security risks associated with the demand for physical separation.