Quick Start

Infrastructure

Deploy the RawStack AWS infrastructure for the first time.

Prerequisites

  • Node.js 20+
  • AWS CLI configured (aws configure)
  • CDK bootstrapped in your account/region (cdk bootstrap)

Steps

1. Install dependencies

cd infrastructure/aws
npm install

2. Configure environment

cp .env.dist .env

Fill in the required values — see Infrastructure deployment for the full variable reference.

3. Preview changes

npm run cdk diff

4. Deploy all stacks

npm run cdk deploy --all

Or deploy individual stacks:

npm run cdk deploy core
npm run cdk deploy web
npm run cdk deploy admin-hosting

The first deploy takes ~15–20 minutes as RDS and ElastiCache provision.

On this page