Your video was very well done. I was able to deploy a nodejs webapp on my first attempt. Your 30 minute video took me about 7 hours to complete and I was filled with dread when you said at the end that you had a short 7 minute video explaining how to buy a domain name. I knew that was gonna take me 30 mins to an hour. But time is not an issue, understanding is, when it's your first time. I invested the time to thoroughly understand your instructions and deploy the app. It went off well and my app is up now and ready to be tested by users. Well done!!!!
Like so many before me, THIS VIDEO MADE IT ALL HAPPEN! I had a slightly different stack going into it but this video covered key points I needed to deploy my first application through AWS. Thank you Sam!
Got my first "Full Stack" data analysis app up with this video. You helped connect a lot of dots that were not connected by amazons documentation. Thanks!
@@SamMeechWard It’s been 2 months and i’m starting a company in silicon valley with Azure as a platform you inspired me and we are getting our first investment august 1st and it’s going so well
Woahhh...Woahhhh. What a great tutorial sir!. I was thinking to learn how to host a server in cloud and what is ssh what is reverse proxy how to map domain name to our server...like man i got all the answers in a single 30min video. Thank you so much for producing these high quality videos and keep on doing em! Hats-off.
Really useful and impressive content - I used it to setup an EC2 instance for the first time ever, get my NodeJS Express GraphQL server installed and connecting to a PostGres DB (also on AWS - so skipped the part about installing locally) get the systemctl stuff done, and Paddy for SSL only connection to my server. Took me a few hours, and rewinds to get everything done, but all working fine now! Thank you VERY much!!!!
I've been looking for straight forward instructions for months. Thanks to you My site is hosted. Still need to figure out how to install and configure a MongDB database
I love watching people setup servers from scratch like this. Can i actually do it? Hell naw😂. Would I do it if i could? Maybe, so I'm saving this one for future reference. Awesome video
this might be a dumb question. instead of copying your files from the local machine to the remote machine. you can install git on ec2 and pull from repo ?
Awesome job! thank you. What about MongoDB and nginx, I hope you explain that someday. Another question, please: How can I get the client's IP (remote ip)?
Thank you. That's a bit more of a challenge because terraform isn't really used for single instance configuration. You would end up using something like packer to create an ec2 image of the node app, then use terraform to create a new instance based on the image. Terraform is used for immutable infrastructure, which this is not. However, I do have a series of videos on how to use terraform and packer for this kind of stuff, but you'd end up with many ec2 instances instead of just one.
Great video man! I just found your channel and saw 2 and were amazing. Will try and replicate that with a local project I have. Hopefully you will do some terraform and ansible too, if you haven’t done already 😅
top notch content Sam! Would you care to explain what you meant by 'I have a migration system on my app". Why did you have to run npm run migrate? Thanks!
Awesome job! Would be great to see how to move from this infrastructure to one more scalable, with a dedicated RDS instance, a load balancer and maybe different ec2 instances for different microservices, maybe using terraform. But as you said this is foundational and it's very well done!
can anyone explain to me how the server file and the react app both run? I am having a lot of troulble starting my vite app in the front end directory and the server from the systemD command?
I am assuming that you are having your app.js using server.js files , so that eventually it is able to connect to it how it connect on local computer , because you could see that it is still now being running on local host 3000 so that would be able to access the 5000 port server running on it .
Wow this is good. I have questions and suggestion. Does that systemd replaces the use of pm2? Why didn't you use pm2 Suggestion: Moving forward with this with setting up basic testing and CI CD.
Note on 19:18 that if you installed Node.js differently, like via the NVM Node Version Manager, you have to set different ExecStart path in the .service file - or else you'll receive an error "Active: failed [...] Process: .... ExecStart=/usr/bin/node index.js (code=exited, status=203/EXEC)" when doing "sudo systemctl status myapp.service".
I use a few different pieces of software, but my main video editing is done in Camtasia. It's pretty easy to use and all the basics are covered in their intro 45 minute video: th-cam.com/video/AE1Hfy-yw4s/w-d-xo.html
With one server, you wold always experience some amount of downtime. It could be minimal though, just the amount of time it takes to restart caddy, so a few milliseconds. The only way I know of to get absolute 0 downtime is to use multiple ec2 instances with a load balancer, which is much more complex
quick question, since you have a git repository in the local machine, why did you pull that one inside the app folder instead of transfering the files via terminal?
Finally a video from A to Z... Most video of AWS tutorial I found start from Y to Z...
true!!
Your video was very well done. I was able to deploy a nodejs webapp on my first attempt. Your 30 minute video took me about 7 hours to complete and I was filled with dread when you said at the end that you had a short 7 minute video explaining how to buy a domain name. I knew that was gonna take me 30 mins to an hour. But time is not an issue, understanding is, when it's your first time. I invested the time to thoroughly understand your instructions and deploy the app. It went off well and my app is up now and ready to be tested by users. Well done!!!!
Your comment actually motivated me to spend more time to understand everything in depth. I have also spent 10+ hours on this. Thank You.
Stumbled upon the video, and watched the whole thing - at normal speed and rewinding along the way. Great material
Ive been waiting all my life to understand what my boss had me do my computer via Google cloud run 😅. This is a hrll of a revision. thanks man.
Man, this is the greatest tutorial video that I've ever seen!
Thank you 🤗
this is exactly what I was looking for. After taking notes I am excited to practice this many times to ensure foundational knowledge. Awesome stuff!!
Like so many before me, THIS VIDEO MADE IT ALL HAPPEN! I had a slightly different stack going into it but this video covered key points I needed to deploy my first application through AWS. Thank you Sam!
Got my first "Full Stack" data analysis app up with this video. You helped connect a lot of dots that were not connected by amazons documentation. Thanks!
Glad it helped 🤗
@@SamMeechWard It’s been 2 months and i’m starting a company in silicon valley with Azure as a platform you inspired me and we are getting our first investment august 1st and it’s going so well
Thank yo so much for this tutorial. This is the only working tutorial in the internet and explains everything so good and it only takes 28 minutes
Woahhh...Woahhhh. What a great tutorial sir!. I was thinking to learn how to host a server in cloud and what is ssh what is reverse proxy how to map domain name to our server...like man i got all the answers in a single 30min video. Thank you so much for producing these high quality videos and keep on doing em! Hats-off.
bro doesn't waste a second! quality tutorial
Really useful and impressive content - I used it to setup an EC2 instance for the first time ever, get my NodeJS Express GraphQL server installed and connecting to a PostGres DB (also on AWS - so skipped the part about installing locally) get the systemctl stuff done, and Paddy for SSL only connection to my server. Took me a few hours, and rewinds to get everything done, but all working fine now!
Thank you VERY much!!!!
Just straight to the point, no nonsense. Best video ever, that covers everything.
Your videos are always straightforward and I absolutely love them 🥰
You are amazing. The most detailed explanation I have ever seen. Thank you so much.
Hands the best video on AWS on the internet.
Your way you explain things makes you one of the best tutor i know, Thank you so much
This is the finest tutorial I have ever seen. Thanks man!!
Thanks so much, your way of teaching makes things simpler. Waiting for more videos 💫
You always deliver an amazing TH-cam tutorial for the viewers! Your explanations are always spot on! Thank you so much!!! :)
I've been looking for straight forward instructions for months. Thanks to you My site is hosted. Still need to figure out how to install and configure a MongDB database
Thank you so much! Your video helped me setup a client webapp with ease. You teach so well! Much gratitude to you brother
Thanks man your video is very helpful for my college ✨✨, You deserve more attention 🔥🔥
Can you do a follow-up video, just covering changes required if using Bun instead of Node Js?
Great vid. looking forward for your next video on deploying the same using ecs and eks
this was incredibly helpful, got my first custom domain web app running!
this is the exact and perfect aws tutorial have been longing for thanks sam meech-ward
Thank you, you explained in a simple and understandable way!
Perfect .. pace and content are magically effective. Thanks
Great tutorial, very well explained, easy to follow and fun to watch. greeting from DR.
Man your videos are amazing and really clear. you gained a subscriber. Thanks
I love watching people setup servers from scratch like this. Can i actually do it? Hell naw😂. Would I do it if i could? Maybe, so I'm saving this one for future reference. Awesome video
Thank you so much, it was very clear and interesting. Appreciate your work
Great, great video - loved the explanation with each step too.
this might be a dumb question. instead of copying your files from the local machine to the remote machine. you can install git on ec2 and pull from repo ?
Yeah but it's too much hassle just for this video. You will have to create and delete the repo
Yes, you can
I imagine that there will be some files that won't be located on the repo you may want to copy over. For example .env files
@snakefinn but he didn't copy over the .env files using rsync either lol.
imagine u lose ur git account
Fantastic video. Thanks for the clear explanations!
Great video. I would highly recommend AWS CDK or terraform.
Awesome job! thank you. What about MongoDB and nginx, I hope you explain that someday. Another question, please: How can I get the client's IP (remote ip)?
Thanks Sam, you are genius.
Fantastic the way you explained. And i request you make a tutorial on pm2 load balancer etc... thanks
Fantastic walkthrough!
Fantastic comment!
@@SamMeechWard Fantastic Reply
is it good for production app to use Postgres installed in ec2 than RDS Postgres
great video thanks. Can you create a video about doing same with Terraform please?
Thank you. That's a bit more of a challenge because terraform isn't really used for single instance configuration. You would end up using something like packer to create an ec2 image of the node app, then use terraform to create a new instance based on the image. Terraform is used for immutable infrastructure, which this is not. However, I do have a series of videos on how to use terraform and packer for this kind of stuff, but you'd end up with many ec2 instances instead of just one.
Great video man! I just found your channel and saw 2 and were amazing. Will try and replicate that with a local project I have.
Hopefully you will do some terraform and ansible too, if you haven’t done already 😅
Awesome video! So from here, where do we go if we want to know how to let our applications scale?
Can you please make video setting up Nginx to Nextjs? Definitely an insightful video, thank you for introducing me to caddy. 😊
You are awesome!🔥
Amazing! Thanks a lot, this is extremely helpful.
10/10 video my guy
This was really good. I leant a lot 👍
You are incredible kind sir. Thank you for this
top notch content Sam! Would you care to explain what you meant by 'I have a migration system on my app". Why did you have to run npm run migrate? Thanks!
Really helpful video. Would be nice if you could create a video about how to automate all these stuff with github actions. Thanks
Great tutorial! I did something similar using Linode, but used nginx instead of Caddy. Caddy seem like a simpler choice with the automated ssl.
I only recently started using it, but it's been awesome and I trust the community behind it
broooo this video is so solid
Such a great video. Thanks!
Awesome job! Would be great to see how to move from this infrastructure to one more scalable, with a dedicated RDS instance, a load balancer and maybe different ec2 instances for different microservices, maybe using terraform. But as you said this is foundational and it's very well done!
Would be the ultimate video!
eaxctly what I need, greate video!
can anyone explain to me how the server file and the react app both run? I am having a lot of troulble starting my vite app in the front end directory and the server from the systemD command?
Amazing content, Thank you ❤
The best ma man!
Very Helpful. But can we Run Multiple Node Js Application at a time ?
the best tutorial, thank you so much
This was beautiful.
Dope!!!!!
Any alternatives o rysnc? Does not work on git bash
at 9:56 how do you go to my app git(main)
Really great guide ❤❤
absolute legend
Hi, amazing video! Quick question, can I setup SSL with the Public IPv4 DNS that AWS EC2 provides me?
I have an App.js running on port 3000 and a Server.js (Backend) running on port 5000. How would this work?
+1
I am assuming that you are having your app.js using server.js files , so that eventually it is able to connect to it how it connect on local computer , because you could see that it is still now being running on local host 3000 so that would be able to access the 5000 port server running on it .
saving my life i was abou to have a stroke
Brilliant tutorial !!
Great video!
Can you also tell us how to do continuous delivery?
Wow this is good. I have questions and suggestion.
Does that systemd replaces the use of pm2? Why didn't you use pm2
Suggestion: Moving forward with this with setting up basic testing and CI CD.
Good question and suggestion.
I am currently using pm2...For CI CD I found this th-cam.com/video/fkzpywlJcMA/w-d-xo.html@@KratosCY
This is a really great video.
Note on 19:18 that if you installed Node.js differently, like via the NVM Node Version Manager, you have to set different ExecStart path in the .service file - or else you'll receive an error "Active: failed [...] Process: .... ExecStart=/usr/bin/node index.js (code=exited, status=203/EXEC)" when doing "sudo systemctl status myapp.service".
what changes are to be made?
banging video mate ! Do you mind if I ask what software you use to edit your videos ? The transitions and zoom effects are top class
I use a few different pieces of software, but my main video editing is done in Camtasia. It's pretty easy to use and all the basics are covered in their intro 45 minute video: th-cam.com/video/AE1Hfy-yw4s/w-d-xo.html
Thanks. This is super cool 👍🏻
This was really great.
Really great tut
Hi Sam, can you make one video for the Serverless approach??
top video for real
Thanks, this helped me a lot!!
Thanks for the video! Can you make a video on how to handle new version of the app without downtime?
With one server, you wold always experience some amount of downtime. It could be minimal though, just the amount of time it takes to restart caddy, so a few milliseconds. The only way I know of to get absolute 0 downtime is to use multiple ec2 instances with a load balancer, which is much more complex
Really nice explained
thank you
Insane value!!
Awesome! Thanks -
Hi I'm new to AWS cloud computing, could you explain why you used EC2 rather than AWS amplify in this instance :)
Super helpful, Thanks!
Really a great video
You're amazing. Thanks alot !!
awesome !!! love this content
Thanks bro a lot for this tutorial
great tutorial but I keep getting stuck at the run build step. It just gets stuck at creating an optimized production build every time
thanks a lot bro, i can configure mi ssl :)
thank you so much it helped a lot ✌
really amazing tutorial
Really nice video, thanks
quick question, since you have a git repository in the local machine, why did you pull that one inside the app folder instead of transfering the files via terminal?