SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Downloaden Sie, um offline zu lesen
Ubuntu Cloud Infrastructure
Cloud computing stack




                  Salesforce.com, GoogleDocs, Office, etc...


                           GoogleApps, Java, Azure, etc...


                  Amazon, GoGrid, 3Tera, OpenStack, etc...
                                                                       Storage   Network


         Xen                    KVM   VMWare      HyperV       etc..



          HP                    IBM     Dell      Lenovo       etc..




2 Presentation by Nick Barcet
Ubuntu Cloud




                                   (Ubuntu One)


                                Juju (CloudFoundry)


                      Ubuntu Cloud Infrastructure and Guest
                                                                                  Storage   Network

            KVM, Xen                   LXC                 Orchestra
                                                      (Bare metal provisioning)




                          x86                           ARM




3 Presentation by Nick Barcet
Ubuntu Cloud Infrastructure
Outstanding technology

Ability to use the same Ubuntu machine
images and management tools across both
private and public IaaS systems, minimising
costly re-training or application change when
moving from private to public and vice versa.



U bu n tu C lou d                          H y br id F ocu s

Rapid deployment                           Ubuntu Cloud Guest
Optimize resources & immediacy             Ubuntu Cloud Infra. (public or private IaaS)
(self service IT)                          Maximise benefits whilst minimising risks
Best of breed (KVM, Xen, LXC, OpenStack)   Elasticity
Compatible technology (matches EC2)        Simplifies bursting
Supports multiple guest O/S                Common Standards
Secure, trusted & open source              Common Ubuntu machine image


  4 Presentation by Nick Barcet
Ubuntu Cloud Infrastructure → Ubuntu Oneiric Ocelot (11.10)



                       Your Workloads                                Build your infrastructure as
                                                                     a service public or private
                                                                     cloud
       Ubuntu Cloud
                                       Any OS                        Based on OpenStack
          Guest
                                                                 ●



                                                                 ●
                                                                     Supporting KVM, Xen & LXC hypervisors
                                                                 ●
                                                                     All components can be made highly
                           OpenStack                                 available
                                                                 ●
                                                                     EC2, EBS and S3 compatible
                                                                 ●
                                                                     One of the workload made easy to deploy
                                                                     with Orchestra
                     KVM, Xen or LXC



                        Ubuntu Server



5 Presentation by Nick Barcet                   OpenStack in Action, Paris
Ubuntu Cloud Infrastructure on ARM in 11.10



                        Any Workloads                              LXC based OpenStack
                                                               ●
                                                                   Contributed by Canonical to OpenStack
                                                                   with ARM support in mind

        Ubuntu Cloud              Kernel compatible            ●
                                                                   Technology preview for ARM and LXC
           Guest                          OS                       support




                           OpenStack



                                LXC



                        Ubuntu Server



6 Presentation by Nick Barcet                 OpenStack in Action, Paris
Orchestra




7 Presentation by Nick Barcet
Ubuntu Orchestra



                           Orchestra                            Install Orcherstra on your
                     Infrastructure Server
                                                                first server




8 Presentation by Nick Barcet                OpenStack in Action, Paris
Ubuntu Orchestra



                           Orchestra                            Associate profiles with
                     Infrastructure Server
                                                                MAC addresses via the
                                                                web or API interface




9 Presentation by Nick Barcet                OpenStack in Action, Paris
Ubuntu Orchestra



                          Orchestra                            Turn on your hardware,
                    Infrastructure Server
                                                               the deployment happens,
                                                               your infrastructure is
                                                               ready!




10 Presentation by Nick Barcet              OpenStack in Action, Paris
Ubuntu Orchestra



                          Orchestra                             Bare metal deployment
                    Infrastructure Server
                                                                from the Ubuntu Installer
                                                            ●
                                                                Zero touch deployment of complex
                                                                workloads
                                                            ●
                                                                Configuration management
                                                            ●
                                                                Customizable



                                                                Components
                                                            ●
                                                                Cobbler
                                                            ●
                                                                Fact database
                                                            ●
                                                                Cloud-Init
                                                            ●
                                                                Pluggable management tools
                                                                (Juju as default)


11 Presentation by Nick Barcet              OpenStack in Action, Paris
Installing Orcherstra




         > sudo apt- get install ubuntu- orchestra- server




12 Presentation by Nick Barcet
Installing Orcherstra




13 Presentation by Nick Barcet
Installing Orchestra




14 Presentation by Nick Barcet
Installing Orchestra




15 Presentation by Nick Barcet
16 Presentation by Nick Barcet
Orchestra ready


●
    Latest Ubuntu ISO is downloaded
●
    Package repositories are setup
●
    PXE, TFTP, DHCP and Cobbler are ready




    –> Let's define some servers




17 Presentation by Nick Barcet
Declaring servers for Orchestra



sudo cobbler system add 
      --name="cempedak.canonical.com" 
      --mac-address="00:24:81:e4:59:9c" 
      --ip-address="10.55.55.2" 
      --dns-name="cempedak.canonical.com" 
      --hostname="cempedak.canonical.com" 
      --profile="oneiric-x86_64-ensemble" 
      --mgmt-classes="orchestra-juju-available" 
    --kopts="console=ttyS0,9600n8 DEBCONF_DEBUG=developer
netcfg/dhcp_timeout=120 netcfg/choose_interface=eth0"




18 Presentation by Nick Barcet
Juju
Devops Distilled




19 Presentation by Nick Barcet
What is DevOps?



●
    Rate of agile development and deployment requires deeper
    interaction between teams


●
    A melding of development, deployment, and QA principles,
    methods, and practices


●
    Fills the gap between developers and system administrators




20 Presentation by Nick Barcet
What drives DevOps?



●
    Speed of the deployment


●
    Continuous Integration, Automated Testing, etc.


●
    Fast change vs. Stability




21 Presentation by Nick Barcet
What does DevOps “deliver”?



●
    Fast repeatable server setup, consistent environment


●
    Abstract ops tasks to empower devs


●
    Smaller deployments empower ops


●
    Repeatable processes that let you scale out quickly




22 Presentation by Nick Barcet
You've got the tools already



●
    Hardware
●
    Virtualization
●
    Platform (OS)
●
    Configuration Management




 … need to tie that together into something whole.


23 Presentation by Nick Barcet
Manages Services, not Machines




24 Presentation by Nick Barcet
Elevate to Juju



                                   Service
                                 Orchestration



                                  Configuration
                                  Management


                                 Virtualization


                                  Operating
                                   System



                                  Hardware




25 Presentation by Nick Barcet
Juju, DevOps Distilled


Dev                                                  Ops
●
    Reuse existing deployment charms in an       ●
                                                     Explicit control over deployment,
    openly-accessible repository of shared           configuration and upgrade options
    expertise                                    ●
                                                     See what’s deployed and track usage in the
●
    Reproduce deployments for test and staging       cloud
    purposes                                     ●
                                                     Create and share charms for new
●
    Rapid deployment of your dependencies for        applications
    development purposes                         ●
                                                     Monitor, scale, shrink and adjust deployment
●
    Compose whole systems from individual            parameters in real time
    application components and describe the      ●
                                                     Explicitly connect different components and
    entire deployment                                maintain those relationships over time
                                                 ●
                                                     Collaborate with developers on the exact
                                                     deployment and upgrade processes
                                                 ●
                                                     Get more done: implement decisions

                                      http://juju.ubuntu.com regardless of infrastructure
                                                    immediately
                                                     scale
26 Presentation by Nick Barcet
Juju's Charms


●
    Charms are a shareable, re-usable, and repeatable
    expressions of DevOps best practices.


●
    You can use them unmodified, or easily change and connect
    them to fit your needs.


●
    Deploying a formula is similar to installing a package on
    Ubuntu: ask for it and it’s there, remove it and it’s completely
    gone.


27 Presentation by Nick Barcet
Juju is a community of DevOps expertise.



●
    Most of the application you want will be available in Juju.


●
    Juju provides direct and free access to a DevOps community-
    contributed collection of formulas




28 Presentation by Nick Barcet
Juju provides service orchestration



●
    Juju focuses on managing the service units you need to
    deliver a single solution, above simply configuring the
    machines or cloud instances needed to run them.


●
    Charms developed, tested, and deployed on your own
    hardware will operate the same in an EC2 API compatible
    cloud, including OpenStack.




29 Presentation by Nick Barcet
Juju is intelligent



●
    Juju exposes re-usable service units and well-defined
    interfaces that allow you to quickly and organically adjust and
    scale solutions without repeating yourself.




30 Presentation by Nick Barcet
Juju is Easy



●
    There’s no need to learn a domain specific language (DSL) to
    use Juju or create formulas. You can be up and running with
    your own formula in minutes




31 Presentation by Nick Barcet
Juju's internals




32 Presentation by Nick Barcet
Juju



                                                           Juju treats individual services
                                                           as atoms that are described
                                                           as charms and can be
                                                           instantiated one or many
    Juju environment


                                                           times.
                                 Cloud app
                                  Cloud app
                                   Cloud app

    and dependency
    solver




33 Presentation by Nick Barcet           OpenStack in Action, Paris
Juju


                                    Load
                                   Balancer
                                     HAProxy                Each charm (or atom) define
                                                            dependencies and/or
                                 Depends Provides
                                                            provides.
    Juju environment



                                  Cloud app
                                   Cloud app
                                    Cloud app

    and dependency
    solver
                                 Provides Depends



                                 SQL Database
                                     MySQL



34 Presentation by Nick Barcet            OpenStack in Action, Paris
Juju


                                    Load
                                   Balancer
                                     HAProxy
                                     Varnish                Multiple charms can provide
                                                            the same service and can be
                                 Depends Provides
                                                            easily switched.
    Juju environment



                                  Cloud app
                                   Cloud app
                                    Cloud app

    and dependency
    solver
                                 Provides Depends



                                 SQL Database
                                     MySQL



35 Presentation by Nick Barcet            OpenStack in Action, Paris
Juju



                                   Varnish
                                    Varnish                   Juju maintains the relations
                                                              between the services so that
                                   Juju Relation
                                                              you don't need to care about
                                                              the elasticity of your
    Juju environment


                                                              environment.
                                 Cloud app
                                  Cloud app
                                   Cloud app

                                                              Relations are to charms what
    and dependency
    solver
                                   Juju Relation              bounds are to atoms.


                                  MySQL
                                                              Services are loosely coupled
                                   MySQL
                                    MySQL                     but highly cohesive.

36 Presentation by Nick Barcet              OpenStack in Action, Paris
Juju



                                    Varnish                   Juju delivers service focused
                                                              management through their
                                   Juju Relation
                                                              life-cycle
    Juju environment                                      ●
                                                              Offers the same simple rules to components
                                                              of you infra as we do already for packages
                                                              on your servers: dependencies, provides
                                 Cloud app
                                  Cloud app
                                   Cloud app              ●
                                                              Adds the notion of dynamic relations
                                                              between components
    and dependency
    solver*
                                                          ●
                                                              To provide you with simple automated
                                   Juju Relation
                                                              elasticity that is easy to expand
                                                          ●
                                                              Working on your bare metal servers (through
                                                              Orchestra*) as easily as on your favourite
                                                              clouds (AWS, OpenStack*, ...)
                                    MySQL



37 Presentation by Nick Barcet              OpenStack in Action, Paris soon
                                                             *coming
Juju's Architechture




38 Presentation by Nick Barcet
Deploying OpenStack
with Juju




39 Presentation by Nick Barcet
Back to the Orchestra server


●    > sudo apt- get install juju
●    > sudo mkdir - p ~/.juju
●    > sudo vi ~/.ensemble/environments.yaml

juju: environments
environments:
    orchestra:
     type: orchestra
     # Specify the orchestra server (santol's IP address)
     orchestra- server: 10.55.55.7
     # Specify storage. In this case we are using webdav installed by orchestra.
     storage- url: http://10.55.55.7/webdav
     # Specify cobbler's usr/pass
     orchestra- user: cobbler
     orchestra- pass: cobbler
     admin- secret: fooooo
     # Mangement classes
     acquired- mgmt- class: orchestra- juju- acquired
     available- mgmt- class: orchestra- juju- available



40 Presentation by Nick Barcet
Deploying OpenStak

●   > juju bootstrap
●   > juju deploy mysql - - placement=local
●   > juju deploy rabbit- mq - - placement=local
●   > juju deploy –config=~/formulas/openstack.yaml nova- cloud- controller
●   > juju add- relation nova- cloud- controller rabbitmq
●   > juju add- relation nova- cloud- controller mysql
●   > juju deploy –config=~/formulas/openstack.yaml glance
●   > juju add- relation glance mysql
●   > juju add- relation glance:image- service nova- cloud- controller:image- service
●   > juju deploy - - config=~/formulas/openstack.yaml - - repository=`
                                                                      pwd` nova- compute
●   > juju add- relation nova- compute rabbitmq
●   > juju add- relation nova- compute mysql
●   > juju add- relation nova- cloud- controller:nova- network nova- compute:nova- network
●   > juju add- relation glance:image- service nova- compute:image- service



41 Presentation by Nick Barcet
Scaling OpenStack


●
    > juju add-unit nova-compute

    or
●
    > juju add-unit nova-cloud-controller




42 Presentation by Nick Barcet
OpenStack is now in action !




43 Presentation by Nick Barcet
Thank you




Nick Barcet
<nick.barcet@canonical.com>

Weitere ähnliche Inhalte

Was ist angesagt?

Distributed Services - OSGi 4.2 and possible future enhancements
Distributed Services - OSGi 4.2 and possible future enhancementsDistributed Services - OSGi 4.2 and possible future enhancements
Distributed Services - OSGi 4.2 and possible future enhancementsDavid Bosschaert
 
01.19.2011 AIIT InfoTalk on OpenStack
01.19.2011 AIIT InfoTalk on OpenStack01.19.2011 AIIT InfoTalk on OpenStack
01.19.2011 AIIT InfoTalk on OpenStackAdam Johnson
 
The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...
The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...
The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...Cloud Native Day Tel Aviv
 
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez BlancoOSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez BlancoNETWAYS
 
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)Boden Russell
 
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyLinux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyBoden Russell
 
The building blocks of docker.
The building blocks of docker.The building blocks of docker.
The building blocks of docker.Chafik Belhaoues
 
Docker storage drivers by Jérôme Petazzoni
Docker storage drivers by Jérôme PetazzoniDocker storage drivers by Jérôme Petazzoni
Docker storage drivers by Jérôme PetazzoniDocker, Inc.
 
Visualizing a cloud using eucalyptus and xen
Visualizing a cloud using eucalyptus and xenVisualizing a cloud using eucalyptus and xen
Visualizing a cloud using eucalyptus and xenA. Roy
 
あなたはどっち? クラウドでDebian // Debianでクラウド
あなたはどっち? クラウドでDebian // Debianでクラウドあなたはどっち? クラウドでDebian // Debianでクラウド
あなたはどっち? クラウドでDebian // DebianでクラウドYasuhiro Araki, Ph.D
 
Introduction to the Linux ecosystem
Introduction to the Linux ecosystemIntroduction to the Linux ecosystem
Introduction to the Linux ecosystemThibauld Favre
 
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxConAnatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxConJérôme Petazzoni
 
Deploying of Unikernels in the NFV Infrastructure
Deploying of Unikernels in the NFV InfrastructureDeploying of Unikernels in the NFV Infrastructure
Deploying of Unikernels in the NFV InfrastructureStefano Salsano
 
OpenStack & Ubuntu (india openstack day)
OpenStack & Ubuntu (india openstack day)OpenStack & Ubuntu (india openstack day)
OpenStack & Ubuntu (india openstack day)openstackindia
 
Thinking inside the box (shared)
Thinking inside the box (shared)Thinking inside the box (shared)
Thinking inside the box (shared)Joe Brockmeier
 
Openstack days taiwan 2016 0712
Openstack days taiwan 2016 0712Openstack days taiwan 2016 0712
Openstack days taiwan 2016 0712Naoto Gohko
 
Extending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support UnikernelsExtending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support UnikernelsStefano Salsano
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Jérôme Petazzoni
 

Was ist angesagt? (20)

Distributed Services - OSGi 4.2 and possible future enhancements
Distributed Services - OSGi 4.2 and possible future enhancementsDistributed Services - OSGi 4.2 and possible future enhancements
Distributed Services - OSGi 4.2 and possible future enhancements
 
01.19.2011 AIIT InfoTalk on OpenStack
01.19.2011 AIIT InfoTalk on OpenStack01.19.2011 AIIT InfoTalk on OpenStack
01.19.2011 AIIT InfoTalk on OpenStack
 
The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...
The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...
The Ubuntu OpenStack interoperability lab - Proven integration testing Nicola...
 
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez BlancoOSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
 
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
 
Domestic cloud
Domestic cloudDomestic cloud
Domestic cloud
 
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyLinux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
 
The building blocks of docker.
The building blocks of docker.The building blocks of docker.
The building blocks of docker.
 
Docker storage drivers by Jérôme Petazzoni
Docker storage drivers by Jérôme PetazzoniDocker storage drivers by Jérôme Petazzoni
Docker storage drivers by Jérôme Petazzoni
 
Visualizing a cloud using eucalyptus and xen
Visualizing a cloud using eucalyptus and xenVisualizing a cloud using eucalyptus and xen
Visualizing a cloud using eucalyptus and xen
 
あなたはどっち? クラウドでDebian // Debianでクラウド
あなたはどっち? クラウドでDebian // Debianでクラウドあなたはどっち? クラウドでDebian // Debianでクラウド
あなたはどっち? クラウドでDebian // Debianでクラウド
 
Docker
DockerDocker
Docker
 
Introduction to the Linux ecosystem
Introduction to the Linux ecosystemIntroduction to the Linux ecosystem
Introduction to the Linux ecosystem
 
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxConAnatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
 
Deploying of Unikernels in the NFV Infrastructure
Deploying of Unikernels in the NFV InfrastructureDeploying of Unikernels in the NFV Infrastructure
Deploying of Unikernels in the NFV Infrastructure
 
OpenStack & Ubuntu (india openstack day)
OpenStack & Ubuntu (india openstack day)OpenStack & Ubuntu (india openstack day)
OpenStack & Ubuntu (india openstack day)
 
Thinking inside the box (shared)
Thinking inside the box (shared)Thinking inside the box (shared)
Thinking inside the box (shared)
 
Openstack days taiwan 2016 0712
Openstack days taiwan 2016 0712Openstack days taiwan 2016 0712
Openstack days taiwan 2016 0712
 
Extending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support UnikernelsExtending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support Unikernels
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!
 

Andere mochten auch

งานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวงงานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวงparinee
 
欣美實業股份有限公司簡介 (Nx power lite)
欣美實業股份有限公司簡介 (Nx power lite)欣美實業股份有限公司簡介 (Nx power lite)
欣美實業股份有限公司簡介 (Nx power lite)SingBee
 
Comparative Politics - Course report: "How different are the Spanish and Swed...
Comparative Politics - Course report: "How different are the Spanish and Swed...Comparative Politics - Course report: "How different are the Spanish and Swed...
Comparative Politics - Course report: "How different are the Spanish and Swed...Carlos Palomo
 
欣美家族產品型錄
欣美家族產品型錄欣美家族產品型錄
欣美家族產品型錄SingBee
 
บทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคลบทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคลparinee
 
งานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวงงานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวงparinee
 
Developing and-benchmarking-native-linux-applications-on-android
Developing and-benchmarking-native-linux-applications-on-androidDeveloping and-benchmarking-native-linux-applications-on-android
Developing and-benchmarking-native-linux-applications-on-androidElvis Jon Freddy Sitinjak
 
Shutta Crum power point
Shutta Crum power pointShutta Crum power point
Shutta Crum power pointalpiersa
 
Project
Project Project
Project J M
 
Perdagangan internasional-1233807704925042-2
Perdagangan internasional-1233807704925042-2Perdagangan internasional-1233807704925042-2
Perdagangan internasional-1233807704925042-2Elvis Jon Freddy Sitinjak
 
บทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคลบทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคลparinee
 

Andere mochten auch (17)

งานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวงงานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวง
 
Sistema concursal
Sistema concursalSistema concursal
Sistema concursal
 
Robito
RobitoRobito
Robito
 
欣美實業股份有限公司簡介 (Nx power lite)
欣美實業股份有限公司簡介 (Nx power lite)欣美實業股份有限公司簡介 (Nx power lite)
欣美實業股份有限公司簡介 (Nx power lite)
 
Comparative Politics - Course report: "How different are the Spanish and Swed...
Comparative Politics - Course report: "How different are the Spanish and Swed...Comparative Politics - Course report: "How different are the Spanish and Swed...
Comparative Politics - Course report: "How different are the Spanish and Swed...
 
欣美家族產品型錄
欣美家族產品型錄欣美家族產品型錄
欣美家族產品型錄
 
บทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคลบทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคล
 
งานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวงงานนำเสนอ1งานคอมในหลวง
งานนำเสนอ1งานคอมในหลวง
 
Developing and-benchmarking-native-linux-applications-on-android
Developing and-benchmarking-native-linux-applications-on-androidDeveloping and-benchmarking-native-linux-applications-on-android
Developing and-benchmarking-native-linux-applications-on-android
 
Camel overview
Camel overviewCamel overview
Camel overview
 
Apple 2012 copy
Apple 2012 copyApple 2012 copy
Apple 2012 copy
 
Shutta Crum power point
Shutta Crum power pointShutta Crum power point
Shutta Crum power point
 
Project
Project Project
Project
 
Perdagangan internasional-1233807704925042-2
Perdagangan internasional-1233807704925042-2Perdagangan internasional-1233807704925042-2
Perdagangan internasional-1233807704925042-2
 
บทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคลบทที่ 3 คอมพิวเตอร์ส่วนบุคคล
บทที่ 3 คอมพิวเตอร์ส่วนบุคคล
 
Hoa dep
Hoa depHoa dep
Hoa dep
 
Tieuluan2003
Tieuluan2003Tieuluan2003
Tieuluan2003
 

Ähnlich wie Ubuntucloud openstackinaction-110922045851-phpapp02

Ubuntu in the cloud What's Coming - Nick Barcet, Canonical
Ubuntu in the cloud What's Coming - Nick Barcet, CanonicalUbuntu in the cloud What's Coming - Nick Barcet, Canonical
Ubuntu in the cloud What's Coming - Nick Barcet, CanonicalChris Purrington
 
Openstack in action2 canonical - openstack cloud on ubuntu it is happening ...
Openstack in action2   canonical - openstack cloud on ubuntu it is happening ...Openstack in action2   canonical - openstack cloud on ubuntu it is happening ...
Openstack in action2 canonical - openstack cloud on ubuntu it is happening ...eNovance
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablobabycat_feifei
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo锐 张
 
7 - Introduction to OpenStack & SDN by Ady Saputra
7 - Introduction to OpenStack & SDN by Ady Saputra7 - Introduction to OpenStack & SDN by Ady Saputra
7 - Introduction to OpenStack & SDN by Ady SaputraSDNRG ITB
 
Mastering OpenStack - Episode 01 - Simple Architectures
Mastering OpenStack - Episode 01 - Simple ArchitecturesMastering OpenStack - Episode 01 - Simple Architectures
Mastering OpenStack - Episode 01 - Simple ArchitecturesRoozbeh Shafiee
 
Openstack Global Meetup
Openstack Global Meetup Openstack Global Meetup
Openstack Global Meetup openstackindia
 
Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011Stefane Fermigier
 
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.13 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1Lorscheider Santiago
 
Survey of open source cloud architectures
Survey of open source cloud architecturesSurvey of open source cloud architectures
Survey of open source cloud architecturesabhinav vedanbhatla
 
Open Source Cloud, Virtualization and Deployment Technologies
Open Source Cloud, Virtualization and Deployment TechnologiesOpen Source Cloud, Virtualization and Deployment Technologies
Open Source Cloud, Virtualization and Deployment Technologiesmestery
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Raul Leite
 
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5Lorscheider Santiago
 
How to integrate Kubernetes in OpenStack: You need to know these project
How to integrate Kubernetes in OpenStack: You need to know these projectHow to integrate Kubernetes in OpenStack: You need to know these project
How to integrate Kubernetes in OpenStack: You need to know these projectinwin stack
 
vBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking TalkvBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking Talkmestery
 
OpenStack - An Overview
OpenStack - An OverviewOpenStack - An Overview
OpenStack - An Overviewgraziol
 
OpenStack dotscale workshop -08062013
OpenStack  dotscale workshop -08062013OpenStack  dotscale workshop -08062013
OpenStack dotscale workshop -08062013eNovance
 

Ähnlich wie Ubuntucloud openstackinaction-110922045851-phpapp02 (20)

Ubuntu in the cloud What's Coming - Nick Barcet, Canonical
Ubuntu in the cloud What's Coming - Nick Barcet, CanonicalUbuntu in the cloud What's Coming - Nick Barcet, Canonical
Ubuntu in the cloud What's Coming - Nick Barcet, Canonical
 
Openstack in action2 canonical - openstack cloud on ubuntu it is happening ...
Openstack in action2   canonical - openstack cloud on ubuntu it is happening ...Openstack in action2   canonical - openstack cloud on ubuntu it is happening ...
Openstack in action2 canonical - openstack cloud on ubuntu it is happening ...
 
Build a Cloud Day San Francisco - Ubuntu Cloud
Build a Cloud Day San Francisco - Ubuntu CloudBuild a Cloud Day San Francisco - Ubuntu Cloud
Build a Cloud Day San Francisco - Ubuntu Cloud
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo
 
Open stack wtf_(1)
Open stack  wtf_(1)Open stack  wtf_(1)
Open stack wtf_(1)
 
7 - Introduction to OpenStack & SDN by Ady Saputra
7 - Introduction to OpenStack & SDN by Ady Saputra7 - Introduction to OpenStack & SDN by Ady Saputra
7 - Introduction to OpenStack & SDN by Ady Saputra
 
Mastering OpenStack - Episode 01 - Simple Architectures
Mastering OpenStack - Episode 01 - Simple ArchitecturesMastering OpenStack - Episode 01 - Simple Architectures
Mastering OpenStack - Episode 01 - Simple Architectures
 
Openstack Global Meetup
Openstack Global Meetup Openstack Global Meetup
Openstack Global Meetup
 
Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011Nuxeo on the Cloud - Nuxeo World 2011
Nuxeo on the Cloud - Nuxeo World 2011
 
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.13 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
 
Survey of open source cloud architectures
Survey of open source cloud architecturesSurvey of open source cloud architectures
Survey of open source cloud architectures
 
Open Source Cloud, Virtualization and Deployment Technologies
Open Source Cloud, Virtualization and Deployment TechnologiesOpen Source Cloud, Virtualization and Deployment Technologies
Open Source Cloud, Virtualization and Deployment Technologies
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
 
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
Gerenciando Nuvens privadas com o Xen Cloud Platform - XCP 1.5
 
How to integrate Kubernetes in OpenStack: You need to know these project
How to integrate Kubernetes in OpenStack: You need to know these projectHow to integrate Kubernetes in OpenStack: You need to know these project
How to integrate Kubernetes in OpenStack: You need to know these project
 
vBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking TalkvBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking Talk
 
OpenStack - An Overview
OpenStack - An OverviewOpenStack - An Overview
OpenStack - An Overview
 
OpenStack dotscale workshop -08062013
OpenStack  dotscale workshop -08062013OpenStack  dotscale workshop -08062013
OpenStack dotscale workshop -08062013
 
Ryu ods2012-spring
Ryu ods2012-springRyu ods2012-spring
Ryu ods2012-spring
 

Ubuntucloud openstackinaction-110922045851-phpapp02

  • 2. Cloud computing stack Salesforce.com, GoogleDocs, Office, etc... GoogleApps, Java, Azure, etc... Amazon, GoGrid, 3Tera, OpenStack, etc... Storage Network Xen KVM VMWare HyperV etc.. HP IBM Dell Lenovo etc.. 2 Presentation by Nick Barcet
  • 3. Ubuntu Cloud (Ubuntu One) Juju (CloudFoundry) Ubuntu Cloud Infrastructure and Guest Storage Network KVM, Xen LXC Orchestra (Bare metal provisioning) x86 ARM 3 Presentation by Nick Barcet
  • 4. Ubuntu Cloud Infrastructure Outstanding technology Ability to use the same Ubuntu machine images and management tools across both private and public IaaS systems, minimising costly re-training or application change when moving from private to public and vice versa. U bu n tu C lou d H y br id F ocu s Rapid deployment Ubuntu Cloud Guest Optimize resources & immediacy Ubuntu Cloud Infra. (public or private IaaS) (self service IT) Maximise benefits whilst minimising risks Best of breed (KVM, Xen, LXC, OpenStack) Elasticity Compatible technology (matches EC2) Simplifies bursting Supports multiple guest O/S Common Standards Secure, trusted & open source Common Ubuntu machine image 4 Presentation by Nick Barcet
  • 5. Ubuntu Cloud Infrastructure → Ubuntu Oneiric Ocelot (11.10) Your Workloads Build your infrastructure as a service public or private cloud Ubuntu Cloud Any OS Based on OpenStack Guest ● ● Supporting KVM, Xen & LXC hypervisors ● All components can be made highly OpenStack available ● EC2, EBS and S3 compatible ● One of the workload made easy to deploy with Orchestra KVM, Xen or LXC Ubuntu Server 5 Presentation by Nick Barcet OpenStack in Action, Paris
  • 6. Ubuntu Cloud Infrastructure on ARM in 11.10 Any Workloads LXC based OpenStack ● Contributed by Canonical to OpenStack with ARM support in mind Ubuntu Cloud Kernel compatible ● Technology preview for ARM and LXC Guest OS support OpenStack LXC Ubuntu Server 6 Presentation by Nick Barcet OpenStack in Action, Paris
  • 8. Ubuntu Orchestra Orchestra Install Orcherstra on your Infrastructure Server first server 8 Presentation by Nick Barcet OpenStack in Action, Paris
  • 9. Ubuntu Orchestra Orchestra Associate profiles with Infrastructure Server MAC addresses via the web or API interface 9 Presentation by Nick Barcet OpenStack in Action, Paris
  • 10. Ubuntu Orchestra Orchestra Turn on your hardware, Infrastructure Server the deployment happens, your infrastructure is ready! 10 Presentation by Nick Barcet OpenStack in Action, Paris
  • 11. Ubuntu Orchestra Orchestra Bare metal deployment Infrastructure Server from the Ubuntu Installer ● Zero touch deployment of complex workloads ● Configuration management ● Customizable Components ● Cobbler ● Fact database ● Cloud-Init ● Pluggable management tools (Juju as default) 11 Presentation by Nick Barcet OpenStack in Action, Paris
  • 12. Installing Orcherstra > sudo apt- get install ubuntu- orchestra- server 12 Presentation by Nick Barcet
  • 16. 16 Presentation by Nick Barcet
  • 17. Orchestra ready ● Latest Ubuntu ISO is downloaded ● Package repositories are setup ● PXE, TFTP, DHCP and Cobbler are ready –> Let's define some servers 17 Presentation by Nick Barcet
  • 18. Declaring servers for Orchestra sudo cobbler system add --name="cempedak.canonical.com" --mac-address="00:24:81:e4:59:9c" --ip-address="10.55.55.2" --dns-name="cempedak.canonical.com" --hostname="cempedak.canonical.com" --profile="oneiric-x86_64-ensemble" --mgmt-classes="orchestra-juju-available" --kopts="console=ttyS0,9600n8 DEBCONF_DEBUG=developer netcfg/dhcp_timeout=120 netcfg/choose_interface=eth0" 18 Presentation by Nick Barcet
  • 20. What is DevOps? ● Rate of agile development and deployment requires deeper interaction between teams ● A melding of development, deployment, and QA principles, methods, and practices ● Fills the gap between developers and system administrators 20 Presentation by Nick Barcet
  • 21. What drives DevOps? ● Speed of the deployment ● Continuous Integration, Automated Testing, etc. ● Fast change vs. Stability 21 Presentation by Nick Barcet
  • 22. What does DevOps “deliver”? ● Fast repeatable server setup, consistent environment ● Abstract ops tasks to empower devs ● Smaller deployments empower ops ● Repeatable processes that let you scale out quickly 22 Presentation by Nick Barcet
  • 23. You've got the tools already ● Hardware ● Virtualization ● Platform (OS) ● Configuration Management … need to tie that together into something whole. 23 Presentation by Nick Barcet
  • 24. Manages Services, not Machines 24 Presentation by Nick Barcet
  • 25. Elevate to Juju Service Orchestration Configuration Management Virtualization Operating System Hardware 25 Presentation by Nick Barcet
  • 26. Juju, DevOps Distilled Dev Ops ● Reuse existing deployment charms in an ● Explicit control over deployment, openly-accessible repository of shared configuration and upgrade options expertise ● See what’s deployed and track usage in the ● Reproduce deployments for test and staging cloud purposes ● Create and share charms for new ● Rapid deployment of your dependencies for applications development purposes ● Monitor, scale, shrink and adjust deployment ● Compose whole systems from individual parameters in real time application components and describe the ● Explicitly connect different components and entire deployment maintain those relationships over time ● Collaborate with developers on the exact deployment and upgrade processes ● Get more done: implement decisions http://juju.ubuntu.com regardless of infrastructure immediately scale 26 Presentation by Nick Barcet
  • 27. Juju's Charms ● Charms are a shareable, re-usable, and repeatable expressions of DevOps best practices. ● You can use them unmodified, or easily change and connect them to fit your needs. ● Deploying a formula is similar to installing a package on Ubuntu: ask for it and it’s there, remove it and it’s completely gone. 27 Presentation by Nick Barcet
  • 28. Juju is a community of DevOps expertise. ● Most of the application you want will be available in Juju. ● Juju provides direct and free access to a DevOps community- contributed collection of formulas 28 Presentation by Nick Barcet
  • 29. Juju provides service orchestration ● Juju focuses on managing the service units you need to deliver a single solution, above simply configuring the machines or cloud instances needed to run them. ● Charms developed, tested, and deployed on your own hardware will operate the same in an EC2 API compatible cloud, including OpenStack. 29 Presentation by Nick Barcet
  • 30. Juju is intelligent ● Juju exposes re-usable service units and well-defined interfaces that allow you to quickly and organically adjust and scale solutions without repeating yourself. 30 Presentation by Nick Barcet
  • 31. Juju is Easy ● There’s no need to learn a domain specific language (DSL) to use Juju or create formulas. You can be up and running with your own formula in minutes 31 Presentation by Nick Barcet
  • 33. Juju Juju treats individual services as atoms that are described as charms and can be instantiated one or many Juju environment times. Cloud app Cloud app Cloud app and dependency solver 33 Presentation by Nick Barcet OpenStack in Action, Paris
  • 34. Juju Load Balancer HAProxy Each charm (or atom) define dependencies and/or Depends Provides provides. Juju environment Cloud app Cloud app Cloud app and dependency solver Provides Depends SQL Database MySQL 34 Presentation by Nick Barcet OpenStack in Action, Paris
  • 35. Juju Load Balancer HAProxy Varnish Multiple charms can provide the same service and can be Depends Provides easily switched. Juju environment Cloud app Cloud app Cloud app and dependency solver Provides Depends SQL Database MySQL 35 Presentation by Nick Barcet OpenStack in Action, Paris
  • 36. Juju Varnish Varnish Juju maintains the relations between the services so that Juju Relation you don't need to care about the elasticity of your Juju environment environment. Cloud app Cloud app Cloud app Relations are to charms what and dependency solver Juju Relation bounds are to atoms. MySQL Services are loosely coupled MySQL MySQL but highly cohesive. 36 Presentation by Nick Barcet OpenStack in Action, Paris
  • 37. Juju Varnish Juju delivers service focused management through their Juju Relation life-cycle Juju environment ● Offers the same simple rules to components of you infra as we do already for packages on your servers: dependencies, provides Cloud app Cloud app Cloud app ● Adds the notion of dynamic relations between components and dependency solver* ● To provide you with simple automated Juju Relation elasticity that is easy to expand ● Working on your bare metal servers (through Orchestra*) as easily as on your favourite clouds (AWS, OpenStack*, ...) MySQL 37 Presentation by Nick Barcet OpenStack in Action, Paris soon *coming
  • 39. Deploying OpenStack with Juju 39 Presentation by Nick Barcet
  • 40. Back to the Orchestra server ● > sudo apt- get install juju ● > sudo mkdir - p ~/.juju ● > sudo vi ~/.ensemble/environments.yaml juju: environments environments: orchestra: type: orchestra # Specify the orchestra server (santol's IP address) orchestra- server: 10.55.55.7 # Specify storage. In this case we are using webdav installed by orchestra. storage- url: http://10.55.55.7/webdav # Specify cobbler's usr/pass orchestra- user: cobbler orchestra- pass: cobbler admin- secret: fooooo # Mangement classes acquired- mgmt- class: orchestra- juju- acquired available- mgmt- class: orchestra- juju- available 40 Presentation by Nick Barcet
  • 41. Deploying OpenStak ● > juju bootstrap ● > juju deploy mysql - - placement=local ● > juju deploy rabbit- mq - - placement=local ● > juju deploy –config=~/formulas/openstack.yaml nova- cloud- controller ● > juju add- relation nova- cloud- controller rabbitmq ● > juju add- relation nova- cloud- controller mysql ● > juju deploy –config=~/formulas/openstack.yaml glance ● > juju add- relation glance mysql ● > juju add- relation glance:image- service nova- cloud- controller:image- service ● > juju deploy - - config=~/formulas/openstack.yaml - - repository=` pwd` nova- compute ● > juju add- relation nova- compute rabbitmq ● > juju add- relation nova- compute mysql ● > juju add- relation nova- cloud- controller:nova- network nova- compute:nova- network ● > juju add- relation glance:image- service nova- compute:image- service 41 Presentation by Nick Barcet
  • 42. Scaling OpenStack ● > juju add-unit nova-compute or ● > juju add-unit nova-cloud-controller 42 Presentation by Nick Barcet
  • 43. OpenStack is now in action ! 43 Presentation by Nick Barcet