AWS Cloud Development Kit (CDK) construct library for deploying Restate and Restate services on AWS.
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.
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.
Inside an existing CDK project, add the library from npm:
npm i @restatedev/restate-cdk
RestateCloudEnvironment
- Supports deploying Restate services to an existing Restate Cloud environment.SingleNodeRestateDeployment
- Deploys a self-hosted Restate server running on Amazon EC2; this provides a basic single-node deployment targeted at development and testingServiceDeployer
- 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.
You can use the following templates to bootstrap your own CDK projects:
- e2e tests in this repository
- the official Restate examples repository