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, duration hours minute second in high quality that is uploaded to the channel Sam Meech-Ward 22 January 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 157,362 times and liked it 5 thousand visitors.