Deploy NestJS App to AWS EC2 | Beginners | Mr DevGeek

preview_player
Показать описание
Deploy NestJS App to AWS EC2 | Beginners | Mr DevGeek

Welcome to Mr DevGeek! In this tutorial, we will walk you through the entire process of deploying a NestJS API to AWS EC2. Whether you're a complete beginner or looking to polish your deployment skills, this video has got you covered!

What's Inside?

Introduction to AWS EC2: Understand what AWS EC2 is and how it fits into cloud computing.

Setting Up an EC2 Instance: Step-by-step guide on creating and configuring your EC2 instance.

Configuring Security Groups: Ensure your API is secure by setting up the right firewall rules.

Deploying Your NestJS Application: Transfer your API files to the EC2 instance and run your application.

Testing Your Deployment: Verify that everything works perfectly by testing your deployed API.

Why Watch This Tutorial?

Beginner-Friendly: No prior experience with AWS EC2 is required.
Comprehensive: Covers every step in detail with clear explanations.
Hands-On: Follow along and deploy your NestJS API in real-time.

Commands:
sudo apt update

Nodes js:

sudo apt-get install -y nodejs

sudo npm install pm2 -g

sudo pm2 start --name nestjs-backend npm -- run start

sudo pm2 log nestjs-backend

sudo pm2 list

sudo pm2 stop 0

sudo pm2 delete 0

🔗 Connect with Mr. DevGeek:
Subscribe to Mr DevGeek for more tutorials on web development, cloud computing, and more! Feel free to leave any questions or feedback in the comments section below.

Twitter: @MrDevGeek
👍 Like, Share, Subscribe, and let the coding adventures begin! 💻✨
Рекомендации по теме