Custom Domains (5) - Serverless Node.js - AWS Lambda Complete Guide

Published: 13 April 2021
on channel: Dubé Academy
727
9

Chances are you want to connect a custom domain to your backend services. I personally like to go with the format of api.my-domain.com. This process sounds easy, but is actually not that trivial. I will walk you through the necessary steps to connect a custom domain to your deployed server.

AWS Lambda offers you a way not to worry about server infrastructure any more. You simply upload your code and they handle the rest. This is called serverless compute, which brings Edge optimization out of the box. That means that your traffic is being served from the nearest geographic (edge) location. In my opinion, this is a great way to build fast and reliable backend infrastructures and this might as well be my go-to architecture moving forward!

As a nice bonus, AWS Lambda comes with auto-scaling and you only pay for the traffic that you receive. There is no stale server running at all times. This comes in very handy for test or staging environments or even for production servers that do not have a lot of traffic (yet, hopefully). All while still delivering amazing performance.

In this video series, we will go through the whole process of setting up a basic Node.js project with [https://github.com/vendia/serverless-...](https://github.com/vendia/serverless-..., adjusting their starter template, creating multiple environments, connecting custom domains as well as setting up automatic Deployments with GitHub Actions!

This is surely quite a lot to take in, but I'm sure it's worth the effort.

To get started, you will need the following:

Node.js installed
AWS Account
AWS CLI installed (I forgot to mentioned this in the Video)
GitHub Account

Check out the full repo: [https://github.com/dube-academy/serve...](https://github.com/dube-academy/serve...)

You can access the deployed versions here:

[https://serverless.academy.dube.io](https://serverless.academy.dube.io/)

[https://dev.serverless.academy.dube.io](https://dev.serverless.academy.dube.io/)

Check out Assetizr, it's the App we're currently building: [https://assetizr.com/](https://assetizr.com/)

Check out our website: [https://dube.io/](https://dube.io/)


On this page of the site you can watch the video online Custom Domains (5) - Serverless Node.js - AWS Lambda Complete Guide with a duration of hours minute second in good quality, which was uploaded by the user Dubé Academy 13 April 2021, share the link with friends and acquaintances, this video has already been watched 727 times on youtube and it was liked by 9 viewers. Enjoy your viewing!