Quickstart
Get up and running with CloudFront Hosting Toolkit in just a few minutes:
Prerequisites
- Node.js 18+
- AWS CLI 2+ installed and configured
- A GitHub account (if deploying from GitHub)
Installation
Install CloudFront Hosting Toolkit globally:
npm install -g @aws/cloudfront-hosting-toolkit
Deployment Steps
-
Navigate to your project directory:
Terminal window cd /path/to/your/project -
Initialize your deployment configuration:
Terminal window cloudfront-hosting-toolkit initFollow the prompts to configure your deployment.
-
Deploy your website:
Terminal window cloudfront-hosting-toolkit deploy -
Once deployment is complete, you’ll receive a CloudFront domain name. Use this to access your deployed website.