Start a Project

Introduction to AWS Elastic Beanstalk

In this blog, we will talk about Elastic Beanstalk which is a PAAS(Platform as a Service) offering by Amazon Web Services. Generally, PAAS allows the developers to deploy their web applications using supplier-specific server architecture, tools and languages. However with Elastic Beanstalk, you get more control over the underlying architecture. It is very helpful for developers and system administrators to deploy codes without spending time on managing and configuring servers, databases, load-balancers, firewalls & networks, etc. AWS Elastic Beanstalk reduces management complexity without restricting choice or control. You simply upload your application, and Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring.

 

Elastic Beanstalk is a combination of various AWS services, including EC2, S3, Simple Notification Service (SNS), CloudWatch, auto-scaling, and Elastic Load Balancers. It allows developers to deploy and easily scale web applications and services developed with Java, PHP, Node.js, Python, Ruby, Go and Docker on popular web-servers such as Apache, Nginx, Passenger and IIS. However, Elastic Beanstalk does not restrict your choice of persistent storage and database service options. You can attach as many ebs needed or select a database of your choice for your application.

 

For Elastic Beanstalk, there is no additional charges. You only have to pay for the AWS resources needed to store and run your applications. The underlying  architecture is easily accessible from the AWS console. You can interact with Elastic Beanstalk by using the AWS Management Console, the AWS Command Line Interface (AWS CLI), or eb, a high-level CLI designed specifically for Elastic Beanstalk.  However, most of the deployment tasks can be handled directly from the Elastic beanstalk web interface.

 

For deployment of code with Elastic Beanstalk, you can upload your application in the form of source bundle (for example, a Java .war file). Elastic Beanstalk automatically launches an environment and creates and configures the AWS resources needed to run your code. After your environment is launched, you can then manage your environment and deploy a new application versions.

 

 

Basically Beanstalk provides two types of environments – Web Server environment and Worker environment.

Web Server Environment :

 

Worker Environment :

 

You can choose any of the two environments for deployment that suits the purpose of your application. Once you have created and deployed your application, you can view the information about the application including metrics, events, and environment status through the AWS Management Console, APIs, or Command Line Interfaces, or the unified AWS CLI.

So in short, Elastic Beanstalk provides developers and systems administrators an easy, fast way to deploy and manage their applications without having to worry about AWS infrastructure. In the next blog, we will discuss how to deploy codes with beanstalk.

 

Thanks for your time…

 

In case of any help or query, please contact us.

Exit mobile version