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 install2. Configure environment
cp .env.dist .envFill in the required values — see Infrastructure deployment for the full variable reference.
3. Preview changes
npm run cdk diff4. Deploy all stacks
npm run cdk deploy --allOr deploy individual stacks:
npm run cdk deploy core
npm run cdk deploy web
npm run cdk deploy admin-hostingThe first deploy takes ~15–20 minutes as RDS and ElastiCache provision.