Full Node.js Deployment - NGINX, SSL With Lets Encrypt

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • In this video, we will fully deploy Node.js using PM2 and an NGINX reverse proxy, and a free SSL from Lets Encrypt to an AWS EC2 Instance.
    ► Step By Step Guide: gist.github.co...
    Prerequisites:
    ► Complete Docker Course: codedamn.com/l...
    ► [FREE] Mastering VIM: codedamn.com/l...
    ► Master NodeJS Playlist: • Master NodeJS
    ► Complete Full Stack Web Developer RoadMap 2023: • Complete Full Stack We...
    My Gears
    ► My Girlfriend: amzn.to/3WD6FRp
    ► Apple MacBook Laptop: amzn.to/3WBJgQn
    ► Anker USB Hub: amzn.to/3GhZSr0
    ► Blue Yeti Microphone: amzn.to/3YKZ9FT
    ► External 27” Monitor: amzn.to/3Vp3xaO
    ► Logitech MK295 Wireless Keyboard and Mouse: amzn.to/3DuL1bB
    ► Seagate Expansion 1TB External HDD: amzn.to/3QMm5Q8
    ► Tripod: amzn.to/3S4OwK4
    ► Ring Light: amzn.to/3YLf8DR
    Video Titles ✨
    What is Nginx?
    Nginx in Hindi
    Nginx SSL
    Nginx Lets Encrypt
    Nginx SSL Reverse Proxy
    Tags
    #nginx #nodejs #loadbalancer #aws #apigateway #cloud #nodejs #serverside #backenddeveloper #backendwebdevelopment #softwareengineer #softwaredeveloper

ความคิดเห็น • 157

  • @vaishnomatabhaktamandali2000
    @vaishnomatabhaktamandali2000 ปีที่แล้ว +18

    Guys believe me this video is amazing to deploy your node js apps in production. Happy Coding!

  • @fintechtrader4077
    @fintechtrader4077 ปีที่แล้ว +3

    thank u sir ..🤩😍
    mene pure youtube 4 din tak dudha par khi bhi complete , Nginx with ssl , proxy nhi mila😅
    apki 1 video dekha aur sab kuch mil gya ...😋🙏

  • @asfandyarkhan2787
    @asfandyarkhan2787 ปีที่แล้ว +4

    Thank you for the great video really helpful also for some people do keep in mind that HTTP request are made by browser on 80 port whereas HTTPS request are made by browser on 443 port do keep in mind to always add them in your ec2 security group.

    • @piyushgargdev
      @piyushgargdev  ปีที่แล้ว +3

      Great tip!

    • @techytricks5900
      @techytricks5900 ปีที่แล้ว

      ​@@piyushgargdevapni company m reference lga do piyushbhai

  • @arman5383
    @arman5383 17 วันที่ผ่านมา

    Thanks Piyush your video helped me a lot I was stuck in production and it really helped. Thanks once again

  • @RajeshJaswalPune
    @RajeshJaswalPune ปีที่แล้ว +3

    Awesome work Piyush in a single video!!!

  • @vishalgupta8203
    @vishalgupta8203 ปีที่แล้ว +1

    so much informative with scratch. Thanks a lot

  • @hemanthp7683
    @hemanthp7683 ปีที่แล้ว +3

    Thanks a lot, bro! Really helpful. Got to know how things work behind the scenes. Good explanation as well. Keep up the good work

  • @vishalathawale183
    @vishalathawale183 หลายเดือนก่อน

    Gajab, superb.... Keep making these kinds of videos. Thanks a lot

  • @tarushchandra8993
    @tarushchandra8993 ปีที่แล้ว +1

    bahot kuch seekha iss video me maine, Thank you piyush :)

  • @priyanshudevsin
    @priyanshudevsin 10 หลายเดือนก่อน

    Thanks Piyush, video explaination was crystal clear, i was able to deploy my first azure app using nginx and ssl cert.

  • @madnus.codesen
    @madnus.codesen 2 หลายเดือนก่อน

    The best nginx tutorial

  • @kaustubhpathak
    @kaustubhpathak ปีที่แล้ว

    Thanks you so much sir ! Great Content Finally I get https watching only ur video! No other utubers provide such quality content ! Kudos !

  • @ArunSharma-bi4ey
    @ArunSharma-bi4ey 8 หลายเดือนก่อน

    Best Video on node js deployment on ec2. Thanks for this :)

  • @shivang6307
    @shivang6307 2 หลายเดือนก่อน

    Very Informational video in very simple language. I love it. :)

  • @HD_Movies_World_Abhi
    @HD_Movies_World_Abhi 11 หลายเดือนก่อน

    One of the best video on internet please continue the series.❤

  • @kiranbakale8207
    @kiranbakale8207 2 หลายเดือนก่อน

    superb Piyush, keep up the good work

  • @prajjawalpandit2106
    @prajjawalpandit2106 7 หลายเดือนก่อน

    It was a great help, things in the video are very clear and helpful.

  • @ak47gamingyt98
    @ak47gamingyt98 10 หลายเดือนก่อน

    Thanks a lot, bro! Really helpful. to the point, propper easy.

  • @rajeshjallu125
    @rajeshjallu125 หลายเดือนก่อน

    Nice content bro... Useful

  • @manjunathreddy5966
    @manjunathreddy5966 9 หลายเดือนก่อน

    You may be enjoying your weekend Piyush. I am enjoying more by Binge Watching your content on Node.js. Awesome man 🎉🙏

  • @nomanriaz9722
    @nomanriaz9722 2 หลายเดือนก่อน

    very good video. Learned a lot from it.

  • @someshsahu4638
    @someshsahu4638 หลายเดือนก่อน +1

    nice explanation thank you so much

  • @taher786...
    @taher786... 10 หลายเดือนก่อน

    Such a great video man. Thanks a lot.

  • @rudrapratap3303
    @rudrapratap3303 ปีที่แล้ว

    As usual, great content! Thanks for the video.

  • @azzadaamir7429
    @azzadaamir7429 ปีที่แล้ว

    thanks a lot, made my life easy with aws

  • @rajatagrawal1999
    @rajatagrawal1999 ปีที่แล้ว

    Thanks for this video piyush. It's a gem.

  • @explore_coding
    @explore_coding ปีที่แล้ว +1

    Great video bhaiya 🙏

  • @Atanubasu21
    @Atanubasu21 10 หลายเดือนก่อน

    Great explanation and very well made video. Just a quick FYI - Windows also comes with SSH through powershell.

  • @PRADEEPKUMARYADAV-oj4uc
    @PRADEEPKUMARYADAV-oj4uc 8 หลายเดือนก่อน

    Thanks a lot, bro! Really helpful .

  • @mohamadirshadalam
    @mohamadirshadalam 7 หลายเดือนก่อน

    awesome work Piyush

  • @exploreheights9153
    @exploreheights9153 8 หลายเดือนก่อน

    Thanks alot for the guide. Fr!!!

  • @pjj7466
    @pjj7466 ปีที่แล้ว

    Wonder bhai. God bless you.

  • @Hemantdeveloper
    @Hemantdeveloper ปีที่แล้ว

    Bro i notice welcome baak ❤❤ 0:19 most of videos 😊😊😊

  • @itsmrani
    @itsmrani 5 หลายเดือนก่อน

    best video on internet

  • @weforyouweb1165
    @weforyouweb1165 ปีที่แล้ว +1

    Wow very informative video

  • @sagar72029
    @sagar72029 ปีที่แล้ว

    Best video ......🎉🎉

  • @ProgrammingTipsNTricksTelugu
    @ProgrammingTipsNTricksTelugu 5 หลายเดือนก่อน

    thanks for the amazing content dude

  • @NadeemJaveid-i9n
    @NadeemJaveid-i9n ปีที่แล้ว

    bro thank you so much you're amazing thanks to helping beginners

  • @omjavir07
    @omjavir07 5 หลายเดือนก่อน +1

    Perfect

  • @dhruvilgondaliya0302
    @dhruvilgondaliya0302 ปีที่แล้ว

    Thank you for the great video really helpful.Good explanation. 😊
    Keep up the good work👍🙏

  • @19_meghavatichaudhari92
    @19_meghavatichaudhari92 ปีที่แล้ว

    Thank you for such amazing content

  • @bayarsurenbayaraa-t3p
    @bayarsurenbayaraa-t3p ปีที่แล้ว

    super tutorial best man thankyou

  • @dillipkumarsahu9306
    @dillipkumarsahu9306 ปีที่แล้ว

    Greate content Bro. Thanks for sharing these type of content❤. It helps me lot

  • @lokeshmalviya1455
    @lokeshmalviya1455 11 หลายเดือนก่อน

    SSH is also available by default in windows 10 or greater operating system!

  • @aluexpress987
    @aluexpress987 6 หลายเดือนก่อน

    Very easy explanation. Is there any free alternative of Aws that does not need credit card?.

    • @mohammedminhaj250
      @mohammedminhaj250 5 หลายเดือนก่อน

      i also need that🙁,did you got any?

    • @aluexpress987
      @aluexpress987 5 หลายเดือนก่อน

      @@mohammedminhaj250 still not, but i use free backend hosting " Railway "

    • @nishantgupta3538
      @nishantgupta3538 5 หลายเดือนก่อน

      render is also good

    • @aluexpress987
      @aluexpress987 5 หลายเดือนก่อน

      I got a great alternative that is ...

  • @patshalaaa
    @patshalaaa 5 หลายเดือนก่อน

    Your tutorials are awesome. is there any video of you which deploys a project using AWS serverless ? I need to deploy my project made of HTML, Handlebars, Node, mongodb, expressjs

    • @niranjanbhat3949
      @niranjanbhat3949 5 หลายเดือนก่อน

      U can use render to reply node js server

  • @ravindrahajare1710
    @ravindrahajare1710 2 หลายเดือนก่อน

    best on internet

  • @brosgaming108
    @brosgaming108 ปีที่แล้ว +2

    First view🤗❤️

  • @pulkitjain5159
    @pulkitjain5159 ปีที่แล้ว +1

    wherebto learn all these advanced concepts , where do you learn from ?

  • @AKHAND_BHARAT1238
    @AKHAND_BHARAT1238 7 หลายเดือนก่อน

    😮😮😮😮so simple 🎉

  • @MyMrAbhishek
    @MyMrAbhishek 7 หลายเดือนก่อน

    Best ever !!!!!

  • @shekhar5051
    @shekhar5051 ปีที่แล้ว

    In this ongoing nodejs series please add a video on how to send emails in nodejs using node-mailer or any aws SES service ! Please 🙏
    Anyways! good work keep going ☺️

  • @mansoormohammadali7001
    @mansoormohammadali7001 ปีที่แล้ว

    thanks alot piyush

  • @sanjayms00
    @sanjayms00 ปีที่แล้ว

    you are really my hero

  • @yubrajkhatri3519
    @yubrajkhatri3519 7 หลายเดือนก่อน

    Yesss finally api host karlya

  • @RajeshMudi
    @RajeshMudi 2 หลายเดือนก่อน

    23:49 backspace not working

  • @araj6920
    @araj6920 11 หลายเดือนก่อน +10

    Bhaiya you left some security concepts like how to not allow root login through ssh, how to harden openssh etc. Please guide properly to the beginners. Those who have done deployment to cloud they know it very well what i am talking about.

    • @akuma_168
      @akuma_168 8 หลายเดือนก่อน

      Where I can learn all these concepts?

    • @araj6920
      @araj6920 8 หลายเดือนก่อน

      @@akuma_168 search for learn cloud computing on digital ocean. It is a series which may overwhelming on first search but will take just 2 to 3 days to learn it. Give it a try.

    • @srijangiri7134
      @srijangiri7134 5 หลายเดือนก่อน

      So where I can learn all the things

    • @araj6920
      @araj6920 5 หลายเดือนก่อน

      On digitalocean articles. Just search for it.

  • @vinaykumarpandey1006
    @vinaykumarpandey1006 7 หลายเดือนก่อน

    very helpful , please make it on yaml also on K8s

  • @kartikeybhardwaj3987
    @kartikeybhardwaj3987 8 หลายเดือนก่อน

    you can use git bash if you are using windows for shell connect

  • @AlaminSarker-y2b
    @AlaminSarker-y2b ปีที่แล้ว

    Thank you So much.

  • @manjunathreddy5966
    @manjunathreddy5966 9 หลายเดือนก่อน +1

    BTW, guys who are in windows, can still ssh if you are in Windows 10 and above by using powershell

  • @pavankumardasari6606
    @pavankumardasari6606 ปีที่แล้ว +1

    I am facing one issue, So domain is alredy there in GoDaddy. And website is live now we need to add a geoserver for that website. So i have configured geoserver on ec2 instance and it is up and running. Now i want to use this server in main application which is in live.
    Now ec2 is http i want it to make https. So alredy domain is there for main website.
    Now i want to make https for ec2 instance.
    If we are using certificate manager then what domain i have give because it is already domain is there for main website.
    I am confused

  • @LaxmanKumar-g8t8o
    @LaxmanKumar-g8t8o 9 หลายเดือนก่อน

    Thank you 😊

  • @tariqueahmad5515
    @tariqueahmad5515 ปีที่แล้ว

    thank you so much!!

  • @AjitYadav-q6g2d
    @AjitYadav-q6g2d 5 วันที่ผ่านมา

    sir the free domain website not working

  • @maheshmhaske4421
    @maheshmhaske4421 ปีที่แล้ว +1

    Sir what if i want to deploy another node project with different domain?

  • @DeepanshuMalviyaPhysics
    @DeepanshuMalviyaPhysics ปีที่แล้ว

    providing good exposure 😇

  • @ritikparikh7258
    @ritikparikh7258 11 หลายเดือนก่อน

    Can you make the video on sub domain how to assign to the ngnix

  • @msahu2595
    @msahu2595 10 หลายเดือนก่อน

    Bhai please make video on this topic “secure way to deploy a nodejs app without exposing source code”

  • @avinashgupta2614
    @avinashgupta2614 7 หลายเดือนก่อน

    bhaiya freenom is not working any alternate ???

  • @waqarbhatti1498
    @waqarbhatti1498 8 หลายเดือนก่อน

    The name field in the Domain DNS setting, can't be empty on my domain.
    What should I do?

  • @abhirocks1211
    @abhirocks1211 7 หลายเดือนก่อน

    Can you please make a video of deploying Angular front end on Nginx in production in AWS using dist

  • @developeraccount438
    @developeraccount438 5 หลายเดือนก่อน

    can we use Cloudflare for SSL?

  • @GauravIshank
    @GauravIshank ปีที่แล้ว

    Very helpful

  • @psawant27feb1990
    @psawant27feb1990 10 หลายเดือนก่อน

    Wonderful session, most of things are clear.thank You. But after implementation one issue I observed,after loading home page if I do performance any activity on menu using mouse page automatically get logout.
    Can you help me int

  • @priyankagupta1250
    @priyankagupta1250 6 หลายเดือนก่อน

    Thanks a lot

  • @tanveerahmed9639
    @tanveerahmed9639 9 หลายเดือนก่อน

    mongodb is not connected ? any help would be apprecited

  • @albinjoseph2.0
    @albinjoseph2.0 ปีที่แล้ว

    hello , in the last part you deleted the elastic ip address right ,? inorder to avoid charges. So if we want our site to be live and workng , we should nt delete that right ?

  • @PriyankaVShahasane
    @PriyankaVShahasane 6 หลายเดือนก่อน

    Thank you

  • @satyapriyobiswas7900
    @satyapriyobiswas7900 5 หลายเดือนก่อน

    ssh wala part windows wale gitbash mai vi kar sakte hai .

  • @subhadc
    @subhadc 9 หลายเดือนก่อน

    Bro , how can i deploy multiple projects on same instance. i am facing issues at nginx setup for multiple projects under same domain.

  • @ujjawalsherpa1446
    @ujjawalsherpa1446 8 หลายเดือนก่อน

    Piyush sir ye apne ghithub pe dhal du kya?

  • @Dibyendu-dev
    @Dibyendu-dev ปีที่แล้ว

    great video

  • @Danbo_DN
    @Danbo_DN 10 หลายเดือนก่อน

    13:50 Bro, Your MongoDB wasn’t connected because you forgot to use (") or (') while running export command.

  • @RanaFaraz-si8lt
    @RanaFaraz-si8lt 10 หลายเดือนก่อน

    can u do this same with docker compose and github actions?

  • @codewar6708
    @codewar6708 ปีที่แล้ว +1

    for setting env in Linux use====> export key="value", while you are using set value of key without quotes. so that's by env not set.

  • @avijitsamanta8784
    @avijitsamanta8784 ปีที่แล้ว

    plz make tutorial how to deploy react app in aws like this

  • @naisuuh8566
    @naisuuh8566 3 หลายเดือนก่อน

    where did that mongodb came from? lol

  • @MamtaG-g2p
    @MamtaG-g2p 7 หลายเดือนก่อน

    can we deploy node.js application without any operating system

  • @professorparadox9826
    @professorparadox9826 8 หลายเดือนก่อน

    hello bro jb mai cert bot se ssl cert install krta hu tb meta website band ho jata hai

  • @pjj7466
    @pjj7466 ปีที่แล้ว

    Bro proxy_pass will work only for localhost?? Within the same server?
    What if I hosted my application on different servers and I want to do the same thing
    Will it work if I give direct ip address with port in proxypass?

  • @ujjwaljamuar4265
    @ujjwaljamuar4265 ปีที่แล้ว

    superb

  • @ViolentAssassin
    @ViolentAssassin ปีที่แล้ว

    i have deployed and it is http is there any option to get ssl certificate without buying domain name

  • @jigneshkumar5698
    @jigneshkumar5698 ปีที่แล้ว

    What are the billing I can expect with this set up for my site after free tier and what are the best option to handle traffic around 50k?

  • @Hemarawal122
    @Hemarawal122 ปีที่แล้ว

    How to create environment variable? Mongodb ko kaise export kre?

  • @justvebsthings
    @justvebsthings 5 หลายเดือนก่อน

    i want same process for window Ec2 machine , can you help me

  • @vivekkv1484
    @vivekkv1484 ปีที่แล้ว

    How to resolve the below error when running pm2 start index.js or any other pm2 command
    [PM2] spawning PM2 daemon with pm2_home=/home/ubuntu/.pm2

  • @tarushchandra8993
    @tarushchandra8993 ปีที่แล้ว +1

    is there any free alternative to aws where I can deploy my portfolio apps without worrying about actually being charged?

  • @awangandas1700
    @awangandas1700 ปีที่แล้ว

    Can i reflect this project in my resume?

  • @atharvard
    @atharvard ปีที่แล้ว

    Hello, On my local machine css is working properly but after hosting on server css is not loading, Please help to debug