Top Banner

of 27

deltacloud-v7

Apr 03, 2018

Download

Documents

milosvbl
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 7/28/2019 deltacloud-v7

    1/27

    CLOUD COMPUTING

    Deltacloud API

    Michal [email protected]

  • 7/28/2019 deltacloud-v7

    2/27

  • 7/28/2019 deltacloud-v7

    3/27

  • 7/28/2019 deltacloud-v7

    4/27

  • 7/28/2019 deltacloud-v7

    5/27

    Services everywhere...

    Software as A Service

    Gmail, Salesforge

    Platform as a Service

    AppEngine, Heroku Infrastructure as a Service

    EC2, GoGrid, RHEV

  • 7/28/2019 deltacloud-v7

    6/27

    Cloud computing types

    Public Cloud

    Private Cloud

    Hybrid Cloud

    Community / GovernmentCloud

  • 7/28/2019 deltacloud-v7

    7/27

    Who is it for ?

    For large (Fortune 500) companies, owningdata center is easy cost

    For medium companies, it's unrealistic

    For small companies, it's a dream

    7 from 10 startups choose cloud deployment

  • 7/28/2019 deltacloud-v7

    8/27

    Disadvantages when using 'in-house' server

  • 7/28/2019 deltacloud-v7

    9/27

    Disadvantages when using 'in-house' server

    Small is

    expensive (upgrades, power, admin...)

    less reliable (redundancy, failovers...)

    risky (All you eggs in one basket)

    inflexible (remote access is difficult)

  • 7/28/2019 deltacloud-v7

    10/27

    Advantages of using 'cloud' solution

    Pay as you go model

    Infiniteon-demand resources

    High elasticity

    Minimal initial costs

  • 7/28/2019 deltacloud-v7

    11/27

    Common cloud questions

    Data security

    Political restrictions

    Connectivity

  • 7/28/2019 deltacloud-v7

    12/27

    Key components of Cloud

    Massive virtualization (KVM, Xen, Hyper-V)

    Network (Internet in most cases)

    Easy administration (API)

  • 7/28/2019 deltacloud-v7

    13/27

    API ?

    More convenient way for managing clouds

    Gives a lot of power to end-users

    Scaling your applications/infrastructure using

    custom application

    Using web UI is not effective

  • 7/28/2019 deltacloud-v7

    14/27

    Many clouds == many problems...

    Vendor lock-in

    Similar to the many virtualization hypervisors (KVM,Xen, Hyper-V) before libvirt

    Each provider has own API OpenStack ? (Rackspace)

    Amazon EC2 API

    VMWare vCloud ? (VMWare)

  • 7/28/2019 deltacloud-v7

    15/27

    Many clouds, one API

    Deltacloud API

    Incubated under Apache Foundation (ASF)

    REST based cloud abstraction API

    Managing resources in different IaaS clouds

    Profiting from open-source model

  • 7/28/2019 deltacloud-v7

    16/27

    Deltacloud Supported IaaS providers

    Implemented as 'driver':

    Amazon EC2/S3, Rackspace, GoGrid, Terremark(vCloud), OpenNebula, RimuHosting, RHEV-M

    Comming soon: Linode, VMWare vCloud Native providers

    For developers: Mockdriver

  • 7/28/2019 deltacloud-v7

    17/27

    API specification

    REST API

    thus programming language agnostic

    supports XML, JSON, HTML

    build-in documentation

    Entry-point model (/api)

    Collections and operations

    Features (we failed here in abstraction ;-)

  • 7/28/2019 deltacloud-v7

    18/27

    API capabilities (1)

    Base collections:

    hardware_profiles

    realms

    images instances

    Extended collections:

    keys, buckets, storage_volumes,storage_snapshots

  • 7/28/2019 deltacloud-v7

    19/27

    API capabilities (2)

    Operations

    Basic set of CRUD operations

    Create (instance)

    Read/List (instances, images, hardware profiles...) Update (instance state reboot, stop, start)

    Destroy (instance, images)

    Extended operations

    Upload blob to bucket (S3) Assign instance to loadbalancer

  • 7/28/2019 deltacloud-v7

    20/27

    API capabilities (3)

    Capabilities are reported on entry-point level

    Using 'RESTish' practices

    Linking between resources

    HTTP status codes

  • 7/28/2019 deltacloud-v7

    21/27

    Additional features

    Instance authentication

    User data injection

    Security groups

    Loadbalancers...

    Features are reported in entry-point level

  • 7/28/2019 deltacloud-v7

    22/27

    Clients

    Ruby, Java, C (libdeltacloud), Perl,

    ....add your language here

  • 7/28/2019 deltacloud-v7

    23/27

    Advantages of using Deltacloud API

    Freedom in choosing provider

    QOS (Quality of Service)

    Simple fail-over

    Simple migration from one provider to another

    Making cloud development fun, instead offrustration

  • 7/28/2019 deltacloud-v7

    24/27

    Future ?

    Project Aeolus

    (God of wind manages clouds)

    Enterprise web application for managing clouds

    Includes Image building, deploying, QoS, Quotas... Support more cloud providers (VMWare)

    Native providers

  • 7/28/2019 deltacloud-v7

    25/27

    Where to start ?

    Official homepage:

    deltacloud.org

    git.apache.org/deltacloud.git

    [email protected]

  • 7/28/2019 deltacloud-v7

    26/27

    Interested in Ruby ?

    Looking for Ruby programmers !

    jobs.cz.redhat.com

  • 7/28/2019 deltacloud-v7

    27/27

    Thank you!

    Questions ?