Before starting this workshop, ensure you have:
1. AWS Account
2. Local Development Tools
| Tool | Version | Purpose |
|---|---|---|
| Node.js | >= 18.x | Run Lambda functions locally |
| npm/yarn | Latest | Package management |
| AWS CLI | >= 2.x | Interact with AWS services |
| Git | Latest | Version control |
3. Knowledge Requirements
Install AWS CLI from AWS CLI Installation Guide
Configure credentials:
aws configure
AWS Access Key ID: [Your Access Key]
AWS Secret Access Key: [Your Secret Key]
Default region name: ap-southeast-1
Default output format: json
aws sts get-caller-identity
Go to IAM Console → Users → Create user
User details:
workshop-adminSet permissions:
AdministratorAccessCreate user and save credentials securely
⚠️ Security Note: After completing the workshop, delete this IAM user or remove AdministratorAccess policy.
Ensure your account has sufficient quotas for:
| Service | Resource | Minimum Required |
|---|---|---|
| VPC | VPCs per Region | 1 |
| VPC | Subnets per VPC | 4 |
| VPC | NAT Gateways per AZ | 1 |
| RDS | DB Instances | 1 |
| Lambda | Concurrent Executions | 10 |
| API Gateway | REST APIs | 1 |
| S3 | Buckets | 2 |
Check quotas at: Service Quotas Console → Select service → View quotas
git clone https://github.com/your-repo/daivietblood-workshop.git
cd daivietblood-workshop
daivietblood-workshop/
├── frontend/ # React application
│ ├── src/
│ └── package.json
├── backend/ # Lambda functions
│ ├── functions/
│ └── package.json
├── infrastructure/ # CloudFormation templates
│ └── templates/
└── README.md
# Frontend
cd frontend && npm install
# Backend
cd ../backend && npm install
| Service | Configuration | Est. Cost/Day |
|---|---|---|
| NAT Gateway | 1 NAT Gateway | ~$1.08 |
| RDS | db.t3.micro | ~$0.52 |
| Lambda | Free Tier | $0.00 |
| API Gateway | Free Tier | $0.00 |
| S3 | < 5GB | ~$0.01 |
| CloudFront | < 1GB transfer | ~$0.01 |
| Amplify | Build & Host | ~$0.50 |
Total estimated: ~$2-3/day
💡 Tip: Complete the workshop in 1-2 days and clean up resources immediately to minimize costs.