Easily Deploy Full Stack Node.js Apps on AWS EC2 | Step-by-Step Tutorial

Published: 22 January 2024
on channel: Sam Meech-Ward
248,396
7.4k

Learn to deploy a Node.js or Bun app connected to a PostgreSQL or MySQL database on AWS EC2 Ubuntu Instance. This video covers the setup of a continuous background run for the app using SystemD, and setting up a reverse proxy with Caddy for handling HTTP requests and SSL certificates. Finally, I show how to configure a custom domain with AWS Route 53 for easy access and SSL security.

🔗 A complete course on AWS and Cloud Computing:
https://cloudcourse.dev/

Chapters:
0:00​ Setup EC2
3:10 Connect using SSH
4:55 Update Ubuntu
6:06 Install Node/bun
7:26 rsync code to server
10:25 Run Node.js App
12:40 Modify Security Group
14:18 Install Postgres/MySQL
17:47 systemd
22:56 Caddy server/reverse proxy
25:35 DNS & SSL
28:09 Summary

Help support me make more videos: https://ko-fi.com/meechward

🔗 Code Snippets: https://www.sammeechward.com/deployin...


🔗Moar Links
My Website: https://www.sammeechward.com
Instagram:   / meech_ward  
TikTok:   / meech.s.ward  
X:   / meech_ward  
Threads: https://www.threads.net/@meech_ward
Github: https://github.com/orgs/meech-ward


On this page of the site you can watch the video online Easily Deploy Full Stack Node.js Apps on AWS EC2 | Step-by-Step Tutorial with a duration of 29 minute 00 second in good quality, which was uploaded by the user Sam Meech-Ward 22 January 2024, share the link with friends and acquaintances, this video has already been watched 248,396 times on youtube and it was liked by 7.4 thousand viewers. Enjoy your viewing!