x
In this article, let’s walk-through on how we can create an Elastic BeanStalk application.
PaaS stands for platform as a service. Imagine all the necessary ingredients you need to prepare your Dish are always available to you and you don’t have to do any sourcing and preparation work to prepare your favorite Dish. This is exactly what PaaS offers for many software solution providers where they dont need to manage and maintain their infrastructure and just focus on creating quality code for their application.
Paas works like a plug-n-play service to launch end-to-end projects. You can configure all the recipes required for your PaaS project and then simply forget about managing them.
Let’s start by navigating to your AWS Management Console. Go to the searchbox and search for BeanStalk.
Now let’s go ahead and click on create application.
Elastic BeanStalk provides sample templates for various different environments such as .Net Core, .Net on Windows Server, Docker, Go, Java, Node, PHP and other environments listed below in the image.
Now let’s start configuring the settings of your node application. Give the application name as “node-demo-app-1”.
In this step, we need to select what Platform is required for your application. As we are going to create a Node application we will select the platform as “node.js” and platform branch will be “Node.js 16 running on 64bit Amazon Linux 2”. The platform version will be the recommended version provided by AWS.
The code of your application is the most important part of your application. In this step we can now use a sample code provided by AWS or we can choose to upload our own application code.
For the purpose of this demo, we will go with sample code provided by AWS.
In this step, Elastic Beanstalk provides us an option to configure any more additional information we want regarding our application. These settings include options such as:
Once you have finalized the configuration settings of the elastic beanstalk application. Click on “create app” to start creating the application.
Elastic Beanstalk will now provision your environment and all configurations that you have selected will be enabled.
After you click on the launch environment, health checks are performed on the Beanstalk application until the health status turns green. This notifies us that the application is ready to go.
After performing Health Checks on your environment, the application will now go online. You can open the application by using the auto-generated URL provided by Elastic Beanstalk.
After your application is live using Elastic BeanStalk you can monitor and edit any configurations from the left pane.
All the configurations used by your elastic beanstalk application will be displayed in the configuration tab. Here you can edit or modify any configuration that you want to modify.
Yippie. Your Application is live. Notice that we only configured the platform we wanted to host our application on and the rest the other things were managed by Elastic BeanStalk for us.
I hope the above article helped you understand the working of the AWS Elastic Beanstalk service. We can conclude from the article that Elastic BeanStalk is a Platform as a Service(PaaS) and is great for automating the provisioning of your environment so your development team can just focus on application development and not worry about provisioning and auto-scaling and configuring and maintaining your application infrastructure.
Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!
Click to Comment