Deploy the Frontend
Now that we have our setup working in our local environment, let’s do our first deploy and look into what we need to do to host our serverless application.
The basic setup we are going to be using will look something like this:
- Upload the assets of our app
- Use a CDN to serve out our assets
- Point our domain to the CDN distribution
- Switch to HTTPS with a SSL certificate
AWS provides quite a few services that can help us do the above. We are going to use S3 to host our assets, CloudFront to serve it, Route 53 to manage our domain, and Certificate Manager to handle our SSL certificate.
So let’s get started by first configuring our S3 bucket to upload the assets of our app.
For help and discussion
Comments on this chapterIf you liked this post, please subscribe to our newsletter, give us a star on GitHub, and follow us on Twitter.