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.