SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Swift UI in CloudStackwith Single Sign-On

       CloudStack Collaboration Conference 2012




@CloudOps_                                        www.cloudops.com
Whois CloudOps
        ManagedServices                 Professional Services          Will Stevens


   Privatecloud management          Cloud building                CloudOpsLeadDeveloper
   • Management of                  •   Design andbuild-out of
     privatecloudsbasedon 5             cloudstailoredto
     yearsexperience                    enterprises and cloud
   • Affordablesolutions based on       service providers
     open-core technologies
   • 24/7 management
     (servers, resources)

   Public cloud management          Cloud Architecture
   •   24/7 management of           •   Applicationarchitecture
       customer’s solutions on          optimizedfor the cloud
       Amazon Web Services




@CloudOps_                                                                   www.cloudops.com
A shout out…




    ca.movember.com/team/788849



@CloudOps_                        www.cloudops.com
Let’s jump right in
    • Swift UI integrated into CloudStack




@CloudOps_                                  www.cloudops.com
Some Examples




@CloudOps_          www.cloudops.com
Some Examples




@CloudOps_          www.cloudops.com
The Basics
    • Two main components of the
      implementation
         – The actual UI for Swift integrated into
           CloudStack

         – The Swift auth middleware which allows
           Swift to authenticate against CloudStack
           users




@CloudOps_                                           www.cloudops.com
The Swift UI
    • The Swift UI is integrated directly into
      the CloudStack UI

    • Development sponsored by CloudOps
    • We are in the process of Open Sourcing




@CloudOps_                                 www.cloudops.com
The Swift UI
    •   Implemented entirely in the UI, no Java
    •   Thin JS wrapper around the Swift API
    •   Supports public and private containers
    •   Supports virtual directories
    •   Supports cascade deletes
    •   Multilingual support
    •   Cross browser support using Plupload

             (Requires some configuration in HAProxy)


@CloudOps_                                          www.cloudops.com
Swift Authentication
    • Swift auth via cs_author mauth

    • I developed these at CloudOps

    • Get the code at: github.com/cloudops




@CloudOps_                             www.cloudops.com
Swift Authentication
    • Both cs_authand mauth enable Swift to
      authenticate CloudStack users
    • mauth is extensible, CS is the default

    • Caches CS users to limit network usage

    • No syncing of users between systems
    • Role based ACL, including public access
    • Supports the S3 API through swift3

@CloudOps_                                www.cloudops.com
Swift Auth Flow




@CloudOps_            www.cloudops.com
The ‘identity’




@CloudOps_           www.cloudops.com
Load Balancer Tweaks
    • URL routing with HAProxy
         – Handles both CloudStack API and Swift API
         – URLs starting with /v1.0 and /v1 go to Swift
         – All other URLs go to CloudStack




@CloudOps_                                       www.cloudops.com
Load Balancer Tweaks (haproxy.cfg)
    • Browser support for PUT requests
    frontend Public-HTTP
    mode http
    bind *:80
    aclswift_pathpath_beg /v1 /v1.0
    use_backend swift if swift_path
    default_backendcloudstack

    backend swift
    mode http
    server swift_proxy_1 10.100.1.100
    server swift_proxy_2 10.100.1.101
    option httpchk
    reqirep ^POSTs+(.*)$ PUT 1

    backend cloudstack
    mode http
    server cloudstack10.100.1.50:8080

@CloudOps_                               www.cloudops.com
TheFinal Configuration
    • Putting it all together




@CloudOps_                      www.cloudops.com
Questions




    Will Stevens
                              ?
    Email: wstevens@cloudops.com
    Company: www.cloudops.com
    Blog: www.swillops.com
    Twitter: swillops


@CloudOps_                         www.cloudops.com

Weitere ähnliche Inhalte

Was ist angesagt?

MVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelMVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelAlex Thissen
 
Accelerating DevOps Pipelines with AWS
Accelerating DevOps Pipelines with AWSAccelerating DevOps Pipelines with AWS
Accelerating DevOps Pipelines with AWSAmazon Web Services
 
Meetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWSMeetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWSAWS Vietnam Community
 
Managing your camels in the cloud with CI/CD
Managing your camels in the cloud with CI/CDManaging your camels in the cloud with CI/CD
Managing your camels in the cloud with CI/CDChristian Posta
 
Micro Services in .NET Core and Docker
Micro Services in .NET Core and DockerMicro Services in .NET Core and Docker
Micro Services in .NET Core and Dockercjmyers
 
Aws sys ops administrator
Aws sys ops administratorAws sys ops administrator
Aws sys ops administratorLearntek1
 
Microservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud FoundryMicroservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud FoundryEmilio Garcia
 
Building a Web Frontend with Microservices and NGINX Plus
Building a Web Frontend with Microservices and NGINX PlusBuilding a Web Frontend with Microservices and NGINX Plus
Building a Web Frontend with Microservices and NGINX PlusNGINX, Inc.
 
Greetings from AWS User Group Taiwan
Greetings from AWS User Group TaiwanGreetings from AWS User Group Taiwan
Greetings from AWS User Group TaiwanCliff Chao-kuan Lu
 
Serverless Architecture - introduction + AWS demo
Serverless Architecture - introduction + AWS demoServerless Architecture - introduction + AWS demo
Serverless Architecture - introduction + AWS demoJan van Zoggel
 
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?PROIDEA
 
Flying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native ApplicationsFlying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native ApplicationsJacek Bukowski
 
Serverless Framework Intro
Serverless Framework IntroServerless Framework Intro
Serverless Framework IntroNikolaus Graf
 
MicroserviceArchitecture in detail over Monolith.
MicroserviceArchitecture in detail over Monolith.MicroserviceArchitecture in detail over Monolith.
MicroserviceArchitecture in detail over Monolith.PLovababu
 
Building Serverless Microservices Using Serverless Framework on the Cloud
Building Serverless Microservices Using Serverless Framework on the CloudBuilding Serverless Microservices Using Serverless Framework on the Cloud
Building Serverless Microservices Using Serverless Framework on the CloudSrini Karlekar
 
Apache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First LookApache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First LookShanker Balan
 

Was ist angesagt? (20)

MVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelMVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming model
 
Migrating to aws
Migrating to awsMigrating to aws
Migrating to aws
 
Accelerating DevOps Pipelines with AWS
Accelerating DevOps Pipelines with AWSAccelerating DevOps Pipelines with AWS
Accelerating DevOps Pipelines with AWS
 
SOA to Microservices
SOA to MicroservicesSOA to Microservices
SOA to Microservices
 
104 meets cloud
104 meets cloud104 meets cloud
104 meets cloud
 
Meetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWSMeetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWS
 
Managing your camels in the cloud with CI/CD
Managing your camels in the cloud with CI/CDManaging your camels in the cloud with CI/CD
Managing your camels in the cloud with CI/CD
 
Micro Services in .NET Core and Docker
Micro Services in .NET Core and DockerMicro Services in .NET Core and Docker
Micro Services in .NET Core and Docker
 
Aws sys ops administrator
Aws sys ops administratorAws sys ops administrator
Aws sys ops administrator
 
Microservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud FoundryMicroservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud Foundry
 
Building a Web Frontend with Microservices and NGINX Plus
Building a Web Frontend with Microservices and NGINX PlusBuilding a Web Frontend with Microservices and NGINX Plus
Building a Web Frontend with Microservices and NGINX Plus
 
Greetings from AWS User Group Taiwan
Greetings from AWS User Group TaiwanGreetings from AWS User Group Taiwan
Greetings from AWS User Group Taiwan
 
Intro to Serverless
Intro to ServerlessIntro to Serverless
Intro to Serverless
 
Serverless Architecture - introduction + AWS demo
Serverless Architecture - introduction + AWS demoServerless Architecture - introduction + AWS demo
Serverless Architecture - introduction + AWS demo
 
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
 
Flying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native ApplicationsFlying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native Applications
 
Serverless Framework Intro
Serverless Framework IntroServerless Framework Intro
Serverless Framework Intro
 
MicroserviceArchitecture in detail over Monolith.
MicroserviceArchitecture in detail over Monolith.MicroserviceArchitecture in detail over Monolith.
MicroserviceArchitecture in detail over Monolith.
 
Building Serverless Microservices Using Serverless Framework on the Cloud
Building Serverless Microservices Using Serverless Framework on the CloudBuilding Serverless Microservices Using Serverless Framework on the Cloud
Building Serverless Microservices Using Serverless Framework on the Cloud
 
Apache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First LookApache CloudStack 4.2: A First Look
Apache CloudStack 4.2: A First Look
 

Ähnlich wie Swift UI in CloudStack

Automating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed ServicesAutomating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed ServicesRightScale
 
Automating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed ServicesAutomating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed ServicesAngela_Tripp
 
Application Lifecycle Management on AWS
Application Lifecycle Management on AWSApplication Lifecycle Management on AWS
Application Lifecycle Management on AWSDavid Mat
 
CCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container ServiceCCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container ServiceShapeBlue
 
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021ShapeBlue
 
The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittalbuildacloud
 
Sebastien goasguen cloud stack and docker
Sebastien goasguen   cloud stack and dockerSebastien goasguen   cloud stack and docker
Sebastien goasguen cloud stack and dockerShapeBlue
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...cloud-diva
 
Paul Angus - CloudStack Container Service
Paul  Angus - CloudStack Container ServicePaul  Angus - CloudStack Container Service
Paul Angus - CloudStack Container ServiceShapeBlue
 
Cloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopManuel Garcia
 
Private, Managed, Public - All Things WSO2 Cloud
Private, Managed, Public - All Things WSO2 CloudPrivate, Managed, Public - All Things WSO2 Cloud
Private, Managed, Public - All Things WSO2 CloudWSO2
 
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...Amazon Web Services
 
Introduction to OpenStack Heat
Introduction to OpenStack HeatIntroduction to OpenStack Heat
Introduction to OpenStack Heatopenstackindia
 

Ähnlich wie Swift UI in CloudStack (20)

Jclouds Intro
Jclouds IntroJclouds Intro
Jclouds Intro
 
Automating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed ServicesAutomating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed Services
 
Automating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed ServicesAutomating Cloud Operations: Tips from Managed Services
Automating Cloud Operations: Tips from Managed Services
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
Application Lifecycle Management on AWS
Application Lifecycle Management on AWSApplication Lifecycle Management on AWS
Application Lifecycle Management on AWS
 
CCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container ServiceCCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container Service
 
Intro to CloudStack
Intro to CloudStackIntro to CloudStack
Intro to CloudStack
 
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
 
The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittal
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
 
Sebastien goasguen cloud stack and docker
Sebastien goasguen   cloud stack and dockerSebastien goasguen   cloud stack and docker
Sebastien goasguen cloud stack and docker
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
Paul Angus - CloudStack Container Service
Paul  Angus - CloudStack Container ServicePaul  Angus - CloudStack Container Service
Paul Angus - CloudStack Container Service
 
Cloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment Workshop
 
CloudStack Clients and Tools
CloudStack Clients and ToolsCloudStack Clients and Tools
CloudStack Clients and Tools
 
Private, Managed, Public - All Things WSO2 Cloud
Private, Managed, Public - All Things WSO2 CloudPrivate, Managed, Public - All Things WSO2 Cloud
Private, Managed, Public - All Things WSO2 Cloud
 
Head in the clouds
Head in the cloudsHead in the clouds
Head in the clouds
 
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Micr...
 
Java Cloud Native Hack Nights GDL
Java Cloud Native Hack Nights GDLJava Cloud Native Hack Nights GDL
Java Cloud Native Hack Nights GDL
 
Introduction to OpenStack Heat
Introduction to OpenStack HeatIntroduction to OpenStack Heat
Introduction to OpenStack Heat
 

Swift UI in CloudStack

  • 1. Swift UI in CloudStackwith Single Sign-On CloudStack Collaboration Conference 2012 @CloudOps_ www.cloudops.com
  • 2. Whois CloudOps ManagedServices Professional Services Will Stevens Privatecloud management Cloud building CloudOpsLeadDeveloper • Management of • Design andbuild-out of privatecloudsbasedon 5 cloudstailoredto yearsexperience enterprises and cloud • Affordablesolutions based on service providers open-core technologies • 24/7 management (servers, resources) Public cloud management Cloud Architecture • 24/7 management of • Applicationarchitecture customer’s solutions on optimizedfor the cloud Amazon Web Services @CloudOps_ www.cloudops.com
  • 3. A shout out… ca.movember.com/team/788849 @CloudOps_ www.cloudops.com
  • 4. Let’s jump right in • Swift UI integrated into CloudStack @CloudOps_ www.cloudops.com
  • 5. Some Examples @CloudOps_ www.cloudops.com
  • 6. Some Examples @CloudOps_ www.cloudops.com
  • 7. The Basics • Two main components of the implementation – The actual UI for Swift integrated into CloudStack – The Swift auth middleware which allows Swift to authenticate against CloudStack users @CloudOps_ www.cloudops.com
  • 8. The Swift UI • The Swift UI is integrated directly into the CloudStack UI • Development sponsored by CloudOps • We are in the process of Open Sourcing @CloudOps_ www.cloudops.com
  • 9. The Swift UI • Implemented entirely in the UI, no Java • Thin JS wrapper around the Swift API • Supports public and private containers • Supports virtual directories • Supports cascade deletes • Multilingual support • Cross browser support using Plupload (Requires some configuration in HAProxy) @CloudOps_ www.cloudops.com
  • 10. Swift Authentication • Swift auth via cs_author mauth • I developed these at CloudOps • Get the code at: github.com/cloudops @CloudOps_ www.cloudops.com
  • 11. Swift Authentication • Both cs_authand mauth enable Swift to authenticate CloudStack users • mauth is extensible, CS is the default • Caches CS users to limit network usage • No syncing of users between systems • Role based ACL, including public access • Supports the S3 API through swift3 @CloudOps_ www.cloudops.com
  • 12. Swift Auth Flow @CloudOps_ www.cloudops.com
  • 13. The ‘identity’ @CloudOps_ www.cloudops.com
  • 14. Load Balancer Tweaks • URL routing with HAProxy – Handles both CloudStack API and Swift API – URLs starting with /v1.0 and /v1 go to Swift – All other URLs go to CloudStack @CloudOps_ www.cloudops.com
  • 15. Load Balancer Tweaks (haproxy.cfg) • Browser support for PUT requests frontend Public-HTTP mode http bind *:80 aclswift_pathpath_beg /v1 /v1.0 use_backend swift if swift_path default_backendcloudstack backend swift mode http server swift_proxy_1 10.100.1.100 server swift_proxy_2 10.100.1.101 option httpchk reqirep ^POSTs+(.*)$ PUT 1 backend cloudstack mode http server cloudstack10.100.1.50:8080 @CloudOps_ www.cloudops.com
  • 16. TheFinal Configuration • Putting it all together @CloudOps_ www.cloudops.com
  • 17. Questions Will Stevens ? Email: wstevens@cloudops.com Company: www.cloudops.com Blog: www.swillops.com Twitter: swillops @CloudOps_ www.cloudops.com