You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ To deploy the solution, you use [AWS CloudFormation](https://aws.amazon.com/clou
55
55
56
56
> **Note:** You must have IAM permissions to launch CloudFormation templates that create IAM roles, and to create all the AWS resources in the solution. Also, you are responsible for the cost of the AWS services used while running this solution. For more information about costs, see the pricing pages for each AWS service.
57
57
58
+
The solution also involves setting the
58
59
### Use the CloudFormation console
59
60
60
61
**To deploy the solution using the CloudFormation console**
@@ -89,6 +90,39 @@ To download the CloudFormation template to deploy on your own, for example by [u
If you would like to customise the project and upload your own static website content you can do so by following these steps
96
+
97
+
1. Ensure that you have npm installed. See instructions [here](https://www.npmjs.com/get-npm)
98
+
2. Clone or download the project at [https://github.com/awslabs/aws-cloudformation-templates](https://github.com/awslabs/aws-cloudformation-templates)
99
+
3. Package a build artefact by running the following at the command line
100
+
101
+
```shell
102
+
make package-function
103
+
```
104
+
4. Copy your site content to the projects **www** folder
105
+
4. If you don't have one already, create an S3 bucket to store the CloudFormation artifacts with `aws s3 mb s3://<bucket name>`
106
+
107
+
5. Package the CloudFormation template. The provided template uses [the AWS Serverless Application Model](https://aws.amazon.com/about-aws/whats-new/2016/11/introducing-the-aws-serverless-application-model/) so must be transformed before you can deploy it.
108
+
109
+
```shell
110
+
aws cloudformation package \
111
+
--template-file templates/main.yaml \
112
+
--s3-bucket <your bucket name here> \
113
+
--output-template-file packaged.template
114
+
```
115
+
116
+
6. Deploy the packaged CloudFormation template to a CloudFormation stack:
0 commit comments