AWS Elastic Beanstalk
Presented By:
Piyush Agrawal
Date: 15th April’18
Agenda
• Overview of Elastic Beanstalk
• Features and Benefits
• Key Terms and Components
• Beanstalk Management Features
• Difference between Beanstalk and Lambda
• Resources
Overview of Elastic Beanstalk
Overview of Elastic Beanstalk
• Quickly deploy and manage applications without worrying about the infrastructure
• Once an application is uploaded, Elastic Beanstalk automatically launches an
environment and creates and configures the AWS resources needed to run
the application
• After your environment is launched, it can be managed and used to deploy new
application versions
• Resources are fully accessible i.e. you can ssh into the EC2 instances
• Supports applications developed in Java, PHP, .NET, Node.js, Python, and Ruby
• There is no additional charge for Elastic Beanstalk - you pay only for the AWS resources
needed to store and run your applications.
Benefits over Manual Effort
Key Terms and Components
• AWS Elastic Beanstalk lets you manage all of the resources that run
your application as environments
• Application:
• a logical collection of Elastic Beanstalk components, including environments, versions,
and environment configurations.
• In Elastic Beanstalk an application is conceptually similar to a folder.
• Application Version
• a specific, labeled iteration of deployable code
• points to an Amazon Simple Storage Service (Amazon S3) object that contains the deployable
code
• Applications can have many versions and each application version is unique.
• Multiple versions can be deployed for an Application for testing differences and helps
rollback to any version if case of issues
Key Terms and Components
• AWS Elastic Beanstalk lets you manage all of the resources that run
your application as environments
• Environment:
• An environment is a version that is deployed onto AWS resources
• An environment runs a single application version at a time, but same application version can be
deployed across multiple environments
• When an environment is created, Elastic Beanstalk provisions the resources needed to run the
application version you specified.
• Environment Configuration:
• A collection of parameters and settings that define how an environment and its associated
resources behave.
• When an environment’s configuration settings is updated, Elastic Beanstalk automatically
applies the changes to existing resources or deletes and deploys new resources, depending
upon the change
Beanstalk Management Features
• Once an application is running, Elastic Beanstalk provides several
management features such as:
• Easily deploy new application versions to running environments using different deployment
options (or rollback to a previous version).
• Access built-in CloudWatch monitoring metrics such as average CPU utilization, request
count, and average latency.
• Receive e-mail notifications through Amazon Simple Notification Service (Amazon SNS) when
application health changes or application servers are added or removed.
• Access server log files without needing to login to the application servers.
• Enable regular, automatic updates to the underlying platform running your application such
as the AMI, operating system, language and framework, and application or proxy server.
Difference Between Elastic BS and Lambda
• Lambda
• Lambda is considered a Function as a Service
• Runs your code, and perfect for building applications that have been broken down into
services aka micro-services
• No Access on the resources
• No Management Required
• Recommended for small triggers and functions
• No Versioning Management
• Elastic BS
• Beanstalk is considered a Platform as a Service
• Runs your applications
• Full Access on the resources
• Can be managed manually
• Any kind of application with supported frameworks
• Versioning Management can be done
Resources
• Web Book
• https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/awseb-dg.pdf
• FAQs
• https://aws.amazon.com/elasticbeanstalk/faqs/
• Videos:
• https://www.youtube.com/watch?v=rvxucBBDlPQ
• https://www.youtube.com/watch?v=xhc1boyBkJw
• https://www.youtube.com/watch?v=i5WcgZOrx_c

AWS - Beanstalk Fundamentals

  • 1.
    AWS Elastic Beanstalk PresentedBy: Piyush Agrawal Date: 15th April’18
  • 2.
    Agenda • Overview ofElastic Beanstalk • Features and Benefits • Key Terms and Components • Beanstalk Management Features • Difference between Beanstalk and Lambda • Resources
  • 3.
  • 4.
    Overview of ElasticBeanstalk • Quickly deploy and manage applications without worrying about the infrastructure • Once an application is uploaded, Elastic Beanstalk automatically launches an environment and creates and configures the AWS resources needed to run the application • After your environment is launched, it can be managed and used to deploy new application versions • Resources are fully accessible i.e. you can ssh into the EC2 instances • Supports applications developed in Java, PHP, .NET, Node.js, Python, and Ruby • There is no additional charge for Elastic Beanstalk - you pay only for the AWS resources needed to store and run your applications.
  • 5.
  • 6.
    Key Terms andComponents • AWS Elastic Beanstalk lets you manage all of the resources that run your application as environments • Application: • a logical collection of Elastic Beanstalk components, including environments, versions, and environment configurations. • In Elastic Beanstalk an application is conceptually similar to a folder. • Application Version • a specific, labeled iteration of deployable code • points to an Amazon Simple Storage Service (Amazon S3) object that contains the deployable code • Applications can have many versions and each application version is unique. • Multiple versions can be deployed for an Application for testing differences and helps rollback to any version if case of issues
  • 7.
    Key Terms andComponents • AWS Elastic Beanstalk lets you manage all of the resources that run your application as environments • Environment: • An environment is a version that is deployed onto AWS resources • An environment runs a single application version at a time, but same application version can be deployed across multiple environments • When an environment is created, Elastic Beanstalk provisions the resources needed to run the application version you specified. • Environment Configuration: • A collection of parameters and settings that define how an environment and its associated resources behave. • When an environment’s configuration settings is updated, Elastic Beanstalk automatically applies the changes to existing resources or deletes and deploys new resources, depending upon the change
  • 8.
    Beanstalk Management Features •Once an application is running, Elastic Beanstalk provides several management features such as: • Easily deploy new application versions to running environments using different deployment options (or rollback to a previous version). • Access built-in CloudWatch monitoring metrics such as average CPU utilization, request count, and average latency. • Receive e-mail notifications through Amazon Simple Notification Service (Amazon SNS) when application health changes or application servers are added or removed. • Access server log files without needing to login to the application servers. • Enable regular, automatic updates to the underlying platform running your application such as the AMI, operating system, language and framework, and application or proxy server.
  • 9.
    Difference Between ElasticBS and Lambda • Lambda • Lambda is considered a Function as a Service • Runs your code, and perfect for building applications that have been broken down into services aka micro-services • No Access on the resources • No Management Required • Recommended for small triggers and functions • No Versioning Management • Elastic BS • Beanstalk is considered a Platform as a Service • Runs your applications • Full Access on the resources • Can be managed manually • Any kind of application with supported frameworks • Versioning Management can be done
  • 10.
    Resources • Web Book •https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/awseb-dg.pdf • FAQs • https://aws.amazon.com/elasticbeanstalk/faqs/ • Videos: • https://www.youtube.com/watch?v=rvxucBBDlPQ • https://www.youtube.com/watch?v=xhc1boyBkJw • https://www.youtube.com/watch?v=i5WcgZOrx_c