Skip to content

restatedev/cdk

Repository files navigation

Documentation Examples Discord Twitter

Restate CDK support

AWS Cloud Development Kit (CDK) construct library for deploying Restate and Restate services on AWS. This library helps you when deploying Restate services to AWS Lambda as well as for managing self-hosted Restate deployments on your own infrastructure. For more information on CDK, please see Getting started with the AWS CDK.

Installation

Inside an existing CDK project, add the library from npm:

npm i @restatedev/restate-cdk

Available constructs

  • 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 testing
  • ServiceDeployer - facilitates registration of Lambda-based service handlers with a Restate environment, such as a self-hosted EC2 environment

For a more detailed overview, please see the Restate CDK documentation.

Examples

You can use the following templates to bootstrap your own CDK projects: