https://github.com/restatedev/cdk
Deploy AWS Lambda-based Restate services and more
https://github.com/restatedev/cdk
cdk
Last synced: 5 months ago
JSON representation
Deploy AWS Lambda-based Restate services and more
- Host: GitHub
- URL: https://github.com/restatedev/cdk
- Owner: restatedev
- License: mit
- Created: 2023-11-14T18:45:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-29T10:42:27.000Z (6 months ago)
- Last Synced: 2026-01-30T01:39:15.718Z (6 months ago)
- Topics: cdk
- Language: TypeScript
- Homepage: https://docs.restate.dev/deploy/faas/lambda/cdk
- Size: 591 KB
- Stars: 9
- Watchers: 3
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://docs.restate.dev)
[](https://github.com/restatedev/examples)
[](https://discord.gg/skW3AZ6uGd)
[](https://twitter.com/intent/follow?screen_name=restatedev)
# Restate CDK Construct Library
AWS Cloud Development Kit (CDK) construct library for deploying [Restate](https://restate.dev) and
Restate services on AWS.
[Restate](https://github.com/restatedev/restate) is the platform for building resilient applications
that tolerate all infrastructure faults w/o the need for a PhD. For more information on CDK, please
see [Getting started with the AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html).
This library helps you manage registering AWS Lambda-based Restate services in Restate environments.
It also offers basic support for creating self-hosted Restate deployments on your own AWS infrastructure.
## Installation
Inside an existing CDK project, add the library from [npm](https://www.npmjs.com/package/@restatedev/restate-cdk):
```shell
npm i @restatedev/restate-cdk
```
## Available constructs
- [`RestateCloudEnvironment`](./lib/restate-constructs/restate-cloud-environment.ts) - Supports deploying Restate
services to an existing [Restate Cloud](https://cloud.restate.dev) environment.
- [`SingleNodeRestateDeployment`](./lib/restate-constructs/single-node-restate-deployment.ts) - Deploys a self-hosted
Restate server running on Amazon EC2; this provides a basic single-node deployment targeted at
development and testing
- [`ServiceDeployer`](./lib/restate-constructs/service-deployer.ts) - facilitates registration of Lambda-based service
handlers with a Restate environment, such as a self-hosted EC2 environment
For a more detailed look, please refer to the [Restate CDK documentation](https://docs.restate.dev/deploy/services/faas/lambda/cdk).
### Examples
You can use the following templates to bootstrap your own CDK projects:
- [e2e tests in this repository](test/e2e)
- the official [Restate examples](https://github.com/restatedev/examples) repository