Posts

Showing posts from August, 2022

Elastic Beanstalk - Deploy NodeJS Application in Just 5 Steps

Image
With an AWS Elastic Beanstalk service, we can deploy and scale web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS. We can simply upload our code and Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, and auto-scaling to application health monitoring. At the same time, you retain full control over the AWS resources powering your application and can access the underlying resources at any time. In this post, we will cover the commands required to deploy the nodejs express server to different elastic beanstalk environments. The first step is to set up elastic beanstalk application and then create environment like dev,stage and prod. Make sure that elastic beanstalk is installed and eb command is working fine. $ eb --version EB CLI 3.20.3 (Python 3.7.1) Step 1: Create a user for eb administrator access and keep the Access Key and Sec...