You can use this repository in different ways depending on whether you are starting from scratch or if you have existing content and just need to deploy it.
- Fork this repository into a repository for your website, and clone that repository locally
- Put your content into the
public
directory, replacing the dummy web page with your own content - Configure your service name, content region and default stage name in
config
inpackage.json
- Optional Create a Hosted Zone in Route53 for your desired domain name or an ancestor domain (you might already have this)
- Deploy your website, either using
npm
or by calling the AWS CLI directly (see Configuration and Operation)
- Copy the
cloudformation
templates and thescripts
andconfig
inpackage.json
into your existing repository - If your content is not in a top-level
public
directory, you can modify thescript
with keydeploy:content
inpackage.json
- Configure your service name, content region and default stage name in
config
inpackage.json
- Optional Create a Hosted Zone in Route53 for your desired domain name or an ancestor domain (you might already have this); delete any existing DNS records that will conflict
- Deploy your website, either using
npm
or by calling the AWS CLI directly (see Configuration and Operation)