SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
Eucalyptus
            Architecture and
            Implementation




                                                  Rich Wolski, CTO
                                                  March 1, 2012


© 2012 Eucalyptus Systems, Inc. -- confidential
Eucalyptus Multi-tiered
        Service Architecture
                                                                                                     Service
                                        User Requests
                                                                                                     Delivery

                                                         User Transactions



                 Inventory and                              Inventory and            Inventory and
                  Scheduling                                 Scheduling               Scheduling




Actualization                  Actualization                 Actualization   Actualization       Actualization


       © 2012 Eucalyptus Systems, Inc. -- confidential
Eucalyptus Components
•  Cloud Controller (CLC)
        –  User request processing (except for Walrus), Credentials
           management, VM (instance) state management

•  Walrus (S3)
        –  S3 user request processing, Append-only, Put/Get object storage

•  Cluster Controller (CC)
        –  VM inventory, Network provisioning/security group implementation

•  Storage Controller (SC)
        –  Block level, network attached storage (SAN and Linux)

•  Node Controller (NC)
        –  Hypervisor interface and control, VM launch/decommissioning
•  VMWare Broker
        –  Gateway between CC and ESX and/or vSphere for VMWare

© 2012 Eucalyptus Systems, Inc. -- confidential
Component Architecture
                                                                                         Service
                                     User Requests
                                                                                         Delivery

                                                CLC             Walrus




                 CC            SC                     CC        SC            CC   SC




                               NC/                      NC/                NC/            NC/
  NC/
                             VMWareB                  VMWareB            VMWareB        VMWareB
VMWareB


    © 2012 Eucalyptus Systems, Inc. -- confidential
Eucalyptus Generations
•  Eucalyptus 1.X (June 08 through Sep. 10)
        –  University code
•  Eucalyptus 2.X (June 10 through Feb. 11)
        –  Commercial focus, early production
•  Eucalyptus 3.X (present - )
        –  Production operational improvements
        –  Full commercial feature set (almost)
•  Few, if any features deprecated
        –  BitTorrent?


© 2012 Eucalyptus Systems, Inc. -- confidential
New Eucalyptus 3.0 Features
•  High-availability (HA) of the Eucalyptus Service
       –  Hot fail-over and repair for all components except NC
•  AWS Identity and Access Management (IAM) API plus
   extensions for private clouds
       –  Quotas and metering
•  Eucalyptus Block Storage improvements
       –  AWS Volume-backed instance API (persistent instances)
          “bootable”
       –  NetApp and JBOD support added to existing Dell Equallogic
•  Full support for Windows images
       –  Seven different versions, AWS compatible authentication,
          sysprep, ephemeral disk
•  Accounting/Usage reporting
       –  Charge-back interface linked to quotas
© 2012 Eucalyptus Systems, Inc. -- confidential
Eucalyptus 3.0 Platform Improvements
•  Revamped image caching in the NC
   –  Faster instance starts using copy-on-write
•  Refactored VMWare broker
   –  Faster and more robust image preparation, support for vSphere 4.X,
      improved scale, more extensive deployment topologies
•  Extended Linux distro support
   –  RHEL 5 and RHEL 6, packages for Canonical LTS (Ubuntu 10.04)
•  Substantial improvement in automated QA
   –  Full QA sequence is 5 days (features + distros + hypervisors +
      deployment topologies + networking modes)
•  Re-designed administrative webUI
•  Improved command-line admin tools
•  Re-designed packaging, upgrade and dependency management
•  Re-designed installation mechanism (package repositories)
     © 2012 Eucalyptus Systems, Inc. -- confidential
Eucalyptus in The Wild
•  Eucalyptus 2.0 Deployments
        –  Games, mobile infrastructure, media, telecom
•  Tons of feedback
        –  Not all of it angry
•  Top 3
        –  Platform HA -> VM connectivity and request service
        –  Quotas, accounting, reporting
        –  Windows (fast image creation and start)




© 2012 Eucalyptus Systems, Inc. -- confidential
High Availability
•  Eliminate single point of failure
        –  Host failure
        –  Network connectivity failure (including network partitions)
•  Tolerate as many multiple failure cases as possible
•  Avoid data loss at all costs
        –  Fail stop is better than data loss
•  Availability of the services that Eucalyptus offers
        –  Eucalyptus requests
        –  VM connectivity and storage
        –  Not VM HA -> application level

© 2012 Eucalyptus Systems, Inc. -- confidential
HA Web Service Architecture
•  All Eucalyptus components are implemented as Web
   Services
        –  CLC, Walrus, SC, VMWare Broker– Java
        –  CC and NC - C
•  CC and NC are each implemented in separate Axis2c
   service container
•  CLC, Walrus, SC, and VMWare Broker share a web
   service stack and JVM when co-located




© 2012 Eucalyptus Systems, Inc. -- confidential
PoC Configuration
                                      VM                                VM
                     SC                                    SC
                                      Wb                                Wb

                                     Walr                               Walr
                   CLC                us
                                                           CLC           us


                 Web Service                              Web Service
                 DB management                            DB management

                            CC                                   CC

                          Linux                                 Linux




     NC                            NC             NC        NC                 NC
© 2012 Eucalyptus Systems, Inc. -- confidential

   Linux                         Linux            Linux    Linux               Linux
Multi-component Failure
                                      VM                                VM
                     SC                                    SC
                                      Wb                                Wb

                                     Walr                               Walr
                   CLC                us
                                                           CLC           us


                 Web Service                              Web Service
                 DB management                            DB management

                            CC                                   CC

                          Linux                                 Linux




     NC                            NC             NC        NC                 NC
© 2012 Eucalyptus Systems, Inc. -- confidential

   Linux                         Linux            Linux    Linux               Linux
Production
CLC                     CLC                       Wal           Wal           CC      CC



                                                                              VM      VM
                                                  SC            SC
                                                                               b       b




     NC                            NC                   NC            NC           NC

   Linux                         Linux                  Linux         Linux        Linux


© 2012 Eucalyptus Systems, Inc. -- confidential
Group Membership and
Heartbeat
•  HA is from the perspective of the “master” CLC
•  Jgroups determines which machines are “up”
        –  The network connecting the “up” machines is unpartitioned
•  Heartbeat determines which services are available within
   the “up” group
•  Back-up CLC monitors the “up” group to determine if it
   contains a master
        –  If not, it becomes the master
•  Master and Back-up DBs kept synced
        –  Resync when failed CLC is restored

© 2012 Eucalyptus Systems, Inc. -- confidential
Interesting Wrinkles
•  CLC and Walrus have externally visible URLs
        –  DNS remapping service is built into the CLC
•  What happens if the master loses connectivity with the
   user?
        –  Back-up may have an alternative path to user
        –  If DNS remaps, and the back-up becomes active, the system
           may experience a “split brain”
                •  Fail stop
                •  Arbitrator service

•  Multi-failure can cause split brain
        –  Master fails over, new master fails before original back,
           original then brought up => fail stop
© 2012 Eucalyptus Systems, Inc. -- confidential
IAM, Quotas, and Reporting
•  IAM is AWS “Identity and Access Management”
        –  Accounts and users, and groups of users
        –  JSON based policies defines calls that users and groups can
           execute
        –  Also possible to attach policies to resources S3 (buckets for
           now)
•  Eucalyptus extends the IAM predicates with inequalities
        –  Implements quotas as tests against IAM policies
•  Resource usage information exportable in a variety of
   formats and through GUI


© 2012 Eucalyptus Systems, Inc. -- confidential
For Example

         eucalyptus                          dev   support                    sales


                                                             {	
  
                                                             	
  "Version":"2012-­‐02-­‐12",	
  
                                                             	
  "Statement":[{	
  
                                                             	
  	
  	
  "Sid":"2",	
  
                                                   quota     	
  	
  	
  "Effect":“Limit",	
  
  EC2 image permission                                       	
  	
  	
  "Action":"ec2:RunInstances",	
  
                                                             	
  	
  	
  "Resource":"*",	
  
                                                             	
  	
  	
  "Condition":{	
  
  S3 bucket ACL                                              	
  	
  	
  	
  	
  "NumericLessThanEquals":{	
  
                                                             	
  	
  	
  	
  	
  	
  	
  "ec2:quota-­‐vminstancenumber":	
  
                                                   quota     "256"	
  
                                                             	
  	
  	
  	
  	
  }	
  
                                                             	
  	
  	
  }	
  
                                                             	
  }]	
  
                                                             }	
  

© 2012 Eucalyptus Systems, Inc. -- confidential
Evaluation Logic


                                            Account admin
                                                  or
                           Account-level IAM user policy Allocating                  Exceeding
                        permission satisfied? allowed?
               Sys admin?                                 resources?                  Quota?
                                                                                                  Accept
                                No                 Yes             Yes         Yes           No
               Yes                            No              No         No               Yes
                     Accept          Reject              Reject           Accept     Reject




© 2012 Eucalyptus Systems, Inc. -- confidential
Windows
•  Windows images are big
        –  One customer wants 200 GB images
        –  Ephemeral within the C: drive
•  Need a way to use CoW to improve Windows launch time




© 2012 Eucalyptus Systems, Inc. -- confidential
The Blob Store
•  Blobs are (sparse) files on the file system
        –  remember to use ‘ls –s’ to see disk space allocated
        –  files are mounted on loopback when in use
        –  future implementation could use LVM volumes instead of files
•  Mapping and copy-on-write snapshots are implemented
   using Linux kernel’s device-mapper (same as LVM
   snapshots)
        –  once snapshotted or mapped, file access method cannot be
           used
        –  i.e., backing file on disk no longer has the bits you want




© 2012 Eucalyptus Systems, Inc. -- confidential
Image -> Instance in the NC
     Walrus

                EMI                ERI             EKI
                                                                                  Eucalyptus Linux Image on NC
                      download       download        download


     NC                                                    copy                                             NC
     cache                                         EKI                      EKI                            work
     area                                                                                                 space
                                            copy
                                   ERI                                      ERI

                            snap
                EMI                                                         EMI   + KEY


                                                                              map
                                     snap
mkfs.ext3        ephemeral0                                                               ephemeral0
                                                                                               map
                           snap
mkswap         swap                                                                                    swap
                                                                  zero
                                                                     snap                                map

                                                                   PT
                                                                            EMI   + KEY   ephemeral0   swap



     •  NC’s cache keeps objects from                             •  EKI and ERI are copied to work
        Walrus and partitions created                                space due to libvirt requirement
        from scratch, one per size/type                           •  Other objects are snapshotted,
     •  LRU eviction policy for non-                                 tuned, and then mapped to
        pinned objects limits disk use
         © 2012 Eucalyptus Systems, Inc. -- confidential
                                                                     compose the disk
What’s Next?
•  Eucalyptus 3.1 (Q2)
        –  Refactoring for packaged plug-ins
        –  Postgres instead of MySQL
•  Eucalyptus 3.2 (Q4)
        –  Feature release
        –  Possibilities
                •  ELB, Cloudwatch, Autoscaling
                •  Tags

•  Eucalyptus 4 in 2013 and Eucalyptus 5 in 2014
        –  Application features -> services and API
        –  Operational features -> ease of use, maintenance,
           performance
•  Please help! – tell us what Eucalyptus needs and when it
   needs it
© 2012 Eucalyptus Systems, Inc. -- confidential
Thanks!



                                                  Questions?

•  rich@eucalyptus.com
•  @richwolski

© 2012 Eucalyptus Systems, Inc. -- confidential

Mais conteúdo relacionado

Mais procurados

System Center Virtual Machine Manager 2008 R2
System Center Virtual Machine Manager 2008 R2System Center Virtual Machine Manager 2008 R2
System Center Virtual Machine Manager 2008 R2
aralves
 
V mware v sphere advanced administration
V mware v sphere advanced administrationV mware v sphere advanced administration
V mware v sphere advanced administration
bestip
 
VCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue PrintVCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue Print
Sathishkumar A
 
Deep Dive Into Windows Server 2012 Hyper-V
Deep Dive Into Windows Server 2012 Hyper-VDeep Dive Into Windows Server 2012 Hyper-V
Deep Dive Into Windows Server 2012 Hyper-V
Lai Yoong Seng
 
Mythbusting goes virtual What's new in vSphere 5.1
Mythbusting goes virtual   What's new in vSphere 5.1Mythbusting goes virtual   What's new in vSphere 5.1
Mythbusting goes virtual What's new in vSphere 5.1
Eric Sloof
 
21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation
dataplex systems limited
 
Windows Server 2008 R2 Overview 1225768142880746 9
Windows Server 2008 R2 Overview 1225768142880746 9Windows Server 2008 R2 Overview 1225768142880746 9
Windows Server 2008 R2 Overview 1225768142880746 9
Stephan - Gabriel Georgescu
 

Mais procurados (20)

Sql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaSql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampa
 
Cascade 10.0 ---- Application Aware Network Performance Management (NPM)
Cascade 10.0 ---- Application Aware Network Performance Management (NPM)Cascade 10.0 ---- Application Aware Network Performance Management (NPM)
Cascade 10.0 ---- Application Aware Network Performance Management (NPM)
 
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
 
System Center Virtual Machine Manager 2008 R2
System Center Virtual Machine Manager 2008 R2System Center Virtual Machine Manager 2008 R2
System Center Virtual Machine Manager 2008 R2
 
Clustering Enhancements
Clustering EnhancementsClustering Enhancements
Clustering Enhancements
 
V mware v sphere advanced administration
V mware v sphere advanced administrationV mware v sphere advanced administration
V mware v sphere advanced administration
 
VCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue PrintVCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue Print
 
What’s New in vCloud Director 5.1?
What’s New in vCloud Director 5.1?What’s New in vCloud Director 5.1?
What’s New in vCloud Director 5.1?
 
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Deep Dive Into Windows Server 2012 Hyper-V
Deep Dive Into Windows Server 2012 Hyper-VDeep Dive Into Windows Server 2012 Hyper-V
Deep Dive Into Windows Server 2012 Hyper-V
 
Mythbusting goes virtual What's new in vSphere 5.1
Mythbusting goes virtual   What's new in vSphere 5.1Mythbusting goes virtual   What's new in vSphere 5.1
Mythbusting goes virtual What's new in vSphere 5.1
 
Windows Azure: Verbinden, erweitern, integrieren Sie ihr Firmennetzwerk in di...
Windows Azure: Verbinden, erweitern, integrieren Sie ihr Firmennetzwerk in di...Windows Azure: Verbinden, erweitern, integrieren Sie ihr Firmennetzwerk in di...
Windows Azure: Verbinden, erweitern, integrieren Sie ihr Firmennetzwerk in di...
 
21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation
 
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
 
Spring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloudSpring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloud
 
VMware vSphere 5 seminar
VMware vSphere 5 seminarVMware vSphere 5 seminar
VMware vSphere 5 seminar
 
z/VM 6.2: Increasing the Endless Possibilities of Virtualization
z/VM 6.2: Increasing the Endless Possibilities of Virtualizationz/VM 6.2: Increasing the Endless Possibilities of Virtualization
z/VM 6.2: Increasing the Endless Possibilities of Virtualization
 
VNSISPL_DBMS_Concepts_ch25
VNSISPL_DBMS_Concepts_ch25VNSISPL_DBMS_Concepts_ch25
VNSISPL_DBMS_Concepts_ch25
 
Windows Server 2008 R2 Overview 1225768142880746 9
Windows Server 2008 R2 Overview 1225768142880746 9Windows Server 2008 R2 Overview 1225768142880746 9
Windows Server 2008 R2 Overview 1225768142880746 9
 

Destaque (9)

LARC ILR at Ed presentation
LARC ILR at Ed presentationLARC ILR at Ed presentation
LARC ILR at Ed presentation
 
Magazine cover research
Magazine cover research Magazine cover research
Magazine cover research
 
CLIR/Sloan Project Slides DLF Forum
CLIR/Sloan Project Slides DLF ForumCLIR/Sloan Project Slides DLF Forum
CLIR/Sloan Project Slides DLF Forum
 
Margo grecia rodi - special price 3 pag
Margo grecia   rodi - special price 3 pagMargo grecia   rodi - special price 3 pag
Margo grecia rodi - special price 3 pag
 
Summer Fun Recipes
Summer Fun Recipes Summer Fun Recipes
Summer Fun Recipes
 
Living with spina bifida and hydrocephalus in developing countries carla verp...
Living with spina bifida and hydrocephalus in developing countries carla verp...Living with spina bifida and hydrocephalus in developing countries carla verp...
Living with spina bifida and hydrocephalus in developing countries carla verp...
 
Youth advisory council_template
Youth advisory council_templateYouth advisory council_template
Youth advisory council_template
 
Immune boosting soups 1 11-13 tv
Immune boosting soups 1 11-13 tvImmune boosting soups 1 11-13 tv
Immune boosting soups 1 11-13 tv
 
Discover The Library!: Libraries and Learning innovation at Leeds Metropolita...
Discover The Library!: Libraries and Learning innovation at Leeds Metropolita...Discover The Library!: Libraries and Learning innovation at Leeds Metropolita...
Discover The Library!: Libraries and Learning innovation at Leeds Metropolita...
 

Semelhante a 2nd Eucalyptus Bay Area Meet Up with Rich Wolski

Adaptive SLA-aware Cloud Federations
Adaptive SLA-awareCloud FederationsAdaptive SLA-awareCloud Federations
Adaptive SLA-aware Cloud Federations
keratt
 
SDN in Apache CloudStack (ApacheCon NA 2013)
SDN in Apache CloudStack (ApacheCon NA 2013)SDN in Apache CloudStack (ApacheCon NA 2013)
SDN in Apache CloudStack (ApacheCon NA 2013)
Chiradeep Vittal
 
Nova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute modelsNova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute models
openstackindia
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
bizalgo
 
Am 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-finalAm 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-final
OpenCity Community
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)
hypervnu
 
Dc tco in_a_nutshell
Dc tco in_a_nutshellDc tco in_a_nutshell
Dc tco in_a_nutshell
erjosito
 
Stairway to heaven webinar
Stairway to heaven webinarStairway to heaven webinar
Stairway to heaven webinar
CloudBees
 

Semelhante a 2nd Eucalyptus Bay Area Meet Up with Rich Wolski (20)

Eucalyptus 3 Product Overview
Eucalyptus 3 Product OverviewEucalyptus 3 Product Overview
Eucalyptus 3 Product Overview
 
Adaptive SLA-aware Cloud Federations
Adaptive SLA-awareCloud FederationsAdaptive SLA-awareCloud Federations
Adaptive SLA-aware Cloud Federations
 
SDN in Apache CloudStack (ApacheCon NA 2013)
SDN in Apache CloudStack (ApacheCon NA 2013)SDN in Apache CloudStack (ApacheCon NA 2013)
SDN in Apache CloudStack (ApacheCon NA 2013)
 
Nova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute modelsNova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute models
 
Learn OpenStack from trystack.cn ——Folsom in practice
Learn OpenStack from trystack.cn  ——Folsom in practiceLearn OpenStack from trystack.cn  ——Folsom in practice
Learn OpenStack from trystack.cn ——Folsom in practice
 
Network virtualization with open stack quantum
Network virtualization with open stack quantumNetwork virtualization with open stack quantum
Network virtualization with open stack quantum
 
Xen and Apache cloudstack
Xen and Apache cloudstack  Xen and Apache cloudstack
Xen and Apache cloudstack
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
 
Software Defined Networking – Two Views
Software Defined Networking – Two ViewsSoftware Defined Networking – Two Views
Software Defined Networking – Two Views
 
Am 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-finalAm 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-final
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)
 
Dc tco in_a_nutshell
Dc tco in_a_nutshellDc tco in_a_nutshell
Dc tco in_a_nutshell
 
Oracle VM – the coolest virtualizator you’ve ever had
Oracle VM – the coolest virtualizator you’ve ever had Oracle VM – the coolest virtualizator you’ve ever had
Oracle VM – the coolest virtualizator you’ve ever had
 
Windows Server 8 Hyper V Networking
Windows Server 8 Hyper V NetworkingWindows Server 8 Hyper V Networking
Windows Server 8 Hyper V Networking
 
Network policies
Network policiesNetwork policies
Network policies
 
Triangle OpenStack Meetup
Triangle OpenStack MeetupTriangle OpenStack Meetup
Triangle OpenStack Meetup
 
Containers 101 Meetup - VMs vs Containers
Containers 101 Meetup - VMs vs ContainersContainers 101 Meetup - VMs vs Containers
Containers 101 Meetup - VMs vs Containers
 
Docker Networking in Production at Visa - Sasi Kannappan, Visa and Mark Churc...
Docker Networking in Production at Visa - Sasi Kannappan, Visa and Mark Churc...Docker Networking in Production at Visa - Sasi Kannappan, Visa and Mark Churc...
Docker Networking in Production at Visa - Sasi Kannappan, Visa and Mark Churc...
 
Seattle Technical Forum Eucalyptus talk
Seattle Technical Forum Eucalyptus talkSeattle Technical Forum Eucalyptus talk
Seattle Technical Forum Eucalyptus talk
 
Stairway to heaven webinar
Stairway to heaven webinarStairway to heaven webinar
Stairway to heaven webinar
 

Mais de Eucalyptus Systems, Inc.

How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
Eucalyptus Systems, Inc.
 
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
Eucalyptus Systems, Inc.
 
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
Eucalyptus Systems, Inc.
 

Mais de Eucalyptus Systems, Inc. (7)

LinuxCon Europe Keynote: Open Source Cloud Platforms
LinuxCon Europe Keynote: Open Source Cloud PlatformsLinuxCon Europe Keynote: Open Source Cloud Platforms
LinuxCon Europe Keynote: Open Source Cloud Platforms
 
Be Prepared for Tomorrow's IT Forecast: Great Chance of Hybrid Clouds
Be Prepared for Tomorrow's IT Forecast: Great Chance of Hybrid CloudsBe Prepared for Tomorrow's IT Forecast: Great Chance of Hybrid Clouds
Be Prepared for Tomorrow's IT Forecast: Great Chance of Hybrid Clouds
 
Be Prepared for Tomorrow's IT Forecast Great Chance of Hybrid Clouds
Be Prepared for Tomorrow's IT Forecast Great Chance of Hybrid CloudsBe Prepared for Tomorrow's IT Forecast Great Chance of Hybrid Clouds
Be Prepared for Tomorrow's IT Forecast Great Chance of Hybrid Clouds
 
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
 
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
 
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
How to Transform Enterprise Applications to On-premise Clouds with Wipro and ...
 
1st Eucalyptus Bay Area Meet Up
1st Eucalyptus Bay Area Meet Up1st Eucalyptus Bay Area Meet Up
1st Eucalyptus Bay Area Meet Up
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

2nd Eucalyptus Bay Area Meet Up with Rich Wolski

  • 1. Eucalyptus Architecture and Implementation Rich Wolski, CTO March 1, 2012 © 2012 Eucalyptus Systems, Inc. -- confidential
  • 2. Eucalyptus Multi-tiered Service Architecture Service User Requests Delivery User Transactions Inventory and Inventory and Inventory and Scheduling Scheduling Scheduling Actualization Actualization Actualization Actualization Actualization © 2012 Eucalyptus Systems, Inc. -- confidential
  • 3. Eucalyptus Components •  Cloud Controller (CLC) –  User request processing (except for Walrus), Credentials management, VM (instance) state management •  Walrus (S3) –  S3 user request processing, Append-only, Put/Get object storage •  Cluster Controller (CC) –  VM inventory, Network provisioning/security group implementation •  Storage Controller (SC) –  Block level, network attached storage (SAN and Linux) •  Node Controller (NC) –  Hypervisor interface and control, VM launch/decommissioning •  VMWare Broker –  Gateway between CC and ESX and/or vSphere for VMWare © 2012 Eucalyptus Systems, Inc. -- confidential
  • 4. Component Architecture Service User Requests Delivery CLC Walrus CC SC CC SC CC SC NC/ NC/ NC/ NC/ NC/ VMWareB VMWareB VMWareB VMWareB VMWareB © 2012 Eucalyptus Systems, Inc. -- confidential
  • 5. Eucalyptus Generations •  Eucalyptus 1.X (June 08 through Sep. 10) –  University code •  Eucalyptus 2.X (June 10 through Feb. 11) –  Commercial focus, early production •  Eucalyptus 3.X (present - ) –  Production operational improvements –  Full commercial feature set (almost) •  Few, if any features deprecated –  BitTorrent? © 2012 Eucalyptus Systems, Inc. -- confidential
  • 6. New Eucalyptus 3.0 Features •  High-availability (HA) of the Eucalyptus Service –  Hot fail-over and repair for all components except NC •  AWS Identity and Access Management (IAM) API plus extensions for private clouds –  Quotas and metering •  Eucalyptus Block Storage improvements –  AWS Volume-backed instance API (persistent instances) “bootable” –  NetApp and JBOD support added to existing Dell Equallogic •  Full support for Windows images –  Seven different versions, AWS compatible authentication, sysprep, ephemeral disk •  Accounting/Usage reporting –  Charge-back interface linked to quotas © 2012 Eucalyptus Systems, Inc. -- confidential
  • 7. Eucalyptus 3.0 Platform Improvements •  Revamped image caching in the NC –  Faster instance starts using copy-on-write •  Refactored VMWare broker –  Faster and more robust image preparation, support for vSphere 4.X, improved scale, more extensive deployment topologies •  Extended Linux distro support –  RHEL 5 and RHEL 6, packages for Canonical LTS (Ubuntu 10.04) •  Substantial improvement in automated QA –  Full QA sequence is 5 days (features + distros + hypervisors + deployment topologies + networking modes) •  Re-designed administrative webUI •  Improved command-line admin tools •  Re-designed packaging, upgrade and dependency management •  Re-designed installation mechanism (package repositories) © 2012 Eucalyptus Systems, Inc. -- confidential
  • 8. Eucalyptus in The Wild •  Eucalyptus 2.0 Deployments –  Games, mobile infrastructure, media, telecom •  Tons of feedback –  Not all of it angry •  Top 3 –  Platform HA -> VM connectivity and request service –  Quotas, accounting, reporting –  Windows (fast image creation and start) © 2012 Eucalyptus Systems, Inc. -- confidential
  • 9. High Availability •  Eliminate single point of failure –  Host failure –  Network connectivity failure (including network partitions) •  Tolerate as many multiple failure cases as possible •  Avoid data loss at all costs –  Fail stop is better than data loss •  Availability of the services that Eucalyptus offers –  Eucalyptus requests –  VM connectivity and storage –  Not VM HA -> application level © 2012 Eucalyptus Systems, Inc. -- confidential
  • 10. HA Web Service Architecture •  All Eucalyptus components are implemented as Web Services –  CLC, Walrus, SC, VMWare Broker– Java –  CC and NC - C •  CC and NC are each implemented in separate Axis2c service container •  CLC, Walrus, SC, and VMWare Broker share a web service stack and JVM when co-located © 2012 Eucalyptus Systems, Inc. -- confidential
  • 11. PoC Configuration VM VM SC SC Wb Wb Walr Walr CLC us CLC us Web Service Web Service DB management DB management CC CC Linux Linux NC NC NC NC NC © 2012 Eucalyptus Systems, Inc. -- confidential Linux Linux Linux Linux Linux
  • 12. Multi-component Failure VM VM SC SC Wb Wb Walr Walr CLC us CLC us Web Service Web Service DB management DB management CC CC Linux Linux NC NC NC NC NC © 2012 Eucalyptus Systems, Inc. -- confidential Linux Linux Linux Linux Linux
  • 13. Production CLC CLC Wal Wal CC CC VM VM SC SC b b NC NC NC NC NC Linux Linux Linux Linux Linux © 2012 Eucalyptus Systems, Inc. -- confidential
  • 14. Group Membership and Heartbeat •  HA is from the perspective of the “master” CLC •  Jgroups determines which machines are “up” –  The network connecting the “up” machines is unpartitioned •  Heartbeat determines which services are available within the “up” group •  Back-up CLC monitors the “up” group to determine if it contains a master –  If not, it becomes the master •  Master and Back-up DBs kept synced –  Resync when failed CLC is restored © 2012 Eucalyptus Systems, Inc. -- confidential
  • 15. Interesting Wrinkles •  CLC and Walrus have externally visible URLs –  DNS remapping service is built into the CLC •  What happens if the master loses connectivity with the user? –  Back-up may have an alternative path to user –  If DNS remaps, and the back-up becomes active, the system may experience a “split brain” •  Fail stop •  Arbitrator service •  Multi-failure can cause split brain –  Master fails over, new master fails before original back, original then brought up => fail stop © 2012 Eucalyptus Systems, Inc. -- confidential
  • 16. IAM, Quotas, and Reporting •  IAM is AWS “Identity and Access Management” –  Accounts and users, and groups of users –  JSON based policies defines calls that users and groups can execute –  Also possible to attach policies to resources S3 (buckets for now) •  Eucalyptus extends the IAM predicates with inequalities –  Implements quotas as tests against IAM policies •  Resource usage information exportable in a variety of formats and through GUI © 2012 Eucalyptus Systems, Inc. -- confidential
  • 17. For Example eucalyptus dev support sales {    "Version":"2012-­‐02-­‐12",    "Statement":[{        "Sid":"2",   quota      "Effect":“Limit",   EC2 image permission      "Action":"ec2:RunInstances",        "Resource":"*",        "Condition":{   S3 bucket ACL          "NumericLessThanEquals":{                "ec2:quota-­‐vminstancenumber":   quota "256"            }        }    }]   }   © 2012 Eucalyptus Systems, Inc. -- confidential
  • 18. Evaluation Logic Account admin or Account-level IAM user policy Allocating Exceeding permission satisfied? allowed? Sys admin? resources? Quota? Accept No Yes Yes Yes No Yes No No No Yes Accept Reject Reject Accept Reject © 2012 Eucalyptus Systems, Inc. -- confidential
  • 19. Windows •  Windows images are big –  One customer wants 200 GB images –  Ephemeral within the C: drive •  Need a way to use CoW to improve Windows launch time © 2012 Eucalyptus Systems, Inc. -- confidential
  • 20. The Blob Store •  Blobs are (sparse) files on the file system –  remember to use ‘ls –s’ to see disk space allocated –  files are mounted on loopback when in use –  future implementation could use LVM volumes instead of files •  Mapping and copy-on-write snapshots are implemented using Linux kernel’s device-mapper (same as LVM snapshots) –  once snapshotted or mapped, file access method cannot be used –  i.e., backing file on disk no longer has the bits you want © 2012 Eucalyptus Systems, Inc. -- confidential
  • 21. Image -> Instance in the NC Walrus EMI ERI EKI Eucalyptus Linux Image on NC download download download NC copy NC cache EKI EKI work area space copy ERI ERI snap EMI EMI + KEY map snap mkfs.ext3 ephemeral0 ephemeral0 map snap mkswap swap swap zero snap map PT EMI + KEY ephemeral0 swap •  NC’s cache keeps objects from •  EKI and ERI are copied to work Walrus and partitions created space due to libvirt requirement from scratch, one per size/type •  Other objects are snapshotted, •  LRU eviction policy for non- tuned, and then mapped to pinned objects limits disk use © 2012 Eucalyptus Systems, Inc. -- confidential compose the disk
  • 22. What’s Next? •  Eucalyptus 3.1 (Q2) –  Refactoring for packaged plug-ins –  Postgres instead of MySQL •  Eucalyptus 3.2 (Q4) –  Feature release –  Possibilities •  ELB, Cloudwatch, Autoscaling •  Tags •  Eucalyptus 4 in 2013 and Eucalyptus 5 in 2014 –  Application features -> services and API –  Operational features -> ease of use, maintenance, performance •  Please help! – tell us what Eucalyptus needs and when it needs it © 2012 Eucalyptus Systems, Inc. -- confidential
  • 23. Thanks! Questions? •  rich@eucalyptus.com •  @richwolski © 2012 Eucalyptus Systems, Inc. -- confidential