SlideShare uma empresa Scribd logo
1 de 58
Baixar para ler offline
Architecting robust
applications for Amazon EC2


            Chris Richardson
       Author of POJOs in Action
Founder of Cloud Tools and Cloud Foundry
                                       y
    Chris Richardson Consulting, Inc
        www.chrisrichardson.net
Overall presentation g
        p            goal


 Show how to deploy Java and
     Grails applications on
 Amazon Elastic Compute Cloud




                                                                      Slide 2
          Copyright (c) 2009 Chris Richardson. All rights reserved.
About Chris
                                Grew up in England and live in Oakland, CA
                      •
                                Over 20+ years of software development
                      •
                                experience including 12 years of Java
                                Author of POJOs in Action
                      •
                                Speaker at JavaOne, SpringOne, NFJS,
                      •
                                JavaPolis, Spring Experience, etc.
                                Chair of the eBIG Java SIG in Oakland
                      •
                                (www.ebig.org)
                                Run the Groovy/Grails meetup
                      •
                                (http://java.meetup.com/161)
                                Run a consulting and training company that
                                  u    co su t g a d t a     g co pa y t at
                      •
                                helps organizations reduce development costs
                                and increase effectiveness
                                Founder of Cloud Tools, an open-source project
                      •
                                for deploying Java applications on Amazon EC2:
                                http://code.google.com/p/cloudtools
                                http://code google com/p/cloudtools
                                Founder of a startup that provides outsourced,
                      •
                                automated, and Java-centric datacenter
                                management on the cloud:
                                www.cloudfoundry.com
                                                  y



                                                                     Slide 3
         Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
   pyg




                                                                      Slide 4
          Copyright (c) 2009 Chris Richardson. All rights reserved.
Power generation
      g
   Past                                                               Present




                                                                                Slide 5
          Copyright (c) 2009 Chris Richardson. All rights reserved.
Computing has come a long way
   p    g               g   y

  Past                                                                                  Present




         www.computermuseum.org.uk

                                                                                         www.dell.com
                                                                                             de co




                                                                                            Slide 6
                            Copyright (c) 2009 Chris Richardson. All rights reserved.
Yet we rarely have enough hardware
                y          g




Can we afford the production hardware?
Do we know how much to buy?
How long does it take to buy and install?
Who is going to set it up?
Can we afford a test lab?

                                                                                              Slide 7
                                  Copyright (c) 2009 Chris Richardson. All rights reserved.
Cloud computing
         p    g



     A pool of highly scalable, abstracted
        infrastructure that hosts your
         application, and is billed by
                 consumption
                         p
                                                                  By James Staten
                                                                  of Forrester
                                                                  Research




                    AND
      is managed via a web services API
                                                                                me




                                                                                     Slide 8
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Amazon-Style Cloud Computing
         y            p    g

  Simple Q
  Si  l Queue SService
                   i                                              Simple DB
                                                                  Si   l
         (SQS)                                                (name/attribute pairs)



                   Elastic Compute Cloud
                                                                                Pay per
                            (
                            (EC2)
                                )
                                                                                  use
                                                                                services
Simple Storage Service
                                                                                managedd
         (S3)                              Elastic Block Store
                                             (EBS - SAN)
                                                                                   by
     CloudFront
                                                                                Amazon
   (content delivery)

                                                                                   Slide 9
                    Copyright (c) 2009 Chris Richardson. All rights reserved.
Sign up
  g   p

                                                                      Login using your
                                                                      existing Amazon
                                                                      account
                                                                      Select the web
                                                                      services you want to
                                                                      use
                                                                      Only takes a few
                                                                      minutes
                                                                      But
                                                                      B t can sometimes
                                                                                     ti
                                                                      be confusing:
                                                                      various ids, keys,
                                                                      certificates etc




                                                                                   Slide 10
          Copyright (c) 2009 Chris Richardson. All rights reserved.
Make web service calls…
                                     <RunInstancesResponse>
                                     <reservationId>r-60907709</reservationId>
                                     <ownerId>556666664445</ownerId>
                                     …
                                     <instancesSet>
                                        <item>
                                           <instanceId>i-4ef21327</instanceId>
                                           <imageId>ami-3795705e</imageId>
                                           <instanceState>
https://ec2.amazonaws.com?
                                             <code>0</code>
Action=RunInstances
                                             <name>pending</name>
&ImageId=ami-3795705e                      </instanceState>
&MaxCount=1                                <placement>
&MinCount=1                                 <availabilityZone>us-east-1b</availabilityZone>
…                                          </placement>
                                           <dnsName/>
                                           <reason/>
                                                   /
                                           <keyName>gsg-keypair</keyName>
                                           <amiLaunchIndex>0</amiLaunchIndex>
                                        </item>
                                     </instancesSet>
                                      /
                                     </RunInstancesResponse>


                                                                                         Slide 11
                             Copyright (c) 2009 Chris Richardson. All rights reserved.
… a few minutes later


cer@arrakis ~
$ ssh … root@ec2-67-202-41-150.compute-1.amazonaws.com
Last login: Sun Dec 30 18:54:43 2007 from 71.131.29.181
[root@domU-12-31-36-00-38-23:~]




                                                                                    Slide 12
                        Copyright (c) 2009 Chris Richardson. All rights reserved.
Pay per use computing
  yp           p    g
         Virtual   Compute                     32/                 Memory          Storage $/hr
         Cores     Units                       64                                          **
                   /core*                      Bit
Small    1         1                           32 bit 1.7G                         160G    0.10
High
High-    2         2.5
                   25                          32 bit 1 7G
                                                      1.7G                         350G    0.20
                                                                                           0 20
CPU
Medium
Large
 ag      2         2                           6b
                                               64 bit 7.5G
                                                        5G                         850G    00
                                                                                           0.40
Extra    4         2                           64 bit 15G                          1690G   0.80
Large
High-
High     8         2.5
                   25                          64 bit 7G                           1690G   0.80
                                                                                           0 80
CPU XL

   * EC2 Compute Unit = 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor
   ** Windows more expensive, external bandwidth: $0.10-0.18/Gbyte

                                                                                           Slide 13
                       Copyright (c) 2009 Chris Richardson. All rights reserved.
Operating systems
 p      gy
 Use Amazon provided Machine Image (AMI)
   32/64 bit
   32/64-bit Fedora Core 4/6/8
   Windows Server 2003 ($0.125-$2/hour)
   Optional SQL Server Standard ($1.10-
   3.20/hour)
 Many 3rd parties have public AMIs
   Various Linux distributions
   E.g. Redhat,
   E g Redhat RightScale
 Sun provides OpenSolaris
 Build your own AMI:
   Install applications starting with existing AMI
   and save new AMI
   Create an AMI from scratch


                                                                           Slide 14
               Copyright (c) 2009 Chris Richardson. All rights reserved.
Using AWS in y
    g        your application
                   pp
 S3 - Store media etc in S3
 SQS - messaging between loosely
 coupled components
 SimpleDB – alternative to RDBMS
 CloudFront – to distribute content
 Using these APIs
   Couples your application to AWS
   But using them is optional


                                                                        Slide 15
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Developing on EC2
      pg
 Immediate access to many servers
 Simplified setup
 Great for testing
                 g




                                                                       Slide 16
           Copyright (c) 2009 Chris Richardson. All rights reserved.
Deploying on Amazon EC2 –
startups/small businesses
      p/
 Some VCs require it
 Get up and running quickly
 Validate your business idea without:
          y
   Upfront costs
   Long-term financial commitment
      g
 Scale up/down with load
 Reduces the risk of a success
 catastrophe


                                                                        Slide 17
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Deploying on Amazon EC2 –
enterprises
     p
 No need to wait for corporate IT
   In some companies it can take 2
   months to acquire hardware
   Requires a long-term financial
   commitment,
   commitment upfront costs
 Use for short-term projects, e.g.
   Websites for marketing campaigns
                        g     pg
   New York Times style projects
 Use for applications that have
 fluctuating loads e.g.
             loads, e g
   heavily used once a week, once a
   month


                                                                          Slide 18
              Copyright (c) 2009 Chris Richardson. All rights reserved.
Example – beer on the cloud
    p

 Grails application
 Short-term
 marketing
 campaign site
 Fluctuating load
   Sat/Sun 4 servers
   Mon Fri
   Mon-Fri 1 server




                                                                          Slide 19
              Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
   pyg




                                                                       Slide 20
           Copyright (c) 2009 Chris Richardson. All rights reserved.
EC2 API and Tools
 Amazon provided CLI tools
     CLI equivalents of APIs
          q
     AMI creation tools
 AWS CLI tools from Tim Kay
     CLI for S3 and EC2
     Alternatives to Amazon CLI tools
 AWS Console
     Very slick
        y
 ElasticFox
     Awesome Firefox plugin
     Launch and manage instances
 S3 Organizer
     Firefox plugin
     Manipulate S3 buckets and objects
 …
                                                                              Slide 21
                  Copyright (c) 2009 Chris Richardson. All rights reserved.
AWS Management Console
        g




                                                                    Slide 22
        Copyright (c) 2009 Chris Richardson. All rights reserved.
Firefox plugins
         pg
ElasticFox




       S3 Organizer


                                                                                  Slide 23
                      Copyright (c) 2009 Chris Richardson. All rights reserved.
Cloud Tools
 Open-source project
 32 and 64 bit AMIs
   Cent OS 5.10
   Apache/Tomcat/MySQL/JMeter/JetS3t installed
 EC2Deploy framework
 EC2D l    f       k
   Extensible, object-oriented
   Launches instances
   Configures Tomcat, MySQL, Apache
   Deploys web applications      •Quicker
   Runs Jmeter tests             deployment
                                 •More accurate
   Written in Groovy
                                                                          configuration
 Maven and Grails plugins
   Quick and easy deployment to EC2

                                                                                      Slide 24
              Copyright (c) 2009 Chris Richardson. All rights reserved.
Cloud Foundry
            y




                                                                     Slide 25
         Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
    pyg
   The basics
   Running the web tier
          g
   Deploying a database
   Handling security
   High availability



                                                                        Slide 26
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Issues with AWS
                                                                                            Cloud Computing Survey: IT
                                                                                            Leaders See Big Promise,
                                                                                            Have Big Security Questions
         Security:
               Runs HIPAA compliant apps BUT
               Lack of PCI compliance
               Discomfort with sending
                                     g
               customer data to a 3rd party
         Technology:
               Not yet suitable for extremely
               large relational databases
               Lack of very large machines,
               e.g. 64G memory
               Lack of multicast and multiple IP
               addresses
         Financials:
               Cost of bandwidth
               Steady state costs > your own
               hardware
               hd
www.cio.com/article/455832/Cloud_Computing_Survey_IT_Leaders_See_Big_Promise_Have_Big_Security_Questions

                                                                                                                   Slide 27
                                      Copyright (c) 2009 Chris Richardson. All rights reserved.
Cost issues
 Running larger servers 24 x 7 looks expensive
 ( g $560/month)
 (e.g. $   /      )

     BUT when owning your own hardware

 Lack of elasticity
    Long procurement time
    Must buy for the estimated peak load
    Must buy redundant hardware
    Risk of a success catastrophe
 Cost
    Electricity, cooling, space
    System administration costs
    Management overhead


                                                                             Slide 28
                 Copyright (c) 2009 Chris Richardson. All rights reserved.
Starter website - $
                       w w w .a c m e .c o m



                                                                          Low cost - $72/month
 E la s tic IP A

 E C 2 In s ta n c e

                                                                          Elastic - load increases ⇒
                                                                          expand in a few minutes
                                                                                 di     f     it
                               Apache




                                                                          Available –instance crashes ⇒
                                                                          replace in a few minutes
                                                                            p
                               T om cat




                               M ySQ L




                            E B S V o lu m e




                                                                                                           Slide 29
                                               Copyright (c) 2009 Chris Richardson. All rights reserved.
Higher capacity website - $$
  g      p    y

                www.acme.com
                www acme com
                                                                   Low cost - > ~$216/month (1
  Elastic IP
                                                                   or more Tomcats, 0 or more
                                                                   Slaves)
                      Apache


                                                                   Elastic - load changes ⇒ quickly
                                                                   expand/subtract Tomcats with
                                                                   no downtime
                               Tomcat
 Tomcat


                                                                   Available –instance crashes ⇒
                                                                   replace in a few minutes
            MySQL
                                  MySql (slave)
           (Master)




          EBS Volume




                                                                                                    Slide 30
                                        Copyright (c) 2009 Chris Richardson. All rights reserved.
Batch processing architecture
      p        g

                                                                      e.g.
                                                                      e g media transcoding




                                                                                     Slide 31
          Copyright (c) 2009 Chris Richardson. All rights reserved.
Easy upgrades
   y pg
 Clone production environment
   Make read-only or turn off
   Snapshot EBS volumes and create new
   volumes
     l
 Apply upgrades to clone
 Test clone
 Move elastic IP addresses to clone
 Terminate old instances once you are
 sure that everything works

                                                                        Slide 32
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
    pyg
   The basics
   Running the web tier
          g
   Deploying a database
   Handling security
   High availability



                                                                       Slide 33
           Copyright (c) 2009 Chris Richardson. All rights reserved.
No hardware load balancing
                         g
 Coming in 2009
 Use software load balancer
   Apache
   HAProxy
   …




                                                                         Slide 34
             Copyright (c) 2009 Chris Richardson. All rights reserved.
Elastic IP addresses
 Instance IP addresses are dynamically
 allocated on start-up
              start up
   Does not work well for publicly accessible
   services, e.g. a website
 Elastic IP addresses:
   Statically allocated public IP addresses
   Associated with your account
   Attached to an instance (e g public facing web
                             (e.g.
   server) = it's public IP address
   You configure DNS to resolve to the elastic IP
   address
 Pricing:
   Non-attached Elastic IP address - $0.01/hour
   $0.10
   $0 10 per remap (if > 100 in a month)

                                                                           Slide 35
               Copyright (c) 2009 Chris Richardson. All rights reserved.
Elastic IP address operations
                    p
Operation            Parameters                                                  XML document

DescribeAddresses    PublicIp.n (optional)                                       List of IP addresses
                                                                                 and associated
                                                                                 instance id

AllocateAddress      -                                                           Public IP address

Release Address      Public Ip address                                           -

AssociateAddress     InstanceId,
                     InstanceId Public IP                                        -
                     Address

DisasssociateAddress Public IP Address                                           -


                                                                                                 Slide 36
                     Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
    pyg
   The basics
   Running the web tier
          g
   Deploying a database
   Handling security
   High availability



                                                                       Slide 37
           Copyright (c) 2009 Chris Richardson. All rights reserved.
Elastic Block Storage
                   g
 Local storage is ephemeral
 Mountable storage volumes
 M    t bl t          l
   quot;On-demand SANquot;
   Size: 1 GB to 1 TB
   Mount on a single instance
 Create snapshots
           p
   Stored in S3
   Create new volumes from the snapshot
 Cost:
 C
   $0.10/GByte/month
   $0.10
   $0 10 per 1 million I/O requests

                                                                          Slide 38
              Copyright (c) 2009 Chris Richardson. All rights reserved.
Using EBS Volumes
      g
AWS:
CreateVolume Size=50G
AttachVolume InstanceId=… Device=/dev/sdh

mkfs.xfs
mkfs xfs /dev/sdh
echo quot;/dev/sdh /vol xfs noatime 0 0quot; >> /etc/fstab
mkdir /vol
mount /vol
mkdir /vol/lib /vol/log
mv /var/lib/mysql /vol/lib


[mysql.server]
user=mysql
basedir=/vol/lib
basedir /vol/lib

                                                                                  Slide 39
                      Copyright (c) 2009 Chris Richardson. All rights reserved.
Backing up your database
          g py

mysqldump --add-drop-database --databases foo | gzip > backup.sql.gz
now=`date +%d%m%y_%H%M`
aws put $bucket/${object}_${now}.sql.gz backup.sql.gz
aws copy $bucket/${object}_latest $bucket/${object}_${now}.sql.gz


FLUSH TABLES WITH READ LOCK
SHOW MASTER STATUS

xfs_freeze -f /vol

# AWS WS: CreateSnapshot

xfs_freeze u
xfs freeze -u /vol

UNLOCK TABLES




                                                                                          Slide 40
                              Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
    pyg
   The basics
   Running the web tier
         g
   Deploying a database
   Handling security
   High availability



                                                                        Slide 41
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Security benefits of cloud
computing
   p     g
  Leverages the world class security
  techniques of amazon.com
  Cloud infrastructure enables:
    Unlimited logging
    Ability to test changes on a clone
    Clone servers and volumes for forensic
    analysis




                                                                          Slide 42
              Copyright (c) 2009 Chris Richardson. All rights reserved.
The usual security best practices
                 y      p
  Turn off unused services
  File ownership and permissions
  Disabling password based ssh login
          gp                     g
  Standard Linux, Apache, Tomcat and
  MySQL best practices
    yQ        p




                                                                        Slide 43
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Network security
               y
 Cannot sniff traffic for other instances
 Use EC2 firewall – aka. security
 groups
 Consider encrypting network traffic
 Limit SSH access to only your location
                           yy




                                                                        Slide 44
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Security Groups
       y     p
 Named set of firewall rules associated with your
 account
 An instance
    Belongs to one or more security groups
    Defaults to “default” security group
                                   g
 Permits inbound traffic                                                     ?Action=RunInstances
    Protocol: tcp, udp                                                       &SecurityGroup.1=g1
    Range of ports                                                           &SecurityGroup.2=g2
 From:
    Anywhere – specific port range
    An IP address (range) – specific port range
    Another group - all ports                When you first
 Common usage                                                                     signup don’t
    Port 80 (http)/443 (https) – anywhere                                         forget to enable
    Port 22 (ssh) – just from your location                                       SSH traffic
                                                                                          ff

                                                                                           Slide 45
                 Copyright (c) 2009 Chris Richardson. All rights reserved.
Using security groups
    g        yg    p




                                                                      Slide 46
          Copyright (c) 2009 Chris Richardson. All rights reserved.
Use a software firewall
  E.g. iptables
 In addition to security groups
   Security Group: Tomcat Servers are only
   accessible from Apache Server
   iptables: Tomcat servers only allow port
   22 and port 8009 (AJP)
           po t




                                                                         Slide 47
             Copyright (c) 2009 Chris Richardson. All rights reserved.
Storage security
     g         y
 Amazon wipes disks so one customer
 cannot see another’s data
 But
   You don’t know where it is
   Amazon could be subpoena’d
 Consider encrypting data
   Encrypted file systems
   Encrypting sensitive data in DB
   Encrypting backups in S3

                                                                         Slide 48
             Copyright (c) 2009 Chris Richardson. All rights reserved.
Agenda
 g
 Amazon-style cloud computing
 Using Amazon EC2
 Deploying on Amazon EC2
    pyg
   The basics
   Running the web tier
          g
   Deploying a database
   Handling security
   High availability



                                                                        Slide 49
            Copyright (c) 2009 Chris Richardson. All rights reserved.
Deploying highly available
applications
 pp
  AWS has had very well publicized
  outages
                  BUT…
  Is internal IT really any better?
  In reality: AWS is (more) reliable
           y          (     )
  Don’t forget:
    You are not responsible for the hardware
    Instance fails ⇒ Launch a new one in a
    few minutes

                                                                          Slide 50
              Copyright (c) 2009 Chris Richardson. All rights reserved.
But once in a blue moon
 From: Amazon EC2 Notification ec2-notification@amazon.com
 Subject: Notice: Degraded Amazon EC2 Instance
 To: XXXXX@yahoo com
     XXXXX@yahoo.com
 Date: Friday, January 23, 2009, 5:54 AM
 Hello,

 We have noticed that one or more of your instances are running on a host
 degraded due to hardware failure
                           failure.

   i-5e0b8b34

 The risk of your instances failing is increased at this point. We cannot
 determine the health of any applications running on the instances. We recommend
 that you launch replacement instances and start migrating to them.

 Feel free to terminate the instances with the ec2-terminate-instance API when
 you are done with them.

 Let us know if you have any questions
                             questions.

 Sincerely,

 The Amazon EC2 Team




                                                                                        Slide 51
                            Copyright (c) 2009 Chris Richardson. All rights reserved.
Lack of virtual IP addresses
 One IP address for use in the cloud
 Using Elastic IP = $
 Handling active/standby failover is
          g      /     y
 difficult:
   E.g. Cannot migrate IP address of failed
   database to standby database
 Have your own host names
   Update /etc/hosts
   Run DNS server

                                                                         Slide 52
             Copyright (c) 2009 Chris Richardson. All rights reserved.
No multicast for resource discovery
                                  y
  Prevents the use of standard
  clustered resource discovery
    E.g. JGroups etc
  Use a registry:
    Database
    SimpleDB
    Security groups
    …



                                                                          Slide 53
              Copyright (c) 2009 Chris Richardson. All rights reserved.
Regions and availability zones
  g                    y

 By default, your database
                                                       us-                      eu-
 master and slave could run
 on the same physical host!
                                                      east-1                   west-1
 Regions - geographically
 dispersed locations
     p
 Availability zone -
                                                        us-east-
 engineered to be insulated
                                                                                 eu-
 from failure in other zones                              1a,
                                                                               west 1a
                                                                               west-1a
 Specify availability zone
   p   y            y
 when launching instances
                                                        us-east-
 SLA with 99.95%
 availability with multiple                                1b
 availability zones
                                                                                 eu-
 You pay for inter-zone
                                                        us-east-
 network traffic                                                               west-1b
                                                           1c


                                                                                   Slide 54
                   Copyright (c) 2009 Chris Richardson. All rights reserved.
Amazon EC2 SLA*
         99.95% availability if you are using
         >1 availability zone
         Availability
                 Instances have external connectivity
                 You can launch new instances
         Service credit for not meeting SLA



* Read the small print




                                                                                       Slide 55
                           Copyright (c) 2009 Chris Richardson. All rights reserved.
Highly available - $$$
   gy
                                   www.acme.com
                                                                                                        Higher cost - > ~$
                                                                                                                         $
                                                                                                        360/month (2 Apaches, 2
                                                                                                        MySqls, 1 or more Tomcats, 0
                                                  Elastic IP B
                                                                                                        or more Slaves)
Elastic IP A

Availability Zone A                               Availability Zone B

                                                                                                        Elastic load h
                                                                                                        El ti - l d changes ⇒
                                                                                                        quickly expand/subtract
                                                                          Apache
                       Apache
                                                                                                        Tomcats with no downtime

                                                                                                        Available – No SPOF, instance
                                                                                                                           ,
                                                                                                        crashes ⇒ replace in a few
                                                                          Tomcat
                       Tomcat
                                                                           Tomcat
                        Tomcat
                                                                                                        minutes


                                                                         MySQL
                       MySQL
                                                                        (Master 2)
                      (Master 1)




                      EBS Volume                                        EBS Volume




                                                                                                                          Slide 56
                                            Copyright (c) 2009 Chris Richardson. All rights reserved.
Summary
      y
Amazon-style cloud computing provides
    Immediate access to a scalable
    infrastructure
    Pay as you go – no upfront
    P                    f   t
    investment/commitment required
    Easily scale up/down
    Optional AWS services




                                                                         Slide 57
             Copyright (c) 2009 Chris Richardson. All rights reserved.
Final thoughts
          g
                                        Download or contribute to Cloud
                                        Tools today :
                                                  y
                                             www.cloudtools.org
                                        Checkout Cloud Foundry:
                                             www.cloudfoundry.com
                                             www cloudfoundry com
                                        Buy my book ☺
                                        Send email:
                                             chris@chrisrichardson.net
                                        Visit my website:
                                             www.chrisrichardson.net
                                        Talk to me about consulting and
                                        training
                                             Phone: 510 904 9832



                                                                       Slide 58
          Copyright (c) 2009 Chris Richardson. All rights reserved.

Mais conteúdo relacionado

Mais procurados

20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...Amazon Web Services Japan
 
Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...
Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...
Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...Amazon Web Services
 
Architecting security & governance across your AWS environment
Architecting security & governance across your AWS environmentArchitecting security & governance across your AWS environment
Architecting security & governance across your AWS environmentAmazon Web Services
 
20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用
20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用
20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用Amazon Web Services Japan
 
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...Amazon Web Services Korea
 
20190819 AWS におけるモニタリング 議論のための観点総ざらえ
20190819 AWS におけるモニタリング 議論のための観点総ざらえ20190819 AWS におけるモニタリング 議論のための観点総ざらえ
20190819 AWS におけるモニタリング 議論のための観点総ざらえAmazon Web Services Japan
 
AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...
AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...
AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...Amazon Web Services Korea
 
VMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning SeriesVMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning SeriesAmazon Web Services
 
Developing Modern Applications in the Cloud
Developing Modern Applications in the CloudDeveloping Modern Applications in the Cloud
Developing Modern Applications in the CloudCobus Bernard
 
2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOpsCobus Bernard
 
20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App Mesh20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App MeshAmazon Web Services Japan
 
아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...
아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...
아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...Amazon Web Services Korea
 
Security and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizationsSecurity and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizationsReham Maher El-Safarini
 
20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step FunctionsAmazon Web Services Japan
 
Dalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS FargateDalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS FargateAmazon Web Services
 
마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019Amazon Web Services Korea
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems ManagerAmazon Web Services Japan
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitHow to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitAmazon Web Services
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMRAmazon Web Services Japan
 

Mais procurados (20)

20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
 
Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...
Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...
Deep dive on Amazon Elastic Container Service for Kubernetes (Amazon EKS) - M...
 
Architecting security & governance across your AWS environment
Architecting security & governance across your AWS environmentArchitecting security & governance across your AWS environment
Architecting security & governance across your AWS environment
 
20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用
20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用
20190205 AWS Black Belt Online Seminar 公共機関によるAWSの利活用
 
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
Perfecting the Media Workflow Experience on AWS - Ben Masek, 월드와이드 미디어 사업개발 헤...
 
20190819 AWS におけるモニタリング 議論のための観点総ざらえ
20190819 AWS におけるモニタリング 議論のための観点総ざらえ20190819 AWS におけるモニタリング 議論のための観点総ざらえ
20190819 AWS におけるモニタリング 議論のための観点総ざらえ
 
AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...
AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...
AWS Transit Gateway를 통한 Multi-VPC 아키텍처 패턴 - 강동환 솔루션즈 아키텍트, AWS :: AWS Summit ...
 
VMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning SeriesVMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning Series
 
Developing Modern Applications in the Cloud
Developing Modern Applications in the CloudDeveloping Modern Applications in the Cloud
Developing Modern Applications in the Cloud
 
2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps2019-11-09 DevOpsNG - What I've learned from DevOps
2019-11-09 DevOpsNG - What I've learned from DevOps
 
20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App Mesh20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App Mesh
 
아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...
아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...
아름답고 유연한 데이터 파이프라인 구축을 위한 Amazon Managed Workflow for Apache Airflow - 유다니엘 A...
 
Security and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizationsSecurity and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizations
 
20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions
 
Dalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS FargateDalle macchine virtuali ai container usando AWS Fargate
Dalle macchine virtuali ai container usando AWS Fargate
 
마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
마이크로서비스를 위한 App Mesh & Cloud Map - 김세호 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitHow to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR
 

Destaque

Cloud computing - an insight into "how does it really work ?"
Cloud computing - an insight into "how does it really work ?" Cloud computing - an insight into "how does it really work ?"
Cloud computing - an insight into "how does it really work ?" Tikal Knowledge
 
Cloud Foundry Demo SD Forum Cloud Sig Feb09
Cloud Foundry Demo SD Forum Cloud Sig Feb09Cloud Foundry Demo SD Forum Cloud Sig Feb09
Cloud Foundry Demo SD Forum Cloud Sig Feb09Chris Richardson
 
Developing polyglot persistence applications (svcc, svcc2013)
Developing polyglot persistence applications (svcc, svcc2013)Developing polyglot persistence applications (svcc, svcc2013)
Developing polyglot persistence applications (svcc, svcc2013)Chris Richardson
 
Developing applications with Cloud Services (jax jax2013)
Developing applications with Cloud Services (jax jax2013)Developing applications with Cloud Services (jax jax2013)
Developing applications with Cloud Services (jax jax2013)Chris Richardson
 
What's new with tooling for Spring, Grails, and the Cloud
What's new with tooling for Spring, Grails, and the CloudWhat's new with tooling for Spring, Grails, and the Cloud
What's new with tooling for Spring, Grails, and the Cloudmartinlippert
 
Overview of Grails Object Relational Mapping (GORM)
Overview of Grails Object Relational Mapping (GORM)Overview of Grails Object Relational Mapping (GORM)
Overview of Grails Object Relational Mapping (GORM)Chris Richardson
 
Improving Tests With Object Mothers And Internal Dsls
Improving Tests With Object Mothers And Internal DslsImproving Tests With Object Mothers And Internal Dsls
Improving Tests With Object Mothers And Internal DslsChris Richardson
 
Groovy and Grails in Google App Engine
Groovy and Grails in Google App EngineGroovy and Grails in Google App Engine
Groovy and Grails in Google App EngineGuillaume Laforge
 
Greach 2014 - Road to Grails 3.0
Greach 2014  - Road to Grails 3.0Greach 2014  - Road to Grails 3.0
Greach 2014 - Road to Grails 3.0graemerocher
 
Deploying and running Grails in the cloud
Deploying and running Grails in the cloudDeploying and running Grails in the cloud
Deploying and running Grails in the cloudPhilip Stehlik
 
Google App Engine With Java And Groovy
Google App Engine With Java And GroovyGoogle App Engine With Java And Groovy
Google App Engine With Java And GroovyKen Kousen
 

Destaque (11)

Cloud computing - an insight into "how does it really work ?"
Cloud computing - an insight into "how does it really work ?" Cloud computing - an insight into "how does it really work ?"
Cloud computing - an insight into "how does it really work ?"
 
Cloud Foundry Demo SD Forum Cloud Sig Feb09
Cloud Foundry Demo SD Forum Cloud Sig Feb09Cloud Foundry Demo SD Forum Cloud Sig Feb09
Cloud Foundry Demo SD Forum Cloud Sig Feb09
 
Developing polyglot persistence applications (svcc, svcc2013)
Developing polyglot persistence applications (svcc, svcc2013)Developing polyglot persistence applications (svcc, svcc2013)
Developing polyglot persistence applications (svcc, svcc2013)
 
Developing applications with Cloud Services (jax jax2013)
Developing applications with Cloud Services (jax jax2013)Developing applications with Cloud Services (jax jax2013)
Developing applications with Cloud Services (jax jax2013)
 
What's new with tooling for Spring, Grails, and the Cloud
What's new with tooling for Spring, Grails, and the CloudWhat's new with tooling for Spring, Grails, and the Cloud
What's new with tooling for Spring, Grails, and the Cloud
 
Overview of Grails Object Relational Mapping (GORM)
Overview of Grails Object Relational Mapping (GORM)Overview of Grails Object Relational Mapping (GORM)
Overview of Grails Object Relational Mapping (GORM)
 
Improving Tests With Object Mothers And Internal Dsls
Improving Tests With Object Mothers And Internal DslsImproving Tests With Object Mothers And Internal Dsls
Improving Tests With Object Mothers And Internal Dsls
 
Groovy and Grails in Google App Engine
Groovy and Grails in Google App EngineGroovy and Grails in Google App Engine
Groovy and Grails in Google App Engine
 
Greach 2014 - Road to Grails 3.0
Greach 2014  - Road to Grails 3.0Greach 2014  - Road to Grails 3.0
Greach 2014 - Road to Grails 3.0
 
Deploying and running Grails in the cloud
Deploying and running Grails in the cloudDeploying and running Grails in the cloud
Deploying and running Grails in the cloud
 
Google App Engine With Java And Groovy
Google App Engine With Java And GroovyGoogle App Engine With Java And Groovy
Google App Engine With Java And Groovy
 

Semelhante a CommunityOneEast 09 - Running Java On Amazon EC2

Deploying Java Applicationson Ec2
Deploying Java Applicationson Ec2Deploying Java Applicationson Ec2
Deploying Java Applicationson Ec2Chris Richardson
 
Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsAdrian Cockcroft
 
Netflix Velocity Conference 2011
Netflix Velocity Conference 2011Netflix Velocity Conference 2011
Netflix Velocity Conference 2011Adrian Cockcroft
 
Developing and Deploying Java applications on the Amazon Elastic Compute Clou...
Developing and Deploying Java applications on the Amazon Elastic Compute Clou...Developing and Deploying Java applications on the Amazon Elastic Compute Clou...
Developing and Deploying Java applications on the Amazon Elastic Compute Clou...Chris Richardson
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
Modern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSModern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSAmazon Web Services
 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopMark Masterson
 
Netflix keynote-adrian-qcon
Netflix keynote-adrian-qconNetflix keynote-adrian-qcon
Netflix keynote-adrian-qconYiwei Ma
 
From Zero to still Zero: The most beautiful mistakes going into the cloud.
From Zero to still Zero: The most beautiful mistakes going into the cloud. From Zero to still Zero: The most beautiful mistakes going into the cloud.
From Zero to still Zero: The most beautiful mistakes going into the cloud. OPEN KNOWLEDGE GmbH
 
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...Amazon Web Services
 
Running Containers in a Hybrid Environment
Running Containers in a Hybrid EnvironmentRunning Containers in a Hybrid Environment
Running Containers in a Hybrid EnvironmentAmazon Web Services
 
Semplificare la gestione dei container con i servizi AWS
Semplificare la gestione dei container con i servizi AWSSemplificare la gestione dei container con i servizi AWS
Semplificare la gestione dei container con i servizi AWSAmazon Web Services
 
Cloud Computing Workshop
Cloud Computing WorkshopCloud Computing Workshop
Cloud Computing WorkshopCharlie Moad
 
Breaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container ServicesBreaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container ServicesAmazon Web Services
 
Cloud Computing Primer: Using cloud computing tools in your museum
Cloud Computing Primer: Using cloud computing tools in your museumCloud Computing Primer: Using cloud computing tools in your museum
Cloud Computing Primer: Using cloud computing tools in your museumRobert J. Stein
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019AWS Summits
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019Amazon Web Services
 
Cloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebCloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebjineshvaria
 

Semelhante a CommunityOneEast 09 - Running Java On Amazon EC2 (20)

Deploying Java Applicationson Ec2
Deploying Java Applicationson Ec2Deploying Java Applicationson Ec2
Deploying Java Applicationson Ec2
 
Netflix in the cloud 2011
Netflix in the cloud 2011Netflix in the cloud 2011
Netflix in the cloud 2011
 
Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and Ops
 
Netflix Velocity Conference 2011
Netflix Velocity Conference 2011Netflix Velocity Conference 2011
Netflix Velocity Conference 2011
 
Developing and Deploying Java applications on the Amazon Elastic Compute Clou...
Developing and Deploying Java applications on the Amazon Elastic Compute Clou...Developing and Deploying Java applications on the Amazon Elastic Compute Clou...
Developing and Deploying Java applications on the Amazon Elastic Compute Clou...
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
Modern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECSModern-Application-Design-with-Amazon-ECS
Modern-Application-Design-with-Amazon-ECS
 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing Workshop
 
Netflix keynote-adrian-qcon
Netflix keynote-adrian-qconNetflix keynote-adrian-qcon
Netflix keynote-adrian-qcon
 
From Zero to still Zero: The most beautiful mistakes going into the cloud.
From Zero to still Zero: The most beautiful mistakes going into the cloud. From Zero to still Zero: The most beautiful mistakes going into the cloud.
From Zero to still Zero: The most beautiful mistakes going into the cloud.
 
Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4
 
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
Mythical Mysfits: Monolith to Microservices with Docker and Fargate - MAD305 ...
 
Running Containers in a Hybrid Environment
Running Containers in a Hybrid EnvironmentRunning Containers in a Hybrid Environment
Running Containers in a Hybrid Environment
 
Semplificare la gestione dei container con i servizi AWS
Semplificare la gestione dei container con i servizi AWSSemplificare la gestione dei container con i servizi AWS
Semplificare la gestione dei container con i servizi AWS
 
Cloud Computing Workshop
Cloud Computing WorkshopCloud Computing Workshop
Cloud Computing Workshop
 
Breaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container ServicesBreaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container Services
 
Cloud Computing Primer: Using cloud computing tools in your museum
Cloud Computing Primer: Using cloud computing tools in your museumCloud Computing Primer: Using cloud computing tools in your museum
Cloud Computing Primer: Using cloud computing tools in your museum
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
Cloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebCloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWeb
 

Mais de Chris Richardson

The microservice architecture: what, why, when and how?
The microservice architecture: what, why, when and how?The microservice architecture: what, why, when and how?
The microservice architecture: what, why, when and how?Chris Richardson
 
More the merrier: a microservices anti-pattern
More the merrier: a microservices anti-patternMore the merrier: a microservices anti-pattern
More the merrier: a microservices anti-patternChris Richardson
 
YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...
YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...
YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...Chris Richardson
 
Dark Energy, Dark Matter and the Microservices Patterns?!
Dark Energy, Dark Matter and the Microservices Patterns?!Dark Energy, Dark Matter and the Microservices Patterns?!
Dark Energy, Dark Matter and the Microservices Patterns?!Chris Richardson
 
Dark energy, dark matter and microservice architecture collaboration patterns
Dark energy, dark matter and microservice architecture collaboration patternsDark energy, dark matter and microservice architecture collaboration patterns
Dark energy, dark matter and microservice architecture collaboration patternsChris Richardson
 
Scenarios_and_Architecture_SkillsMatter_April_2022.pdf
Scenarios_and_Architecture_SkillsMatter_April_2022.pdfScenarios_and_Architecture_SkillsMatter_April_2022.pdf
Scenarios_and_Architecture_SkillsMatter_April_2022.pdfChris Richardson
 
Using patterns and pattern languages to make better architectural decisions
Using patterns and pattern languages to make better architectural decisions Using patterns and pattern languages to make better architectural decisions
Using patterns and pattern languages to make better architectural decisions Chris Richardson
 
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...Chris Richardson
 
Events to the rescue: solving distributed data problems in a microservice arc...
Events to the rescue: solving distributed data problems in a microservice arc...Events to the rescue: solving distributed data problems in a microservice arc...
Events to the rescue: solving distributed data problems in a microservice arc...Chris Richardson
 
A pattern language for microservices - June 2021
A pattern language for microservices - June 2021 A pattern language for microservices - June 2021
A pattern language for microservices - June 2021 Chris Richardson
 
QConPlus 2021: Minimizing Design Time Coupling in a Microservice Architecture
QConPlus 2021: Minimizing Design Time Coupling in a Microservice ArchitectureQConPlus 2021: Minimizing Design Time Coupling in a Microservice Architecture
QConPlus 2021: Minimizing Design Time Coupling in a Microservice ArchitectureChris Richardson
 
Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...
Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...
Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...Chris Richardson
 
Designing loosely coupled services
Designing loosely coupled servicesDesigning loosely coupled services
Designing loosely coupled servicesChris Richardson
 
Microservices - an architecture that enables DevOps (T Systems DevOps day)
Microservices - an architecture that enables DevOps (T Systems DevOps day)Microservices - an architecture that enables DevOps (T Systems DevOps day)
Microservices - an architecture that enables DevOps (T Systems DevOps day)Chris Richardson
 
DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...
DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...
DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...Chris Richardson
 
Decompose your monolith: Six principles for refactoring a monolith to microse...
Decompose your monolith: Six principles for refactoring a monolith to microse...Decompose your monolith: Six principles for refactoring a monolith to microse...
Decompose your monolith: Six principles for refactoring a monolith to microse...Chris Richardson
 
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...Chris Richardson
 
Overview of the Eventuate Tram Customers and Orders application
Overview of the Eventuate Tram Customers and Orders applicationOverview of the Eventuate Tram Customers and Orders application
Overview of the Eventuate Tram Customers and Orders applicationChris Richardson
 
An overview of the Eventuate Platform
An overview of the Eventuate PlatformAn overview of the Eventuate Platform
An overview of the Eventuate PlatformChris Richardson
 
#DevNexus202 Decompose your monolith
#DevNexus202 Decompose your monolith#DevNexus202 Decompose your monolith
#DevNexus202 Decompose your monolithChris Richardson
 

Mais de Chris Richardson (20)

The microservice architecture: what, why, when and how?
The microservice architecture: what, why, when and how?The microservice architecture: what, why, when and how?
The microservice architecture: what, why, when and how?
 
More the merrier: a microservices anti-pattern
More the merrier: a microservices anti-patternMore the merrier: a microservices anti-pattern
More the merrier: a microservices anti-pattern
 
YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...
YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...
YOW London - Considering Migrating a Monolith to Microservices? A Dark Energy...
 
Dark Energy, Dark Matter and the Microservices Patterns?!
Dark Energy, Dark Matter and the Microservices Patterns?!Dark Energy, Dark Matter and the Microservices Patterns?!
Dark Energy, Dark Matter and the Microservices Patterns?!
 
Dark energy, dark matter and microservice architecture collaboration patterns
Dark energy, dark matter and microservice architecture collaboration patternsDark energy, dark matter and microservice architecture collaboration patterns
Dark energy, dark matter and microservice architecture collaboration patterns
 
Scenarios_and_Architecture_SkillsMatter_April_2022.pdf
Scenarios_and_Architecture_SkillsMatter_April_2022.pdfScenarios_and_Architecture_SkillsMatter_April_2022.pdf
Scenarios_and_Architecture_SkillsMatter_April_2022.pdf
 
Using patterns and pattern languages to make better architectural decisions
Using patterns and pattern languages to make better architectural decisions Using patterns and pattern languages to make better architectural decisions
Using patterns and pattern languages to make better architectural decisions
 
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
 
Events to the rescue: solving distributed data problems in a microservice arc...
Events to the rescue: solving distributed data problems in a microservice arc...Events to the rescue: solving distributed data problems in a microservice arc...
Events to the rescue: solving distributed data problems in a microservice arc...
 
A pattern language for microservices - June 2021
A pattern language for microservices - June 2021 A pattern language for microservices - June 2021
A pattern language for microservices - June 2021
 
QConPlus 2021: Minimizing Design Time Coupling in a Microservice Architecture
QConPlus 2021: Minimizing Design Time Coupling in a Microservice ArchitectureQConPlus 2021: Minimizing Design Time Coupling in a Microservice Architecture
QConPlus 2021: Minimizing Design Time Coupling in a Microservice Architecture
 
Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...
Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...
Mucon 2021 - Dark energy, dark matter: imperfect metaphors for designing micr...
 
Designing loosely coupled services
Designing loosely coupled servicesDesigning loosely coupled services
Designing loosely coupled services
 
Microservices - an architecture that enables DevOps (T Systems DevOps day)
Microservices - an architecture that enables DevOps (T Systems DevOps day)Microservices - an architecture that enables DevOps (T Systems DevOps day)
Microservices - an architecture that enables DevOps (T Systems DevOps day)
 
DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...
DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...
DDD SoCal: Decompose your monolith: Ten principles for refactoring a monolith...
 
Decompose your monolith: Six principles for refactoring a monolith to microse...
Decompose your monolith: Six principles for refactoring a monolith to microse...Decompose your monolith: Six principles for refactoring a monolith to microse...
Decompose your monolith: Six principles for refactoring a monolith to microse...
 
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
 
Overview of the Eventuate Tram Customers and Orders application
Overview of the Eventuate Tram Customers and Orders applicationOverview of the Eventuate Tram Customers and Orders application
Overview of the Eventuate Tram Customers and Orders application
 
An overview of the Eventuate Platform
An overview of the Eventuate PlatformAn overview of the Eventuate Platform
An overview of the Eventuate Platform
 
#DevNexus202 Decompose your monolith
#DevNexus202 Decompose your monolith#DevNexus202 Decompose your monolith
#DevNexus202 Decompose your monolith
 

Último

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Último (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

CommunityOneEast 09 - Running Java On Amazon EC2

  • 1. Architecting robust applications for Amazon EC2 Chris Richardson Author of POJOs in Action Founder of Cloud Tools and Cloud Foundry y Chris Richardson Consulting, Inc www.chrisrichardson.net
  • 2. Overall presentation g p goal Show how to deploy Java and Grails applications on Amazon Elastic Compute Cloud Slide 2 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 3. About Chris Grew up in England and live in Oakland, CA • Over 20+ years of software development • experience including 12 years of Java Author of POJOs in Action • Speaker at JavaOne, SpringOne, NFJS, • JavaPolis, Spring Experience, etc. Chair of the eBIG Java SIG in Oakland • (www.ebig.org) Run the Groovy/Grails meetup • (http://java.meetup.com/161) Run a consulting and training company that u co su t g a d t a g co pa y t at • helps organizations reduce development costs and increase effectiveness Founder of Cloud Tools, an open-source project • for deploying Java applications on Amazon EC2: http://code.google.com/p/cloudtools http://code google com/p/cloudtools Founder of a startup that provides outsourced, • automated, and Java-centric datacenter management on the cloud: www.cloudfoundry.com y Slide 3 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 4. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg Slide 4 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 5. Power generation g Past Present Slide 5 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 6. Computing has come a long way p g g y Past Present www.computermuseum.org.uk www.dell.com de co Slide 6 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 7. Yet we rarely have enough hardware y g Can we afford the production hardware? Do we know how much to buy? How long does it take to buy and install? Who is going to set it up? Can we afford a test lab? Slide 7 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 8. Cloud computing p g A pool of highly scalable, abstracted infrastructure that hosts your application, and is billed by consumption p By James Staten of Forrester Research AND is managed via a web services API me Slide 8 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 9. Amazon-Style Cloud Computing y p g Simple Q Si l Queue SService i Simple DB Si l (SQS) (name/attribute pairs) Elastic Compute Cloud Pay per ( (EC2) ) use services Simple Storage Service managedd (S3) Elastic Block Store (EBS - SAN) by CloudFront Amazon (content delivery) Slide 9 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 10. Sign up g p Login using your existing Amazon account Select the web services you want to use Only takes a few minutes But B t can sometimes ti be confusing: various ids, keys, certificates etc Slide 10 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 11. Make web service calls… <RunInstancesResponse> <reservationId>r-60907709</reservationId> <ownerId>556666664445</ownerId> … <instancesSet> <item> <instanceId>i-4ef21327</instanceId> <imageId>ami-3795705e</imageId> <instanceState> https://ec2.amazonaws.com? <code>0</code> Action=RunInstances <name>pending</name> &ImageId=ami-3795705e </instanceState> &MaxCount=1 <placement> &MinCount=1 <availabilityZone>us-east-1b</availabilityZone> … </placement> <dnsName/> <reason/> / <keyName>gsg-keypair</keyName> <amiLaunchIndex>0</amiLaunchIndex> </item> </instancesSet> / </RunInstancesResponse> Slide 11 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 12. … a few minutes later cer@arrakis ~ $ ssh … root@ec2-67-202-41-150.compute-1.amazonaws.com Last login: Sun Dec 30 18:54:43 2007 from 71.131.29.181 [root@domU-12-31-36-00-38-23:~] Slide 12 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 13. Pay per use computing yp p g Virtual Compute 32/ Memory Storage $/hr Cores Units 64 ** /core* Bit Small 1 1 32 bit 1.7G 160G 0.10 High High- 2 2.5 25 32 bit 1 7G 1.7G 350G 0.20 0 20 CPU Medium Large ag 2 2 6b 64 bit 7.5G 5G 850G 00 0.40 Extra 4 2 64 bit 15G 1690G 0.80 Large High- High 8 2.5 25 64 bit 7G 1690G 0.80 0 80 CPU XL * EC2 Compute Unit = 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor ** Windows more expensive, external bandwidth: $0.10-0.18/Gbyte Slide 13 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 14. Operating systems p gy Use Amazon provided Machine Image (AMI) 32/64 bit 32/64-bit Fedora Core 4/6/8 Windows Server 2003 ($0.125-$2/hour) Optional SQL Server Standard ($1.10- 3.20/hour) Many 3rd parties have public AMIs Various Linux distributions E.g. Redhat, E g Redhat RightScale Sun provides OpenSolaris Build your own AMI: Install applications starting with existing AMI and save new AMI Create an AMI from scratch Slide 14 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 15. Using AWS in y g your application pp S3 - Store media etc in S3 SQS - messaging between loosely coupled components SimpleDB – alternative to RDBMS CloudFront – to distribute content Using these APIs Couples your application to AWS But using them is optional Slide 15 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 16. Developing on EC2 pg Immediate access to many servers Simplified setup Great for testing g Slide 16 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 17. Deploying on Amazon EC2 – startups/small businesses p/ Some VCs require it Get up and running quickly Validate your business idea without: y Upfront costs Long-term financial commitment g Scale up/down with load Reduces the risk of a success catastrophe Slide 17 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 18. Deploying on Amazon EC2 – enterprises p No need to wait for corporate IT In some companies it can take 2 months to acquire hardware Requires a long-term financial commitment, commitment upfront costs Use for short-term projects, e.g. Websites for marketing campaigns g pg New York Times style projects Use for applications that have fluctuating loads e.g. loads, e g heavily used once a week, once a month Slide 18 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 19. Example – beer on the cloud p Grails application Short-term marketing campaign site Fluctuating load Sat/Sun 4 servers Mon Fri Mon-Fri 1 server Slide 19 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 20. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg Slide 20 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 21. EC2 API and Tools Amazon provided CLI tools CLI equivalents of APIs q AMI creation tools AWS CLI tools from Tim Kay CLI for S3 and EC2 Alternatives to Amazon CLI tools AWS Console Very slick y ElasticFox Awesome Firefox plugin Launch and manage instances S3 Organizer Firefox plugin Manipulate S3 buckets and objects … Slide 21 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 22. AWS Management Console g Slide 22 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 23. Firefox plugins pg ElasticFox S3 Organizer Slide 23 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 24. Cloud Tools Open-source project 32 and 64 bit AMIs Cent OS 5.10 Apache/Tomcat/MySQL/JMeter/JetS3t installed EC2Deploy framework EC2D l f k Extensible, object-oriented Launches instances Configures Tomcat, MySQL, Apache Deploys web applications •Quicker Runs Jmeter tests deployment •More accurate Written in Groovy configuration Maven and Grails plugins Quick and easy deployment to EC2 Slide 24 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 25. Cloud Foundry y Slide 25 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 26. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg The basics Running the web tier g Deploying a database Handling security High availability Slide 26 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 27. Issues with AWS Cloud Computing Survey: IT Leaders See Big Promise, Have Big Security Questions Security: Runs HIPAA compliant apps BUT Lack of PCI compliance Discomfort with sending g customer data to a 3rd party Technology: Not yet suitable for extremely large relational databases Lack of very large machines, e.g. 64G memory Lack of multicast and multiple IP addresses Financials: Cost of bandwidth Steady state costs > your own hardware hd www.cio.com/article/455832/Cloud_Computing_Survey_IT_Leaders_See_Big_Promise_Have_Big_Security_Questions Slide 27 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 28. Cost issues Running larger servers 24 x 7 looks expensive ( g $560/month) (e.g. $ / ) BUT when owning your own hardware Lack of elasticity Long procurement time Must buy for the estimated peak load Must buy redundant hardware Risk of a success catastrophe Cost Electricity, cooling, space System administration costs Management overhead Slide 28 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 29. Starter website - $ w w w .a c m e .c o m Low cost - $72/month E la s tic IP A E C 2 In s ta n c e Elastic - load increases ⇒ expand in a few minutes di f it Apache Available –instance crashes ⇒ replace in a few minutes p T om cat M ySQ L E B S V o lu m e Slide 29 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 30. Higher capacity website - $$ g p y www.acme.com www acme com Low cost - > ~$216/month (1 Elastic IP or more Tomcats, 0 or more Slaves) Apache Elastic - load changes ⇒ quickly expand/subtract Tomcats with no downtime Tomcat Tomcat Available –instance crashes ⇒ replace in a few minutes MySQL MySql (slave) (Master) EBS Volume Slide 30 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 31. Batch processing architecture p g e.g. e g media transcoding Slide 31 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 32. Easy upgrades y pg Clone production environment Make read-only or turn off Snapshot EBS volumes and create new volumes l Apply upgrades to clone Test clone Move elastic IP addresses to clone Terminate old instances once you are sure that everything works Slide 32 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 33. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg The basics Running the web tier g Deploying a database Handling security High availability Slide 33 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 34. No hardware load balancing g Coming in 2009 Use software load balancer Apache HAProxy … Slide 34 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 35. Elastic IP addresses Instance IP addresses are dynamically allocated on start-up start up Does not work well for publicly accessible services, e.g. a website Elastic IP addresses: Statically allocated public IP addresses Associated with your account Attached to an instance (e g public facing web (e.g. server) = it's public IP address You configure DNS to resolve to the elastic IP address Pricing: Non-attached Elastic IP address - $0.01/hour $0.10 $0 10 per remap (if > 100 in a month) Slide 35 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 36. Elastic IP address operations p Operation Parameters XML document DescribeAddresses PublicIp.n (optional) List of IP addresses and associated instance id AllocateAddress - Public IP address Release Address Public Ip address - AssociateAddress InstanceId, InstanceId Public IP - Address DisasssociateAddress Public IP Address - Slide 36 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 37. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg The basics Running the web tier g Deploying a database Handling security High availability Slide 37 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 38. Elastic Block Storage g Local storage is ephemeral Mountable storage volumes M t bl t l quot;On-demand SANquot; Size: 1 GB to 1 TB Mount on a single instance Create snapshots p Stored in S3 Create new volumes from the snapshot Cost: C $0.10/GByte/month $0.10 $0 10 per 1 million I/O requests Slide 38 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 39. Using EBS Volumes g AWS: CreateVolume Size=50G AttachVolume InstanceId=… Device=/dev/sdh mkfs.xfs mkfs xfs /dev/sdh echo quot;/dev/sdh /vol xfs noatime 0 0quot; >> /etc/fstab mkdir /vol mount /vol mkdir /vol/lib /vol/log mv /var/lib/mysql /vol/lib [mysql.server] user=mysql basedir=/vol/lib basedir /vol/lib Slide 39 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 40. Backing up your database g py mysqldump --add-drop-database --databases foo | gzip > backup.sql.gz now=`date +%d%m%y_%H%M` aws put $bucket/${object}_${now}.sql.gz backup.sql.gz aws copy $bucket/${object}_latest $bucket/${object}_${now}.sql.gz FLUSH TABLES WITH READ LOCK SHOW MASTER STATUS xfs_freeze -f /vol # AWS WS: CreateSnapshot xfs_freeze u xfs freeze -u /vol UNLOCK TABLES Slide 40 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 41. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg The basics Running the web tier g Deploying a database Handling security High availability Slide 41 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 42. Security benefits of cloud computing p g Leverages the world class security techniques of amazon.com Cloud infrastructure enables: Unlimited logging Ability to test changes on a clone Clone servers and volumes for forensic analysis Slide 42 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 43. The usual security best practices y p Turn off unused services File ownership and permissions Disabling password based ssh login gp g Standard Linux, Apache, Tomcat and MySQL best practices yQ p Slide 43 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 44. Network security y Cannot sniff traffic for other instances Use EC2 firewall – aka. security groups Consider encrypting network traffic Limit SSH access to only your location yy Slide 44 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 45. Security Groups y p Named set of firewall rules associated with your account An instance Belongs to one or more security groups Defaults to “default” security group g Permits inbound traffic ?Action=RunInstances Protocol: tcp, udp &SecurityGroup.1=g1 Range of ports &SecurityGroup.2=g2 From: Anywhere – specific port range An IP address (range) – specific port range Another group - all ports When you first Common usage signup don’t Port 80 (http)/443 (https) – anywhere forget to enable Port 22 (ssh) – just from your location SSH traffic ff Slide 45 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 46. Using security groups g yg p Slide 46 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 47. Use a software firewall E.g. iptables In addition to security groups Security Group: Tomcat Servers are only accessible from Apache Server iptables: Tomcat servers only allow port 22 and port 8009 (AJP) po t Slide 47 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 48. Storage security g y Amazon wipes disks so one customer cannot see another’s data But You don’t know where it is Amazon could be subpoena’d Consider encrypting data Encrypted file systems Encrypting sensitive data in DB Encrypting backups in S3 Slide 48 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 49. Agenda g Amazon-style cloud computing Using Amazon EC2 Deploying on Amazon EC2 pyg The basics Running the web tier g Deploying a database Handling security High availability Slide 49 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 50. Deploying highly available applications pp AWS has had very well publicized outages BUT… Is internal IT really any better? In reality: AWS is (more) reliable y ( ) Don’t forget: You are not responsible for the hardware Instance fails ⇒ Launch a new one in a few minutes Slide 50 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 51. But once in a blue moon From: Amazon EC2 Notification ec2-notification@amazon.com Subject: Notice: Degraded Amazon EC2 Instance To: XXXXX@yahoo com XXXXX@yahoo.com Date: Friday, January 23, 2009, 5:54 AM Hello, We have noticed that one or more of your instances are running on a host degraded due to hardware failure failure. i-5e0b8b34 The risk of your instances failing is increased at this point. We cannot determine the health of any applications running on the instances. We recommend that you launch replacement instances and start migrating to them. Feel free to terminate the instances with the ec2-terminate-instance API when you are done with them. Let us know if you have any questions questions. Sincerely, The Amazon EC2 Team Slide 51 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 52. Lack of virtual IP addresses One IP address for use in the cloud Using Elastic IP = $ Handling active/standby failover is g / y difficult: E.g. Cannot migrate IP address of failed database to standby database Have your own host names Update /etc/hosts Run DNS server Slide 52 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 53. No multicast for resource discovery y Prevents the use of standard clustered resource discovery E.g. JGroups etc Use a registry: Database SimpleDB Security groups … Slide 53 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 54. Regions and availability zones g y By default, your database us- eu- master and slave could run on the same physical host! east-1 west-1 Regions - geographically dispersed locations p Availability zone - us-east- engineered to be insulated eu- from failure in other zones 1a, west 1a west-1a Specify availability zone p y y when launching instances us-east- SLA with 99.95% availability with multiple 1b availability zones eu- You pay for inter-zone us-east- network traffic west-1b 1c Slide 54 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 55. Amazon EC2 SLA* 99.95% availability if you are using >1 availability zone Availability Instances have external connectivity You can launch new instances Service credit for not meeting SLA * Read the small print Slide 55 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 56. Highly available - $$$ gy www.acme.com Higher cost - > ~$ $ 360/month (2 Apaches, 2 MySqls, 1 or more Tomcats, 0 Elastic IP B or more Slaves) Elastic IP A Availability Zone A Availability Zone B Elastic load h El ti - l d changes ⇒ quickly expand/subtract Apache Apache Tomcats with no downtime Available – No SPOF, instance , crashes ⇒ replace in a few Tomcat Tomcat Tomcat Tomcat minutes MySQL MySQL (Master 2) (Master 1) EBS Volume EBS Volume Slide 56 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 57. Summary y Amazon-style cloud computing provides Immediate access to a scalable infrastructure Pay as you go – no upfront P f t investment/commitment required Easily scale up/down Optional AWS services Slide 57 Copyright (c) 2009 Chris Richardson. All rights reserved.
  • 58. Final thoughts g Download or contribute to Cloud Tools today : y www.cloudtools.org Checkout Cloud Foundry: www.cloudfoundry.com www cloudfoundry com Buy my book ☺ Send email: chris@chrisrichardson.net Visit my website: www.chrisrichardson.net Talk to me about consulting and training Phone: 510 904 9832 Slide 58 Copyright (c) 2009 Chris Richardson. All rights reserved.