Understanding AWS Elastic Beanstalk

  1. Home
  2. Understanding AWS Elastic Beanstalk

Understanding AWS Elastic Beanstalk

Without worrying about the infrastructure that runs those applications, AWS Elastic Beanstalk allows us to deploy and manage the applications in the AWS Cloud. Also without restricting choice or control, understanding AWS Elastic Beanstalk reduces management complexity. Therefore after we have completed uploading the application, then the details of capacity provisioning, load balancing, scaling, and application health monitoring are handled by AWS Elastic Beanstalk automatically.

Languages Supported in AWS – Elastic Beanstalk

Amazon Web Services Elastic Beanstalk supports applications developed in the following given languages –

  • Java
  • PHP
  • .NET
  • Node.js
  • Python
  • Ruby

Services Deployed by AWS – Elastic Beanstalk

Amazon Web Services Elastic Beanstalk automates the deployment of Amazon VPC, multiple compute instances (across multiple Availability Zones), security groups (both for instances and load balancers), Auto Scaling, Amazon S3 buckets, Amazon CloudWatch alarms, and domain names.

Implementation

There are a number of tools that you can use to create and manage the Elastic Beanstalk environment. These AWS tools are as follows –

  • AWS Management Console
  • AWS Elastic Beanstalk CLI
  • AWS SDK for Java
  • AWS Toolkit for Eclipse
  • AWS SDK for .NET
  • AWS Toolkit for Visual Studio
  • AWS SDK for Node.js
  • AWS SDK for PHP (requires PHP 5.2 or later)
  • Boto (AWS SDK for Python)
  • AWS SDK for Ruby

We can deploy a new application on AWS – Elastic Beanstalk by uploading a source bundle. This source bundle can be a ZIP or a WAR file (we can also include multiple WAR files inside of your ZIP file). This source bundle cannot be larger than 512 MB.

Management

AWS Elastic Beanstalk is by definition highly available. This creates multiple compute instances, locates those compute instances in two Availability Zones, and creates a load balancer (a Classic Elastic Load Balancing load balancer) to spread the compute load across these multiple instances.

Changing AWS – Elastic Beanstalk Environment

It is suggested to use the AWS – Elastic Beanstalk console and CLI when making changes to AWS Elastic Beanstalk environments and configuration.

Monitoring AWS – Elastic Beanstalk Environment

We can monitor the overall health of the environment using either the basic health reporting or enhanced health reporting and monitoring systems. Basic health reporting gives an overall status (via color key) of the environment.

Security

Now when we create an environment with AWS – Elastic Beanstalk, we are prompted to create two IAM roles such as –

  • Service role: These roles are used by AWS – Elastic Beanstalk to access other AWS Cloud services.
  • Instance profile – This is applied to the instances created in the environment, and it allows them to upload logs to Amazon S3 and perform other tasks.

Additionally, we can create policies in IAM and attach them to users, groups, and roles.

Get ready to become a Certified AWS Sysops Administrator Now. Try Free Practice Test Now!

Menu