Easily Deploy Full Stack Node.js Apps on AWS EC2 | Step-by-Step Tutorial
Sam Meech-Ward Sam Meech-Ward
73.3K subscribers
36,665 views
0

 Published On Jan 22, 2024

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

show more

Share/Embed