This repository contains the Infrastructure as Code (IaC) for the Blueprint platform, built using AWS CDK and TypeScript.
It provisions a comprehensive serverless environment including centralized authentication, billing monitoring, and automated deployment pipelines for multiple websites.
- Architecture Overview: High-level design and stack breakdown.
- Configuration Guide: How to configure the environment variables (
.env). - Deployment Guide: Step-by-step instructions for deploying to AWS.
- Password Manager Architecture: Specifics of the Password Manager application.
-
Install Dependencies:
npm install
-
Configure Environment: Copy
.env.example(if exists) or create.envfollowing the Configuration Guide. -
Deploy:
cdk deploy --all
AWS lets you deploy stacks concurrently. The dependencies will be respected
cdk deploy --all --concurrency 3npm run build: Compile TypeScript to JavaScript.npm run watch: Watch for changes and compile.npm run test: Perform Jest unit tests.npx cdk diff: Compare deployed stack with current state.npx cdk synth: Emit the synthesized CloudFormation template.
bin/: CDK App entry point and configuration parsing.lib/stacks/: CloudFormation Stack definitions.lib/constructs/: Reusable CDK constructs.lambda/: Source code for AWS Lambda functions.docs/: Project documentation.