Deploying Static Web App to AWS
By: Serverless Guru
Author: Ryan Jones
Setting up a basic website can be time consuming. This template aims to cut that time down dramatically.
Serverless makes it easy by leveraging a plugin called, Serverless Finch. Serverless Finch allows you to point the
distrubutionFolder property to where you production files live (e.g.
After you clone the repo and install the dependencies you can simply run
npm run deploy <stage> <region> and you will have a website up.
npm run deploy <stage> <region>(Ex:
npm run deploy dev us-west-1or
npm run deploy prod us-west-2)
npm run remove <stage> <region>(Ex:
npm run remove dev us-west-1or
npm run remove prod us-west-2)
Once you have a basic website deploying using this template then you can expand any direction you choose. For instance, why not build an Angular app.
Building/Deploying an Angular app is easy with the
Angular CLI and this template.
Building/Deploying a React app is easy with the
create-react-app CLI and this template.
Basic Website Example:
Building/Deploying a basic website is easy with this template. All you need to do is add your own
js. Into the
/public directory and everything will be handled for you.
Call to action
If you like this template and want to see more content like this. Please give us a follow or shoutout on Twitter, Medium, Facebook, Instagram, or check out our courses at training.serverlessguru.com.
Founder & Lead Cloud Developer at Serverless Guru email@example.com