---
title: "OpenClaw with Pulumi and TypeScript"
url: "https://www.pulumi.com/dev/examples/openclaw/"
image: "https://www.pulumi.com/assets/og/dev/examples/openclaw.png"
---

# OpenClaw with Pulumi and TypeScript

- Source on GitHub: https://github.com/pulumi/examples/tree/master/openclaw

## Get started with this example

This example lives in the [pulumi/examples](https://github.com/pulumi/examples/tree/master/openclaw) repo. Pull down just this directory to follow along:

```bash
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examples
git -C pulumi-examples sparse-checkout set openclaw
cd pulumi-examples/openclaw
```

Deploy [OpenClaw](https://docs.openclaw.ai/) on a cloud virtual machine with Tailscale for secure HTTPS access. Each Pulumi program provisions the required infrastructure, installs OpenClaw via cloud-init, and configures Tailscale Serve as a secure reverse proxy.

This directory contains one deployable Pulumi project per cloud provider:

- [openclaw-azure-typescript/](https://github.com/pulumi/examples/tree/master/openclaw/openclaw-azure-typescript) — deploy OpenClaw on an Azure Virtual Machine.
- [openclaw-aws-typescript/](https://github.com/pulumi/examples/tree/master/openclaw/openclaw-aws-typescript) — deploy OpenClaw to AWS with a VPC, security groups, and an EC2 instance.
- [openclaw-hetzner-typescript/](https://github.com/pulumi/examples/tree/master/openclaw/openclaw-hetzner-typescript) — deploy OpenClaw to Hetzner Cloud with a firewall and server.
