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

Published: 22 January 2024
on channel: Sam Meech-Ward
157,362
5k

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.

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


Watch video Easily Deploy Full Stack Node.js Apps on AWS EC2 | Step-by-Step Tutorial online without registration, duration hours minute second in high quality. This video was added by user Sam Meech-Ward 22 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 157,362 once and liked it 5 thousand people.