Рет қаралды 48,311
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 - / @webwizard8
➤ Music Licence:
Song: Atch - Freedom
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Video Link: • Atch - Freedom (Vlog N...
Song: Hotham - Find
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Video Link: • Hotham - Find (Vlog No...
Song: LiQWYD - Sweet
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Video Link: • LiQWYD - Sweet (Vlog N...
Song: LiQWYD - We've Got Time
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Video Link: • LiQWYD - We've Got Tim...
#autodeploy #nodejsrestapi #awsec2 #cicd #githubactions #restapideployment #nodejsdevelopment #awsec2deployment #githubactionstutorial #nodejsexpress #deployrestapionec2 #awsec2cicd #githubactionspipeline #restapiawsec2 #deployrestapi #cicdpipeline