# AWS Serverless Infrastructure from WebAssembly Components

DevFeed: [AWS Serverless Infrastructure from WebAssembly Components](<https://devfeed.tech/articles/aws-serverless-infrastructure-from-webassembly-components-126722.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11293>)

Author: Philipp Vollmer

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [Wasm components](<https://devfeed.tech/topics/wasm-components.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [cloud-infrastructure](<https://devfeed.tech/tags/cloud-infrastructure.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [iam](<https://devfeed.tech/tags/iam.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [least-privilege](<https://devfeed.tech/tags/least-privilege.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [s3](<https://devfeed.tech/tags/s3.md>), [sandboxing](<https://devfeed.tech/tags/sandboxing.md>), [security](<https://devfeed.tech/tags/security.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

## AI overview

The approach uses a WebAssembly component's WIT interface to keep AWS Lambda infrastructure and permissions aligned. One WIT interpreter generates S3 bucket infrastructure definitions and least-privilege IAM permissions; a generic runtime runs the component as a Lambda function and exposes buckets as capabilities. The authors state consistency properties for bucket existence and Lambda permissions and provide evidence that their interpreters satisfy them. In the limited Lambda-to-S3 example, they show selected deployment failures prevented by the approach that occur in a baseline setup. Combined with WebAssembly runtime sandboxing, this provides capability-based security for AWS infrastructure access.

## Source excerpt

arXiv:2611.11293v1 Announce Type: cross Abstract: The infrastructure definitions and the code for serverless applications are often only loosely connected. This yields a large error class: the referenced infrastructure components might not exist. It is also hard to keep the application and its permissions in sync. To address this problem we present an infrastructure from code solution where we provision cloud infrastructure from Wasm Interface Type (WIT) - the language defining the interface of WebAssembly components. We limit ourselves to the basic example of an AWS Lambda function accessing S3 buckets. We build two interpreters for the WIT language: one that derives the definition of S3 buckets as infrastructure as code and least-privilege IAM permissions, and a generic runtime that runs the component as a Lambda function and provides access to the S3 buckets as capabilities. We formulate consistency properties that ensure the existence of the S3 buckets and correct permissions of the Lambda, and provide evidence that our interpreters satisfy them. We show how selected failures for deployment of such cloud components can be prevented using our technique and how a baseline setup fails at this task. Together with the strict sandboxing of the WebAssembly runtime we achieve an instance of capability-based security for access to AWS infrastructure as a further result.