cloudkj / scar
- пятница, 24 мая 2019 г. в 00:18:15
JavaScript
Deploy static websites in seconds - with HTTPS, a global CDN, and custom domains.
Tired of reading outdated blog posts or combing through verbose AWS documentation just to figure out how to deploy your blog? Deploying static websites on AWS shouldn't be so scary.
SCAR is a deployment stack that make it easy for you to deploy a static website with a custom domain, SSL, and a CDN. All you need is an AWS account to get started in three simple steps:
Find the name servers from your newly created Route 53 hosted zone, then update the name server settings at your registrar.
Find and expand the details of the certificate for your domain in the AWS console, then click the "Create record in Route 53" buttons in the two prompts for validation.
That's all, folks!
Use the CloudFormation console to check the status of the stack. Once it has been created, navigate to your given domain, and you should see the SCAR welcome page. You can now upload the contents of your website directly with the S3 console, or use the AWS CLI for programmatic control.
SCAR is a deployment stack for static websites running entirely on AWS, using S3,
CloudFront, Amazon Certificate Manager, and Route 53. For a given
domain such as example.com, the default SCAR stack will create the following:
www.example.com) and another for redirecting requests for the apex domain
(example.com) to the www subdomain.example.com and *.example.comA record for each CloudFront distribution.The behavior for the default SCAR stack is to redirect all requests for the apex
domain to the www subdomain, and to redirect all http requests to https.
All content will be stored in and served out of the www S3 bucket.
Additional stacks with slight variations from the default stack are also available:
TODO:
Copyright © 2019