No video

Installing Node.js, NGINX, and PM2 on a Google Cloud Platform VM Instance

  Рет қаралды 5,583

Adam Thomas

Adam Thomas

3 жыл бұрын

This video walks through the process of installing Node.js, NGINX, and PM2 on a Google Cloud Platform VM Instance.
Full Tutorial: codeadam.ca/learning/gcp-node...
Instructions: codeadam.ca/server-setup/list...
Google Cloud: cloud.google.com/
Node.js: nodejs.org/en/
NGINX: www.nginx.com/
PM2: pm2.keymetrics.io/
---
Website: codeadam.ca/
Twitter: / codeadamca
Instagram: / codeadamca
GitHub: github.com/codeadamca
Music: Dreams from Bensound.com

Пікірлер: 13
@illusioniste00
@illusioniste00 2 жыл бұрын
It was more than perfect! Never been happier, many thanks!!
@codeadamca
@codeadamca 2 жыл бұрын
Glad it helped!
@codepunk77
@codepunk77 5 ай бұрын
You help me alot! thanks
@iyashiyas
@iyashiyas 3 жыл бұрын
Good Presentation.
@adityaharist
@adityaharist Жыл бұрын
ur video very helpfull
@andriisukhariev
@andriisukhariev 3 жыл бұрын
thanks
@Nueltek
@Nueltek Жыл бұрын
Awesome tutorial Adam. Is there a way to link a custom domain to the webapp after setting up with google cloud instance?
@dailymeow3283
@dailymeow3283 3 жыл бұрын
Hey Adam, thank you for the video, i have an express node js project in vscode, so i will transfer all its files using FileZilla, after that should i install all dependencies on the cloud ? If i want to modify the code after deploying, should i do it on my desktop and then transfer the modified file by filezilla to the cloud to replace the old one, or there's a way to do some coding on the deployed files
@codeadamca
@codeadamca 3 жыл бұрын
Your first point is correct. Transfer the files to the right directory and then use the command line to install dependencies. If you want to make changes you can make them locally and then re-upload the files to your cloud server. Once you re-upload the files make sure you stop and re-start the app. You could also edit them on the server using the command line and something like Vim. Or using a code editor that edits the files directly on the cloud, I like CodeAnywhere: codeanywhere.com/
@dailymeow3283
@dailymeow3283 3 жыл бұрын
@@codeadamca thank you Adam, that would help,,, for .env file and .gitignore, node-modules i also transfered them, should i delete them from the cloud ?, .env has api keys and so
@codeadamca
@codeadamca 3 жыл бұрын
You need the .env and the node modules folder on the cloud server. You don't need the .gitignore.
@jakubgrzadzielski799
@jakubgrzadzielski799 2 жыл бұрын
At 9:16 after restarting nginx, I have still nginx running instead of "Hello world" app :(
@codeadamca
@codeadamca 2 жыл бұрын
I'm not a very skilled server technician, it's something I've learned on a need to know basis. Getting this setup to work the first time took me days. Now that I have the process down, if something isn't working I find it easiest to delete the server and start again. A more skilled server technician might have some better methods of resolving something like this.
Deploying NodeJS apps to a Google Cloud VM
29:11
Inquiryum
Рет қаралды 18 М.
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 236 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 18 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 66 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 11 МЛН
How to Host Multiple Node Apps with nginx and pm2
8:20
Code With Bubb
Рет қаралды 11 М.
Google Cloud Platform (GCP) vs AWS | Compute Services | 1
9:01
in28minutes - Get Cloud Certified
Рет қаралды 3,2 М.
Full Node.js Deployment - NGINX, SSL With Lets Encrypt
23:48
Traversy Media
Рет қаралды 403 М.
Deploying a Simple Node.js Application on Google Compute Engine
30:01
Deploy Simple web application on GCP VM
10:16
TechTrapture
Рет қаралды 23 М.
Using GitHub Actions to Deploy My Website To Google Cloud
11:49
Cody Engel
Рет қаралды 13 М.
Deploying a NodeJS application to App Engine using Cloud Build
5:59
Kavitha Suresh Kumar
Рет қаралды 894
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 527 М.
Setting up a LAMP Stack from Scratch using Docker
28:24
Adam Thomas
Рет қаралды 25 М.
Deploying a NodeJS App - Episode 1.1 | Google Cloud ~ App Engine
24:38