SlideShare a Scribd company logo
Running on

AWS Elastic Beanstalk

     Alex Verdyan
AWS Glossary
•   EC2 – Elastic Compute Cloud = Cloud Servers (Instances)
•   S3 - Simple Storage Service = Cloud Storage (REST API)
•   ELB – Elastic Load Balancer = Load balancer
•   AMI – Amazon Machine Image
•   EBS – Elastic Block Store = Attachable network storage
•   AZ – Availability Zone
•   RDS – Relational DB Service = Cloud RDBMS
    (MySQL,Oracle)
• SG – Security Group – Kind of Firewall
Elastic Beanstalk?

• AWS offering for Java PaaS




  * Recently added support for .NET and PHP
What do you get?
• Tomcat on EC2 instance ( up to date )
• Load balancer with DNS name ****.elasticbeanstalk.com
• Automatic scaling based on your criteria (CPU/Incoming
  traffic/Disk IO)
• Management console + REST API + CLI
• Zero downtime deployment
• Log rotation to S3 (access_log, catalina.out)
• Basic monitoring by Load balancer (health check)
• Email notifications
• SSL Support
Architecture




               Versions
Elastic Beanstalk(EB) - Glossary
• Application
  – Collection of all other components
• Version
  – Deployable code / resource (WAR)
• Environment
  – Version running on a bunch of resources
• Environment Configuration
  – JVM args, DB connection string
  – Instance size, # instances, auto-scaling…
Pros
• $$$
  – Cheaper than Heroku, CloudBees, Jelastic….
  – The EB is free - you pay only for the components
    you use (EC2,S3,ELB, Network)
• Even cheaper if you buy “Reserved instance”
• Get’s the job done – pretty robust
• We use other AWS services –
  – Email, Queues, CloudFront(CDN), Route
    53(DNS)…
• REST clients and CLI for everything
Cons
• Logging
    – Central, searchable, live log access
•   Deployment - WAR files upload takes time
•   No VCS integration
•   SSH access to the servers is cumbersome
•   No HTTP firewall (mod_security) style
•   No simple way to blacklist IP
•   Not really a PaaS
Misc
• Maven plugin (elastic-beanstalker)
• SSL support
• Custom AMIs
  – OS / App monitoring agent
  – Different Java / Tomcat version
  – no automatic Tomcat/OS patches
• We use NewRelic for performance and
  monitoring *
DEMO
Thank you

More Related Content

PPTX
Data backup and Disaster recovery with AWS
PDF
Hands-On With Amazon Web Services (AWS) - part 3
PDF
Introduction 2 to aws and storage options
PDF
AWS Quick Intro
PPTX
AWS Distilled
PPTX
AWS 101 Guide
PPTX
Kubernetes talk at DDDSydney 2017
PPTX
Containerization in microsoft azure
Data backup and Disaster recovery with AWS
Hands-On With Amazon Web Services (AWS) - part 3
Introduction 2 to aws and storage options
AWS Quick Intro
AWS Distilled
AWS 101 Guide
Kubernetes talk at DDDSydney 2017
Containerization in microsoft azure

What's hot (19)

PDF
Introduction to Elastic Beanstalk
PDF
Amazon Elastic Beanstalk
PPTX
Aws ec2
PPTX
AWS Cloudfront Fundamentals
PPTX
Ford's AWS Service Update - February 2020 (Richmond AWS User Group)
PPT
Alfresco WCM For High Scalability
PDF
Introduction to Amazon Web Services (AWS)
PDF
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
PDF
AWS Elastic Container Service - DockerHN
PPTX
AWS Cloudformation Session 01
PPT
Really Simple Web Content Management
PPTX
SqlBits SQL Server on RDS - John McCormack
PDF
Easy Object Storage Import/Export Using the S3 Connector on Jetstream
PPTX
Amazon Web Services lection 6
PDF
Short introduction to Redis
PPTX
Cnam azure 2014 storage
PDF
Journey towards serverless infrastructure
PPTX
Microservices - modern software architecture
PPTX
Aws ops works
Introduction to Elastic Beanstalk
Amazon Elastic Beanstalk
Aws ec2
AWS Cloudfront Fundamentals
Ford's AWS Service Update - February 2020 (Richmond AWS User Group)
Alfresco WCM For High Scalability
Introduction to Amazon Web Services (AWS)
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
AWS Elastic Container Service - DockerHN
AWS Cloudformation Session 01
Really Simple Web Content Management
SqlBits SQL Server on RDS - John McCormack
Easy Object Storage Import/Export Using the S3 Connector on Jetstream
Amazon Web Services lection 6
Short introduction to Redis
Cnam azure 2014 storage
Journey towards serverless infrastructure
Microservices - modern software architecture
Aws ops works
Ad

Viewers also liked (18)

PDF
Trinity Kings World Leadership: The Law of Victory: Three Leaders Find a Way ...
PPTX
McDonold's Logo
PPTX
Researching methods and Techniques
PDF
ammonia_max_present
PPTX
Land qualities BY Muhammad Fahad Ansari 12IEEM14
PPT
24 εικονομαχία
PPTX
Print based production
PPTX
Agro forestry BY Muhammad Fahad Ansari 12IEEM14
PDF
Linked Open Data - A Means for Public Sector Information Management
PPT
Esosione costiera metaponto
PPTX
Feathers in a Cage (Part 1 of 2)
PPTX
For a Special Grandad
PPTX
Album Cover and Magazine Adverts for Album Releases Analysis
PDF
Paurashava elections information analysis mayor candidate
PDF
Outpost Security Pro 7.5 - Extended Tour
PDF
3rd Annual Employee Engagement Research Study
PPSX
DESERT. George Corominas (2)
PDF
Announcement about annual meeting
Trinity Kings World Leadership: The Law of Victory: Three Leaders Find a Way ...
McDonold's Logo
Researching methods and Techniques
ammonia_max_present
Land qualities BY Muhammad Fahad Ansari 12IEEM14
24 εικονομαχία
Print based production
Agro forestry BY Muhammad Fahad Ansari 12IEEM14
Linked Open Data - A Means for Public Sector Information Management
Esosione costiera metaponto
Feathers in a Cage (Part 1 of 2)
For a Special Grandad
Album Cover and Magazine Adverts for Album Releases Analysis
Paurashava elections information analysis mayor candidate
Outpost Security Pro 7.5 - Extended Tour
3rd Annual Employee Engagement Research Study
DESERT. George Corominas (2)
Announcement about annual meeting
Ad

Similar to Running on Elastic Beanstalk (20)

PPTX
Aws elastic beanstalk
PPTX
AWS elastic beanstalk
PDF
A 60-mn tour of AWS compute (March 2016)
PPTX
Modernizing DevOps
PDF
Scaling Django Apps using AWS Elastic Beanstalk
PDF
Amazon Elastic Beanstalk - Indicthreads.com cloud computing conference 2011
PDF
Amazon Elastic Beanstalk
PDF
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
PPTX
AWS - Beanstalk Fundamentals
PPTX
Brief theoretical overview on AWS Components
DOC
PDF
A 60-minute tour of AWS Compute (November 2016)
PPTX
Elastic beanstalk
PDF
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
PPTX
Deploying your web application with AWS ElasticBeanstalk
PPTX
Dead-Simple Deployment: Headache-Free Java Web Applications in the Cloud
PDF
AWS Certified Solutions Architect Associate Notes.pdf
PPTX
DevOps on AWS
PDF
AWS SECURITY STATAGIES AND FRAMEWORK PRINCIPLES
PPTX
Introduction to DevOps on AWS
Aws elastic beanstalk
AWS elastic beanstalk
A 60-mn tour of AWS compute (March 2016)
Modernizing DevOps
Scaling Django Apps using AWS Elastic Beanstalk
Amazon Elastic Beanstalk - Indicthreads.com cloud computing conference 2011
Amazon Elastic Beanstalk
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
AWS - Beanstalk Fundamentals
Brief theoretical overview on AWS Components
A 60-minute tour of AWS Compute (November 2016)
Elastic beanstalk
AWS Certified Solutions Architect Associate Exam Guide 1st Edition 2024_KIRAN...
Deploying your web application with AWS ElasticBeanstalk
Dead-Simple Deployment: Headache-Free Java Web Applications in the Cloud
AWS Certified Solutions Architect Associate Notes.pdf
DevOps on AWS
AWS SECURITY STATAGIES AND FRAMEWORK PRINCIPLES
Introduction to DevOps on AWS

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Spectroscopy.pptx food analysis technology
PDF
Approach and Philosophy of On baking technology
PDF
KodekX | Application Modernization Development
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Chapter 3 Spatial Domain Image Processing.pdf
MYSQL Presentation for SQL database connectivity
Spectroscopy.pptx food analysis technology
Approach and Philosophy of On baking technology
KodekX | Application Modernization Development
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
sap open course for s4hana steps from ECC to s4
Digital-Transformation-Roadmap-for-Companies.pptx
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Empathic Computing: Creating Shared Understanding
Programs and apps: productivity, graphics, security and other tools
Mobile App Security Testing_ A Comprehensive Guide.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation theory and applications.pdf

Running on Elastic Beanstalk

  • 1. Running on AWS Elastic Beanstalk Alex Verdyan
  • 2. AWS Glossary • EC2 – Elastic Compute Cloud = Cloud Servers (Instances) • S3 - Simple Storage Service = Cloud Storage (REST API) • ELB – Elastic Load Balancer = Load balancer • AMI – Amazon Machine Image • EBS – Elastic Block Store = Attachable network storage • AZ – Availability Zone • RDS – Relational DB Service = Cloud RDBMS (MySQL,Oracle) • SG – Security Group – Kind of Firewall
  • 3. Elastic Beanstalk? • AWS offering for Java PaaS * Recently added support for .NET and PHP
  • 4. What do you get? • Tomcat on EC2 instance ( up to date ) • Load balancer with DNS name ****.elasticbeanstalk.com • Automatic scaling based on your criteria (CPU/Incoming traffic/Disk IO) • Management console + REST API + CLI • Zero downtime deployment • Log rotation to S3 (access_log, catalina.out) • Basic monitoring by Load balancer (health check) • Email notifications • SSL Support
  • 5. Architecture Versions
  • 6. Elastic Beanstalk(EB) - Glossary • Application – Collection of all other components • Version – Deployable code / resource (WAR) • Environment – Version running on a bunch of resources • Environment Configuration – JVM args, DB connection string – Instance size, # instances, auto-scaling…
  • 7. Pros • $$$ – Cheaper than Heroku, CloudBees, Jelastic…. – The EB is free - you pay only for the components you use (EC2,S3,ELB, Network) • Even cheaper if you buy “Reserved instance” • Get’s the job done – pretty robust • We use other AWS services – – Email, Queues, CloudFront(CDN), Route 53(DNS)… • REST clients and CLI for everything
  • 8. Cons • Logging – Central, searchable, live log access • Deployment - WAR files upload takes time • No VCS integration • SSH access to the servers is cumbersome • No HTTP firewall (mod_security) style • No simple way to blacklist IP • Not really a PaaS
  • 9. Misc • Maven plugin (elastic-beanstalker) • SSL support • Custom AMIs – OS / App monitoring agent – Different Java / Tomcat version – no automatic Tomcat/OS patches • We use NewRelic for performance and monitoring *
  • 10. DEMO

Editor's Notes

  • #4: On the axis between IaaS and PaaS it’s closer to IaaS
  • #5: No built it Database or other stuff included
  • #8: Not comparing DB costs – cause you can use RDS for Heroku / Cloud bees
  • #9: We use GrayLog2 for central loggingWe have build scripts to add versioning to the deployed WAR filesSSH – find ELB, goto EC2, find the ELB by name, look at the healthy instances, copy the name, goto EC2 instances and find it"configuration feature for IaaS, like InstallShield. It makes it easy to deploy and configure an application“You need to understand OPS to operate it If you want to have Ops people on staff or use your Dev resources to troubleshoot issues when your PaaS provider goes down, then AWS Elastic Beanstalk is an option
  • #10: Custom AMIInstall some OS monitoring agent