Auto Deploy Nodejs Rest API on AWS EC2 | CI/CD pipeline using GitHub Actions

Tác giả: Web Wizard
Ngày xuất bản: 2023-05-27T00:00:00
Length: 37:22

Hello everyone! In this video, we will set up automatic deployment of Nodejs Rest API on AWS EC2 instance using GitHub Actions

The API was built using Express ( Node.js framework ) and MongoDB Atlas which is a NoSQL cloud database platform.

You'll learn How to:

➤ Login to the AWS console and create an EC2 instance

➤ Setup GitHub Repo and Push your project

➤ Login to EC2 instance using Windows Powershell as well as PuTTY

➤ Setup GitHub Action runner on the EC2 instance

➤ Create GitHub Secrets for managing environment variables

➤ Create CI/CD Workflow using GitHub Action

➤ Install nodejs and nginx on the EC2 instance

➤ Install pm2, a process manager for Node.js production applications

➤ Configure nginx and how to restart it

➤ Run backend node.js rest api built using the express framework in the background as a service using pm2

➤ Add the command in yml script of the project to restart the nodejs api server after every push to the repo

➤ Support me by COMMENT, LIKE, SUBSCRIBE, and SHARE

➤ Channel link - https://www.youtube.com/@webwizard8

➤ Music Licence:

Song: Atch - Freedom

Music provided by Vlog No Copyright Music.

Creative Commons - Attribution 3.0 Unported

Video Link: https://www.youtube.com/watch?v=oe5EiOx4huM

Song: Hotham - Find

Music provided by Vlog No Copyright Music.

Creative Commons - Attribution 3.0 Unported

Video Link: https://www.youtube.com/watch?v=lE4Hu2e4Hpk

Song: LiQWYD - Sweet

Music provided by Vlog No Copyright Music.

Creative Commons - Attribution 3.0 Unported

Video Link: https://www.youtube.com/watch?v=B8Tzvayzz1w

Song: LiQWYD - We've Got Time

Music provided by Vlog No Copyright Music.

Creative Commons - Attribution 3.0 Unported

Video Link: https://www.youtube.com/watch?v=tg_Iiq-lTEc

#autodeploy #nodejsrestapi #awsec2 #cicd #githubactions #restapideployment #nodejsdevelopment #awsec2deployment #githubactionstutorial #nodejsexpress #deployrestapionec2 #awsec2cicd #githubactionspipeline #restapiawsec2 #deployrestapi #cicdpipeline

Dịch Vào Lúc: 2025-05-25T06:23:05Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất