How to Deploy and Secure Your MERN App on Linode (NGINX, PM2)

  Рет қаралды 7,437

Akamai Developer

Akamai Developer

Күн бұрын

In this video, @codinginflow will show you how to deploy and secure a NodeJS/React application on a Linode server and connect it to a real domain. We will use tools such as NGINX, PM2, LetsEncrypt, and more.
The commands from this video are available for copy-pasting here:
gist.github.com/codinginflow/...
Full MERN beginner course this tutorial is based on:
• Complete MERN Beginner...
Chapters:
0:00 - Intro & resources
0:52 - Linode server & security setup
23:15 - Deploy + run MERN app with PM2 + NGINX
48:00 - Connect domain + set up SSL with Certbot
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on creating a MERN stack → www.linode.com/docs/guides/ho...
Learn more about our MERN One-Click app → www.linode.com/marketplace/ap...
Subscribe to get notified of new episodes as they come out → kzbin.info?sub_co...
#Linode #MERN #webdevelopment
Product: Linode, MERN, NGINX; @codinginflow

Пікірлер: 23
@codinginflow
@codinginflow Жыл бұрын
Thank you for having me on your channel!
@AkamaiDeveloper
@AkamaiDeveloper Жыл бұрын
Looking forward to collaborating with you in the future!
@tuku_mann
@tuku_mann 6 ай бұрын
Thank you man! That what I was trying to do for couple of years, it helps a lot!
@fahrican9719
@fahrican9719 Жыл бұрын
The "Linode server & security setup" part is really good!
@codinginflow
@codinginflow Жыл бұрын
Thank you very much 😊 Glad you like it
@kaliajay7280
@kaliajay7280 Жыл бұрын
Very useful tutorial in a simple language so that everyone can secure their websites. Thanks a lot
@codinginflow
@codinginflow Жыл бұрын
Glad you liked it!
@sooshil
@sooshil 8 ай бұрын
Everything was good until 'npm run build' in frontend folder. Then got error FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory I have the exact same code and also the same setup in linode. Thank you so much Florian. You were there for me to teach Android and now teaching me Full Stack. :) Many thanks.
@kaiiemsawat2415
@kaiiemsawat2415 8 ай бұрын
Got that issue. What I did was edit .gitignore to allow me to push build directory to git then 'npm run build' in local and push to github. With that, I skip 'npm run build' on the server.
@teesl4240
@teesl4240 4 ай бұрын
Thanks for your tutorial, I managed to deploy MERN app to Linode. I want to ask how to deploy another MERN app to the same Linode server?
@olga_c
@olga_c Жыл бұрын
Hi! Thank you for the detailed tutorial. I have some questions if you don't mind. 1. How do we maintain the app(push changes to the deployment) 2. What if we had next.js frontend and it was more complex, should we deploy it separately from the api? Do you guys have any strategy instructions for slightly larger apps that have to be maintained (like blog, small e-commerce)? Thanks again.
@dmytro.turskyi
@dmytro.turskyi 7 ай бұрын
1. It must be maintained by CI/CD. It is a next step and this topic is not covered here.
@abdu5822
@abdu5822 Жыл бұрын
how can we get into the server if we loose our laptop/ssh? since we disabled password log in
@AkamaiDeveloper
@AkamaiDeveloper Жыл бұрын
You can use Lish, the Linode Shell. It's an out-of-band connection that allows you access to the Linode to address any connectivity issues: www.linode.com/docs/guides/using-the-lish-console/
@MCStarYT
@MCStarYT Жыл бұрын
I know this dude!
@codinginflow
@codinginflow Жыл бұрын
Me too 👌
@inteliconn995
@inteliconn995 Жыл бұрын
Thanks but adjust the screen resolution please (the fonts are too small).
@codinginflow
@codinginflow Жыл бұрын
Thanks for pointing that out! I zoomed in a little bit, but next time I'll increase font more!
@AjayKumar-id7mb
@AjayKumar-id7mb Жыл бұрын
@@codinginflow When zoom in text are not clear
@FredWheezy
@FredWheezy 6 ай бұрын
Linode is asking for payment details
@JasonsLabVideos
@JasonsLabVideos Жыл бұрын
No linode firewall rules ?
@codinginflow
@codinginflow Жыл бұрын
We use ufw (uncomplicated firewall)
@JasonsLabVideos
@JasonsLabVideos Жыл бұрын
@@codinginflow interesting.
Deploying a Django App to a Linux Server | Django App from Scratch Pt6
19:44
How To Deploy NodeJS API (Linode)
55:56
The Full Stack Junkie
Рет қаралды 18 М.
ISSEI funny story 😂😂😂Strange World 🌏 Green
00:27
ISSEI / いっせい
Рет қаралды 87 МЛН
What Happens If You Trap Smoke In a Ball?
00:58
A4
Рет қаралды 17 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 9 МЛН
请善待你的娃娃第二集 #naruto  #cosplay  #shorts
00:52
佐助与鸣人
Рет қаралды 24 МЛН
How to deploy a server - Node.js + MongoDB + NGiNX Tutorial
23:29
Mehul - Codedamn
Рет қаралды 29 М.
Heroku Is Dead, Here's What I Recommend
11:59
Theo - t3․gg
Рет қаралды 239 М.
Using Nuclei The Right Way
14:26
Ott3rly
Рет қаралды 1,9 М.
Deploy your website for free with Cloudflare Pages and GitHub!
13:47
Deploy MERN app to Azure App Service | Step-by-step tutorial
19:59
Deploy Node.js website on Heroku for Free
8:40
Raddy
Рет қаралды 123 М.
HEROKU CANCELLED - Deploy FullStack NodeJS App To Render
20:32
ZinoTrust Academy
Рет қаралды 30 М.
How To Deploy A React Application With Linode
8:29
Akamai Developer
Рет қаралды 9 М.
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 467 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 241 М.
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Рет қаралды 10 МЛН
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Рет қаралды 15 МЛН