Use the static-website.json
template to create the infrastructure for hosting a static website.
- S3: object storage
- CloudFront: CDN
- Route53: DNS names
- Download the template static-website.json
- Open AWS CloudFormation within the Management Console: https://console.aws.amazon.com/cloudformation.
- Create a new stack by clicking on the Create Stack button.
- Select Upload a template to Amazon S3 and upload the template
static-website.json
. - Click Next to proceed with the next step of the wizard.
- Specify a name and all parameters for the stack.
- Click Next to proceed with the next step of the wizard.
- Click Next to skip the Options step of the wizard.
- Check the I acknowledge that this template might cause AWS CloudFormation to create IAM resources. checkbox.
- Click Create to start the creation of the stack.
- Wait until the stack reaches the state CREATE_COMPLETE
Do you need help?