SlideShare a Scribd company logo
1 of 11
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

What's hot

What's hot (20)

Introduction to Elastic Beanstalk
Introduction to Elastic BeanstalkIntroduction to Elastic Beanstalk
Introduction to Elastic Beanstalk
 
Amazon Elastic Beanstalk
Amazon Elastic BeanstalkAmazon Elastic Beanstalk
Amazon Elastic Beanstalk
 
Aws ec2
Aws ec2Aws ec2
Aws ec2
 
AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront Fundamentals
 
Ford's AWS Service Update - February 2020 (Richmond AWS User Group)
Ford's AWS Service Update - February 2020 (Richmond AWS User Group)Ford's AWS Service Update - February 2020 (Richmond AWS User Group)
Ford's AWS Service Update - February 2020 (Richmond AWS User Group)
 
Alfresco WCM For High Scalability
Alfresco WCM For High ScalabilityAlfresco WCM For High Scalability
Alfresco WCM For High Scalability
 
Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)
 
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
 
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHNAWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
 
AWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for GovernmentAWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for Government
 
AWS Cloudformation Session 01
AWS Cloudformation Session 01AWS Cloudformation Session 01
AWS Cloudformation Session 01
 
Really Simple Web Content Management
Really Simple Web Content ManagementReally Simple Web Content Management
Really Simple Web Content Management
 
SqlBits SQL Server on RDS - John McCormack
SqlBits SQL Server on RDS - John McCormackSqlBits SQL Server on RDS - John McCormack
SqlBits SQL Server on RDS - John McCormack
 
Easy Object Storage Import/Export Using the S3 Connector on Jetstream
Easy Object Storage Import/Export Using the S3 Connector on JetstreamEasy Object Storage Import/Export Using the S3 Connector on Jetstream
Easy Object Storage Import/Export Using the S3 Connector on Jetstream
 
Amazon Web Services lection 6
Amazon Web Services lection 6  Amazon Web Services lection 6
Amazon Web Services lection 6
 
Short introduction to Redis
Short introduction to RedisShort introduction to Redis
Short introduction to Redis
 
Cnam azure 2014 storage
Cnam azure 2014   storageCnam azure 2014   storage
Cnam azure 2014 storage
 
Journey towards serverless infrastructure
Journey towards serverless infrastructureJourney towards serverless infrastructure
Journey towards serverless infrastructure
 
Microservices - modern software architecture
Microservices - modern software architectureMicroservices - modern software architecture
Microservices - modern software architecture
 
Amazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk IntroductionAmazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk Introduction
 

Viewers also liked

Trinity Kings World Leadership: The Law of Victory: Three Leaders Find a Way ...
Trinity Kings World Leadership: The Law of Victory: Three Leaders Find a Way ...Trinity Kings World Leadership: The Law of Victory: Three Leaders Find a Way ...
Trinity Kings World Leadership: The Law of Victory: Three Leaders Find a Way ...
Terrell Patillo
 
Researching methods and Techniques
Researching methods and TechniquesResearching methods and Techniques
Researching methods and Techniques
lelicordell
 
ammonia_max_present
ammonia_max_presentammonia_max_present
ammonia_max_present
ASK Labs
 
Print based production
Print based production Print based production
Print based production
lelicordell
 
Album Cover and Magazine Adverts for Album Releases Analysis
Album Cover and Magazine Adverts for Album Releases AnalysisAlbum Cover and Magazine Adverts for Album Releases Analysis
Album Cover and Magazine Adverts for Album Releases Analysis
lelicordell
 
Paurashava elections information analysis mayor candidate
Paurashava elections information analysis mayor candidatePaurashava elections information analysis mayor candidate
Paurashava elections information analysis mayor candidate
Saif Ahmed
 
Announcement about annual meeting
Announcement about annual meetingAnnouncement about annual meeting
Announcement about annual meeting
Zorigoo Bayar
 

Viewers also liked (18)

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

Similar to Running on Elastic Beanstalk

Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled Apps
Amazon Web Services
 

Similar to Running on Elastic Beanstalk (20)

[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop
 
Amazon Web Services - Elastic Beanstalk
Amazon Web Services - Elastic BeanstalkAmazon Web Services - Elastic Beanstalk
Amazon Web Services - Elastic Beanstalk
 
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel AvivScaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
 
Scaling horizontally on AWS
Scaling horizontally on AWSScaling horizontally on AWS
Scaling horizontally on AWS
 
AWS CloudFormation template with single & redundant system
AWS CloudFormation template with single & redundant systemAWS CloudFormation template with single & redundant system
AWS CloudFormation template with single & redundant system
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
Scalable Application Development on AWS
Scalable Application Development on AWSScalable Application Development on AWS
Scalable Application Development on AWS
 
Snowflake Datawarehouse Architecturing
Snowflake Datawarehouse ArchitecturingSnowflake Datawarehouse Architecturing
Snowflake Datawarehouse Architecturing
 
DevOpsCon Cloud Workshop
DevOpsCon Cloud Workshop DevOpsCon Cloud Workshop
DevOpsCon Cloud Workshop
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWS
 
The Enterprise Grade SQL Server Deployments in AWS
The Enterprise Grade SQL Server Deployments in AWSThe Enterprise Grade SQL Server Deployments in AWS
The Enterprise Grade SQL Server Deployments in AWS
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled Apps
 
Modernizing your AWS Deployment
Modernizing your AWS DeploymentModernizing your AWS Deployment
Modernizing your AWS Deployment
 
SAP on Amazon web services
SAP on Amazon web servicesSAP on Amazon web services
SAP on Amazon web services
 
AWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the Cloud
 
SoCal NodeJS Meetup 20170215_aws_lambda
SoCal NodeJS Meetup 20170215_aws_lambdaSoCal NodeJS Meetup 20170215_aws_lambda
SoCal NodeJS Meetup 20170215_aws_lambda
 
AWS Webcast - Webinar Series for State and Local Government #3: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #3: Discover the ...AWS Webcast - Webinar Series for State and Local Government #3: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #3: Discover the ...
 
Amazon Webservices for Java Developers - UCI Webinar
Amazon Webservices for Java Developers - UCI WebinarAmazon Webservices for Java Developers - UCI Webinar
Amazon Webservices for Java Developers - UCI Webinar
 
Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014
 
AWS Elastic Container Service
AWS Elastic Container ServiceAWS Elastic Container Service
AWS Elastic Container Service
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

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

  1. On the axis between IaaS and PaaS it’s closer to IaaS
  2. No built it Database or other stuff included
  3. Not comparing DB costs – cause you can use RDS for Heroku / Cloud bees
  4. 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
  5. Custom AMIInstall some OS monitoring agent