AWS infrastructure setup for Astrolock sites
Site Infrastructure
Set up AWS hosting for your Astrolock sites in two steps.
1. Backend Setup (One-Time)
Bootstrap shared AWS infrastructure:
- Terraform state storage (S3 + DynamoDB)
- Docker registry (ECR)
- IAM access control (groups and policies)
Do this once per AWS account.
2. Site Provisioning (Per-Site)
Create infrastructure for each site:
- S3 bucket + CloudFront CDN
- SSL certificate
- DNS configuration
- Deployer credentials
Then deploy your content:
3. Automation (Optional)
Set up GitHub Actions for automatic deployments.
Info
Looking to develop Astrolock? See Astrolock Development.