SlideShare a Scribd company logo
1 of 31
Amazon Web Services – Elastic Beanstalk
      Jeff Barr – Senior Evangelist
      @jeffbarr
My Background

Education:
    • BS in Computer Science, The American University, 1985
    • Grad student in Digital Media, University of Washington, 2010-Present

Background:
    • Microsoft Visual Studio team
    • Consulting to startups and VC’s
    • Amazon employee since 2002

Author, “Host Your Web Site in the Cloud”

Email: jbarr@amazon.com
Twitter: @jeffbarr




                   Copyright © 2011, Amazon Web Services LLC or its affiliates. All rights reserved.
What You Will Learn

• What are the Amazon Web Services?

• What are the principal AWS components?

• How do they fit together?

• How can I use AWS Elastic Beanstalk?
Amazon Web Services

• Launched in 2006

• Hundreds of thousands of customers in 190 countries

• Building-block IT services

• Sign up with a credit card at http://aws.amazon.com
AWS PLATFORM
                      Cloud-Powered Applications
                     Management & Administration
Administration       Identity &
                                       Deployment      Monitoring
  Console             Access

                     Application Platform Services
  Content                               Parallel       Libraries &
                    Messaging
 Distribution                          Processing         SDKs

                          Foundation Services
  Compute            Storage            Database      Networking


                          Global Infrastructure
                     Regions
                                                     Edge Locations
                 Availability Zones
AWS Management Console
Amazon EC2 Architecture

                   Region
  Amazon
  Machine      Availability Zone                 Ephemeral
Image (AMI)                                       Storage

                EC2 Instance
                                      Elastic
                                       Block
                                      Storage
CloudWatch
                  Security
                  Group(s)
                                          Amazon S3
                  Elastic IP
Auto Scaling      Address            EBS                EBS
                                   Snapshot           Snapshot




               Load Balancing
EC2 – Regions and Availability Zones

Region – One of 7 distinct physical locations:

• Northern Virginia, San Francisco, Oregon, Tokyo,
  Singapore, Brazil, Ireland

Availability Zone
• Physical infrastructure (1 or more data centers)
• 2 or more AZ’s per Region
• Fault tolerance across AZ’s
EC2 Instance

• Amazon EC2: A Virtual Server in the Cloud
   •   Provision and boot new servers in minutes
   •   Boot from AMI (Amazon Machine Image)
   •   Your choice of Linux or Windows
   •   Quickly scale capacity up or down
   •   Deploy across Regions and Availability Zones for reliability
   •   Choose from 14 different instance types:
       •   CPU power
       •   RAM
       •   Local disk
       •   Network speed
EC2 Security Group

• Virtual firewall
• Control access to instance
• Default configuration: no access
EC2 Elastic IP Address

• Fixed IP address
• Map to any EC2 instance in a Region
• Retain address after switching instances
EC2 Elastic Load Balancer

Distribute traffic to an array of EC2 instances
• Scale up or scale down
• Health checks
• Traffic goes to healthy instances
• Configurable list of ports
Amazon CloudWatch

•   Tracks and stores AWS and user-defined metrics
•   2 week retention period
•   Detect issues
•   Raise alerts
EC2 Auto Scaling
• Control number of running EC2 instances
• Scale up or down as needed
• Drive decisions based on CloudWatch metrics
     • CPU load
     • Network traffic
• No direct console UI at present:
     • Command line
     • API
     • Elastic Beanstalk
• Auto-scaling group
     • Instance collection
     • Actions (rules)
EC2 Elastic Block Storage (EBS)
•   Virtual disk volumes
•   1 GB – 1 TB per volume
•   Create and attach to EC2 instance
•   Format and write data
•   Snapshot and restore
•   Provison desired IOPS (up to 1000 per volume)
What’s Next?
         So…those are all of the parts!




        Can we put them all together?
AWS Elastic Beanstalk- Intro
• Easy to deploy and manage applications in AWS
• Application Container / PaaS (Platform-as-a-Service)
• Get started at no charge (free usage tier)

• You:
     • Create and upload application

• Elastic Beanstalk:
     •   Capacity provisioning (EC2)
     •   Load balancing (ELB)
     •   Auto-scaling (Auto Scaling)
     •   Application health monitoring (CloudWatch)
AWS Elastic Beanstalk - Environments

          .NET                          PHP                      Java

•   AWS SDK for .NET          •   AWS SDK for PHP        AWS SDK for Java
•   Visual Studio Toolkit     •   Existing dev tools     Eclipse Toolkit
•   Microsoft Web Deploy      •   Git-based deployment
                                                         Upload WAR file
•   Upload ZIP                •   GIT PUSH
                                                         Linux + Tomcat + Apache
•   Microsoft Windows + IIS   •   Linux + Apache
AWS Elastic Beanstalk – Development & Deployment
AWS Elastic Beanstalk in Action (1)
Create some code (index.php)

Check code into Git:

    <devserver>: git init
    Initialized empty Git repository in
    /home/jeff/jeffbarr_core/projects/bs_demo_1/.git/

    <devserver>: git add .

    <devserver>: git commit -m"Initial check-in."
    [master (root-commit) fc57da3] Initial check-in.
     1 files changed, 8 insertions(+), 0 deletions(-)
     create mode 100644 index.php
AWS Elastic Beanstalk in Action (2)

Create Beanstalk Application
AWS Elastic Beanstalk in Action (2)

Wait for Application to Launch (Several Minutes)
AWS Elastic Beanstalk in Action (3)
AWS Elastic Beanstalk in Action (4)

Install and configure AWS DevTools

<devserver>: git aws.config
AWS Access Key: ……………………
AWS Secret Key: ……………………………
AWS Region: us-east-1
AWS Elastic Beanstalk Application: My First Elastic Beanstalk Application
AWS Elastic Beanstalk Environment: Default-Environment
AWS Elastic Beanstalk in Action (5)
Push new application code:

<devserver>: git aws.push
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 307 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
remote:
To
https://180P9FEG65H0CMCANER2:20120601T212315Zac4b3d5b9f
887ae461b3079927762543d94a83855a2ad0beed66b2c27b3b435e@
git.elasticbeanstalk.us-east-
1.amazonaws.com/repos/4d7920466972737420456c61737469632
04265616e7374616c6b204170706c6963617469
6f6e/Default-Environment
AWS Elastic Beanstalk in Action (6)
AWS Elastic Beanstalk in Action (7)
AWS Free Usage Tier
Next Steps for You

• Sign up for free account at http://aws.amazon.com/free/

• Build and deploy your first PHP application

• Read AWS blog at http://aws.typepad.com

• Send questions my way – jbarr@amazon.com
Thanks for Listening!
    jbarr@amazon.com
         @jeffbarr

More Related Content

What's hot

10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
Amazon Web Services Korea
 

What's hot (20)

Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
 
Intro to Amazon ECS
Intro to Amazon ECSIntro to Amazon ECS
Intro to Amazon ECS
 
What is AWS?
What is AWS?What is AWS?
What is AWS?
 
AWS ELB
AWS ELBAWS ELB
AWS ELB
 
AWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On GuideAWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On Guide
 
Amazon Virtual Private Cloud
Amazon Virtual Private CloudAmazon Virtual Private Cloud
Amazon Virtual Private Cloud
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Intro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute ServicesIntro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute Services
 
AWS Lambda Features and Uses
AWS Lambda Features and UsesAWS Lambda Features and Uses
AWS Lambda Features and Uses
 
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
 
Getting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and ServerlessGetting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and Serverless
 
Intro to AWS Lambda
Intro to AWS Lambda Intro to AWS Lambda
Intro to AWS Lambda
 
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
[AWS Builders] AWS상의 보안 위협 탐지 및 대응[AWS Builders] AWS상의 보안 위협 탐지 및 대응
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
 
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
 
[AWS Builders] AWS IAM 을 통한 클라우드에서의 권한 관리 - 신은수, AWS Security Specialist SA
[AWS Builders] AWS IAM 을 통한 클라우드에서의 권한 관리 - 신은수, AWS Security Specialist SA[AWS Builders] AWS IAM 을 통한 클라우드에서의 권한 관리 - 신은수, AWS Security Specialist SA
[AWS Builders] AWS IAM 을 통한 클라우드에서의 권한 관리 - 신은수, AWS Security Specialist SA
 
What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?
 
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
 
Using Virtual Private Cloud (vpc)
Using Virtual Private Cloud (vpc)Using Virtual Private Cloud (vpc)
Using Virtual Private Cloud (vpc)
 
천만사용자를 위한 AWS 클라우드 아키텍처 진화하기 – 문종민, AWS솔루션즈 아키텍트:: AWS Summit Online Korea 2020
천만사용자를 위한 AWS 클라우드 아키텍처 진화하기 – 문종민, AWS솔루션즈 아키텍트::  AWS Summit Online Korea 2020천만사용자를 위한 AWS 클라우드 아키텍처 진화하기 – 문종민, AWS솔루션즈 아키텍트::  AWS Summit Online Korea 2020
천만사용자를 위한 AWS 클라우드 아키텍처 진화하기 – 문종민, AWS솔루션즈 아키텍트:: AWS Summit Online Korea 2020
 
AWS Elastic Load Balancing for AWS Architect & SysOps Certification
AWS Elastic Load Balancing for AWS Architect & SysOps CertificationAWS Elastic Load Balancing for AWS Architect & SysOps Certification
AWS Elastic Load Balancing for AWS Architect & SysOps Certification
 

Similar to Amazon Web Services - Elastic Beanstalk

Accelerating SharePoint for Mobile Solutions on AWS
Accelerating SharePoint for Mobile Solutions on AWSAccelerating SharePoint for Mobile Solutions on AWS
Accelerating SharePoint for Mobile Solutions on AWS
Amazon Web Services
 
AWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best PracticesAWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best Practices
Amazon Web Services
 
Best Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrBest Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff Barr
Amazon Web Services
 
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - WebinarHow to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
Amazon Web Services
 

Similar to Amazon Web Services - Elastic Beanstalk (20)

[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop
 
Getting Started on AWS
Getting Started on AWSGetting Started on AWS
Getting Started on AWS
 
Running Microsoft SharePoint On AWS - Smartronix and AWS - Webinar
Running Microsoft SharePoint On AWS - Smartronix and AWS - WebinarRunning Microsoft SharePoint On AWS - Smartronix and AWS - Webinar
Running Microsoft SharePoint On AWS - Smartronix and AWS - Webinar
 
Introduction to DevOps on AWS
Introduction to DevOps on AWSIntroduction to DevOps on AWS
Introduction to DevOps on AWS
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
O'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The Cloud
 
Best Practices: Microsoft on AWS - Miles Ward - AWS Summit 2012 Australia
Best Practices: Microsoft on AWS - Miles Ward - AWS Summit 2012 AustraliaBest Practices: Microsoft on AWS - Miles Ward - AWS Summit 2012 Australia
Best Practices: Microsoft on AWS - Miles Ward - AWS Summit 2012 Australia
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and Docker
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Design
 
Accelerating SharePoint for Mobile Solutions on AWS
Accelerating SharePoint for Mobile Solutions on AWSAccelerating SharePoint for Mobile Solutions on AWS
Accelerating SharePoint for Mobile Solutions on AWS
 
Aws-What You Need to Know_Simon Elisha
Aws-What You Need to Know_Simon ElishaAws-What You Need to Know_Simon Elisha
Aws-What You Need to Know_Simon Elisha
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
Architecting for AWS Cloud - let's do it right!
Architecting for AWS Cloud - let's do it right!Architecting for AWS Cloud - let's do it right!
Architecting for AWS Cloud - let's do it right!
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
AWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best PracticesAWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best Practices
 
Best Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrBest Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff Barr
 
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - WebinarHow to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
 
Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)
 
From your First Migration to Mass migrations.
From your First Migration to Mass migrations. From your First Migration to Mass migrations.
From your First Migration to Mass migrations.
 

More from Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Recently uploaded (20)

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 

Amazon Web Services - Elastic Beanstalk

  • 1. Amazon Web Services – Elastic Beanstalk Jeff Barr – Senior Evangelist @jeffbarr
  • 2. My Background Education: • BS in Computer Science, The American University, 1985 • Grad student in Digital Media, University of Washington, 2010-Present Background: • Microsoft Visual Studio team • Consulting to startups and VC’s • Amazon employee since 2002 Author, “Host Your Web Site in the Cloud” Email: jbarr@amazon.com Twitter: @jeffbarr Copyright © 2011, Amazon Web Services LLC or its affiliates. All rights reserved.
  • 3. What You Will Learn • What are the Amazon Web Services? • What are the principal AWS components? • How do they fit together? • How can I use AWS Elastic Beanstalk?
  • 4. Amazon Web Services • Launched in 2006 • Hundreds of thousands of customers in 190 countries • Building-block IT services • Sign up with a credit card at http://aws.amazon.com
  • 5. AWS PLATFORM Cloud-Powered Applications Management & Administration Administration Identity & Deployment Monitoring Console Access Application Platform Services Content Parallel Libraries & Messaging Distribution Processing SDKs Foundation Services Compute Storage Database Networking Global Infrastructure Regions Edge Locations Availability Zones
  • 7. Amazon EC2 Architecture Region Amazon Machine Availability Zone Ephemeral Image (AMI) Storage EC2 Instance Elastic Block Storage CloudWatch Security Group(s) Amazon S3 Elastic IP Auto Scaling Address EBS EBS Snapshot Snapshot Load Balancing
  • 8. EC2 – Regions and Availability Zones Region – One of 7 distinct physical locations: • Northern Virginia, San Francisco, Oregon, Tokyo, Singapore, Brazil, Ireland Availability Zone • Physical infrastructure (1 or more data centers) • 2 or more AZ’s per Region • Fault tolerance across AZ’s
  • 9. EC2 Instance • Amazon EC2: A Virtual Server in the Cloud • Provision and boot new servers in minutes • Boot from AMI (Amazon Machine Image) • Your choice of Linux or Windows • Quickly scale capacity up or down • Deploy across Regions and Availability Zones for reliability • Choose from 14 different instance types: • CPU power • RAM • Local disk • Network speed
  • 10.
  • 11. EC2 Security Group • Virtual firewall • Control access to instance • Default configuration: no access
  • 12. EC2 Elastic IP Address • Fixed IP address • Map to any EC2 instance in a Region • Retain address after switching instances
  • 13. EC2 Elastic Load Balancer Distribute traffic to an array of EC2 instances • Scale up or scale down • Health checks • Traffic goes to healthy instances • Configurable list of ports
  • 14. Amazon CloudWatch • Tracks and stores AWS and user-defined metrics • 2 week retention period • Detect issues • Raise alerts
  • 15. EC2 Auto Scaling • Control number of running EC2 instances • Scale up or down as needed • Drive decisions based on CloudWatch metrics • CPU load • Network traffic • No direct console UI at present: • Command line • API • Elastic Beanstalk • Auto-scaling group • Instance collection • Actions (rules)
  • 16. EC2 Elastic Block Storage (EBS) • Virtual disk volumes • 1 GB – 1 TB per volume • Create and attach to EC2 instance • Format and write data • Snapshot and restore • Provison desired IOPS (up to 1000 per volume)
  • 17. What’s Next? So…those are all of the parts! Can we put them all together?
  • 18. AWS Elastic Beanstalk- Intro • Easy to deploy and manage applications in AWS • Application Container / PaaS (Platform-as-a-Service) • Get started at no charge (free usage tier) • You: • Create and upload application • Elastic Beanstalk: • Capacity provisioning (EC2) • Load balancing (ELB) • Auto-scaling (Auto Scaling) • Application health monitoring (CloudWatch)
  • 19. AWS Elastic Beanstalk - Environments .NET PHP Java • AWS SDK for .NET • AWS SDK for PHP AWS SDK for Java • Visual Studio Toolkit • Existing dev tools Eclipse Toolkit • Microsoft Web Deploy • Git-based deployment Upload WAR file • Upload ZIP • GIT PUSH Linux + Tomcat + Apache • Microsoft Windows + IIS • Linux + Apache
  • 20. AWS Elastic Beanstalk – Development & Deployment
  • 21. AWS Elastic Beanstalk in Action (1) Create some code (index.php) Check code into Git: <devserver>: git init Initialized empty Git repository in /home/jeff/jeffbarr_core/projects/bs_demo_1/.git/ <devserver>: git add . <devserver>: git commit -m"Initial check-in." [master (root-commit) fc57da3] Initial check-in. 1 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 index.php
  • 22. AWS Elastic Beanstalk in Action (2) Create Beanstalk Application
  • 23. AWS Elastic Beanstalk in Action (2) Wait for Application to Launch (Several Minutes)
  • 24. AWS Elastic Beanstalk in Action (3)
  • 25. AWS Elastic Beanstalk in Action (4) Install and configure AWS DevTools <devserver>: git aws.config AWS Access Key: …………………… AWS Secret Key: …………………………… AWS Region: us-east-1 AWS Elastic Beanstalk Application: My First Elastic Beanstalk Application AWS Elastic Beanstalk Environment: Default-Environment
  • 26. AWS Elastic Beanstalk in Action (5) Push new application code: <devserver>: git aws.push Counting objects: 3, done. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 307 bytes, done. Total 3 (delta 0), reused 0 (delta 0) remote: To https://180P9FEG65H0CMCANER2:20120601T212315Zac4b3d5b9f 887ae461b3079927762543d94a83855a2ad0beed66b2c27b3b435e@ git.elasticbeanstalk.us-east- 1.amazonaws.com/repos/4d7920466972737420456c61737469632 04265616e7374616c6b204170706c6963617469 6f6e/Default-Environment
  • 27. AWS Elastic Beanstalk in Action (6)
  • 28. AWS Elastic Beanstalk in Action (7)
  • 30. Next Steps for You • Sign up for free account at http://aws.amazon.com/free/ • Build and deploy your first PHP application • Read AWS blog at http://aws.typepad.com • Send questions my way – jbarr@amazon.com
  • 31. Thanks for Listening! jbarr@amazon.com @jeffbarr

Editor's Notes

  1. Amazon Web Services is a set of primitive building blocks to enable developers to build applications and, ultimately, businesses, on our battle-tested infrastructure. So what kinds of building blocks do developers need? First, you need compute resources. The Elastic Compute Cloud, or EC2, allows developers to rent virtual computers, running in our data centers, and pay for them by the hour. Provision as many as you need – 1, 10, 1000, for as long as you need them, and you pay only for what you use (starting at 10 cents/hour). Next, you probably need somewhere to durably store and retrieve data. The Simple Storage Service, is, well, a simple storage service that allows to store and retrieve objects in the cloud using simple put and get API calls.You might need to index and query for that data, or create other structured data that you want to query, which is what we built SimpleDB.