CloudFront Hosting Toolkit is an open-source command-line tool designed to simplify the deployment and management of fast, secure frontend applications on AWS. It offers the convenience of a managed frontend hosting service while giving developers full control over their hosting and deployment infrastructure.
CloudFront Hosting Toolkit is a comprehensive solution that automates the process of setting up and managing a robust, scalable frontend hosting infrastructure on AWS. It leverages several AWS services, including CloudFront, S3, CodePipeline, and Lambda, to create a powerful hosting environment tailored for modern web applications.
Key features include:
CloudFront Hosting Toolkit streamlines the deployment process through a simple CLI interface. It automatically provisions and configures necessary AWS resources, handles the deployment pipeline, and manages content delivery through CloudFront.
For a detailed explanation of the architecture and workflow, please refer to our Architecture documentation.
Check out our documentation for comprehensive guides on setting up and using the Cloudfront Hosting Toolkit!
npm install -g @aws/cloudfront-hosting-toolkit
Initialize your project:
cloudfront-hosting-toolkit init
The animated GIF below demonstrates the initialization process
Deploy your website:
cloudfront-hosting-toolkit deploy
The animated GIF below demonstrates the deployment process
For more detailed instructions and advanced usage, please refer to our CLI Guide.
# Show domain name
cloudfront-hosting-toolkit show
# Check deployment status
cloudfront-hosting-toolkit status
# Remove hosting infrastructure
cloudfront-hosting-toolkit delete
CloudFront Hosting Toolkit sets up a comprehensive AWS architecture for your frontend hosting:
This architecture ensures a scalable, performant, and maintainable hosting solution for your frontend applications.
CloudFront Hosting Toolkit offers flexibility in how it can be used:
For more information on how to use CloudFront Hosting Toolkit, including advanced usage scenarios and in-depth customization options, please refer to our extensive documentation in the Advanced section.
For information about upcoming features and improvements, please see our Roadmap.
This library is licensed under the Apache-2.0 License.