Visitor Counter

Visitor Counter

Tuesday, May 12, 2020

Introduction to AWS Elastic Beanstalk

What Is Elastic Beanstalk?

Elastic Beanstalk is aimed at developers who have no idea about AWS  who just basically want to go in a provision WordPress site or provision a Joomla Web site they don't want to go and learn they all want to do it at a click of a button. It needs less management and You simply upload your application, that's all Elastic Beanstalk will handle everything for you. it can do things like auto-scaling groups and you can do things like growing your Elastic Beanstalk automatically to respond to demand. We can Call this Services as Platform as a service (PaaS)

What Languages Elastic Beanstalk Support

  • Java

  • .NET

  • Node.js

  • PHP

  • Python

  • Ruby

 

 

Benefits of the Elastic Beanstalk

  •  Fast and simple to begin

  •  Impossible to outgrow

  •  Developer productivity

  •  Complete resource control

 


How Elastic Beanstalk Priced?

 There are no additional Chagres for Elastic Beanstalk

 


Scenario -:Create an Elastic Beanstalk and upload Package

To do this you have to log in to your Amazone account

 

 

 

  Access the Elastic Beanstalk and Deploy a sample application

 

 

To create an Elastic Beanstalk Select Elastic Beanstalk Under the Compute or We can use the search bar to get the Function and select it

 

 

When the Elastic Beanstalk window is open Health tab should Be GREEN if not wait for a few seconds it will turn into GREEN 

To view, the Elastic Beanstalk Click the Environment Name

 

 

After Clicking the Environment Name we will get this window and in the above window if you Click the Highlighted link Web page will open and it will show the 404 Erro.  Because currently, application server doesn't have an application running

Note -: We have Select Tomcat as our Platform that why it shows the Tomcat Logo top right side of the window if we have select PHP it will show the PHP icon  

 

 

Will download a Package and Upload it to the server Using Upload and Deploy Option  

 

 

When the Package is Uploading it will show a window like this  and health would be Gray

 

 Package has fully uploaded 

 

 

If we click the link again in the Elastic Beanstalk that we tried to open earlier, that page should work results as in the above image.

 

If we check the Monitoring tab it will indicate few details about your sever Such as

Healthy Host Count

CPU Utilization

Average Latency

Sum Requests

Max Network In

 

Explore the AWS resources that support your application

 

 

If you go to the EC2 Instances We can see  that there are two Instances and both of the servers Supports the Web application



If we check the Security group's details we can see that HTTP: Port 80 has open that's mean we are allowing the web access.







These two Inctaces has been configured to load balance

It will handle the incoming request from the customers and guide those requests to the target (EC2 Instances ) in a more than one Availability Zone (AZ). Loadbalcers monitor the health of its registered target and route requests only for the healthy targets



 

Here we can see that these Instances have been configured for Autoscaling as well.

Based on your Application It will help to up or down the resources that have allocated to the  Instancesit will be done automatically.

 

 

 

 

 

References -:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/Welcome.html

 

https://docs.rightscale.com/faq/What_is_auto-scaling.html

https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html

 

 

No comments:

Post a Comment

Click hear to Visit my Facebook