Scaffold the CDK stack for a self-hosted RustDesk Server Pro relay so remote support no longer depends on the public RustDesk rendezvous/relay infrastructure. Single ARM64 EC2 (SSM-managed, no SSH) runs hbbs+hbbr in Docker. The server key pair and DB live on a standalone RETAINed EBS volume so they survive instance replacement (clients keep trusting the same key). Relay ports are public; the Pro admin console (21114) is restricted to the office VPN + VPC. IMDSv2 is enforced and the data dir is locked to root. EIP + rustdesk.seahaven.com give clients a stable address.
11 lines
334 B
JavaScript
11 lines
334 B
JavaScript
#!/usr/bin/env node
|
|
import "source-map-support/register";
|
|
import * as cdk from "aws-cdk-lib";
|
|
import { RustdeskServerStack } from "../lib/rustdesk-server-stack";
|
|
|
|
const app = new cdk.App();
|
|
|
|
new RustdeskServerStack(app, "rustdesk-server", {
|
|
stackName: "rustdesk-server",
|
|
env: { account: "328440206208", region: "us-east-1" },
|
|
});
|