How to deploy node.js applications #1 – spin up a server


Cheaters with Bandwidth – Cheaters with Bandwidth 10 TB bandwidth for dedicated server doesn’t support 30 people on your website, it will get way too slow. Dave


This 3-part series covers deployment of nodejs applications.
– You’ll spin up and provision a server on digital ocean
Promo Link for $10 server credits: https://www.digitalocean.com/?refcode=e9550355a3d6
– Setup automated deployment
– Then refine the deployment of your app to run as an upstart service

Prerequisite video!
– SSH Tutorial: https://www.youtube.com/watch?v=DbPDraCYju8

What we’re doing in these videos is called automated-deployment. It’s a part of devOps. DevOps is a set of tools/practices that focus on having a streamlined, heavily automated and reliable strategy development, deployment & monitoring of web applications.

We’re going to setup a way to deploy our node app with a single command.

-~-~~-~~~-~~-~-
Learning Web Development? Watch the FREE COURSE:
“Web Development for Absolute Beginners”!

-~-~~-~~~-~~-~-

LearnCode.academy

23 Comments
  • LosEagle
    Posted at 14:03h, 15 December

    Man, so excited!

  • TheHeapOverflow
    Posted at 14:17h, 15 December

    Waiting for the next part!

  • gskema
    Posted at 17:13h, 15 December

    Looks like a bargain…

  • Zenobius Jiricek
    Posted at 10:08h, 16 December

    A) docker build -t="ourapp" .
    B) docker push
    C) there is no c

  • Thomas De Bock
    Posted at 11:32h, 16 December

    Great video, as usual. Worth mentioning, students can get a free $100 promo code through the education pack of Github.

  • Christopher Stephens
    Posted at 15:31h, 22 January

    Thank you

  • Enrique Romero
    Posted at 01:31h, 01 March

    I see the "Sudo" instruction. Since Windows doesn't do "Sudo", can all this be done through Windows machine? 

  • Martin Menge
    Posted at 09:33h, 17 June

    Hi Will, I really love your tuts. I would like to point out though that Ubuntu is pronounced with the second "u" being like the "u" in "pull" or "puma." When the second u is pronounced the way you have in the past, it changes the meaning of the word from the name of the philosophy to "a man." "uBantu" sounds like "Those man" (sic) while ubuntu is akin to humanism (if directly translated from Xhosa/Zulu- not to be confused with the english word humanism which is a completely different world-view.) Thanks for the great tutorials!

  • slaction
    Posted at 19:13h, 20 June

    Totally agree with Rackspace.  Had nothing but trouble from them.

  • Pavel Evdokimov
    Posted at 09:01h, 25 July

    Hi Will! You do amazing things. I love this lessons. Watched all of this twice. Thanks alot! This is very useful. By the way, did you have some experience to use OpenShift cloud for deploy Node.js? I think it is very cool for develop on Node.js.

  • Mel Pacheco
    Posted at 13:38h, 09 December

    What theme are you using?

  • matt baker
    Posted at 08:48h, 24 February

    kinda a misleading videos more like digital ocean promotional video should be more on ground of pure ubuntu hosting and scalling process !

  • TheGamersVerge
    Posted at 06:18h, 15 April

    Just By Spending 1 Penny he Made more than $100.

  • Greg Smith
    Posted at 03:57h, 26 April

    Man, every time I go to learn something on YouTube, there you are. Your videos are top notch. Thanks for all the efforts.

  • Alejandro Ventura
    Posted at 03:38h, 29 November

    How to do this using Capistrano? Do you have any example doing that? Thanks in advance!

  • Tony
    Posted at 14:51h, 17 December

    Digitalocean is really good site for starting first nodejs app. I tried amazon aws wich was way more difficulty and more expensive to use. And I got free 10$. It's very worth

  • Takayama Pc
    Posted at 10:01h, 12 February

    ThankYou

  • Hallyson Melo
    Posted at 23:31h, 31 March

    Many thanks. This is very useful.

  • Trust Mubaiwa
    Posted at 15:21h, 04 July

    How can i nake my Docker app available for everone on my work network?

  • VipZip
    Posted at 09:37h, 13 August

    You can use https://m.do.co/c/7f7024d46fc6 for free 10$ in credits 🙂

  • Shahnewaz Rico
    Posted at 20:19h, 19 September

    can i install mysql in digitalocenan ?

  • Profesor Ludwig Ben CMV50
    Posted at 22:26h, 16 January

    Is there any free nodejs hosting?

  • Tornike Menabde
    Posted at 20:04h, 03 March

    https://m.do.co/c/2599d34a3eac digital coean 10$ credit for free