Swift UI in CloudStackwith Single Sign-On       CloudStack Collaboration Conference 2012@CloudOps_                        ...
Whois CloudOps        ManagedServices                 Professional Services          Will Stevens   Privatecloud managemen...
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          ...
The Swift UI    • The Swift UI is integrated directly into      the CloudStack UI    • Development sponsored by CloudOps  ...
The Swift UI    •   Implemented entirely in the UI, no Java    •   Thin JS wrapper around the Swift API    •   Supports pu...
Swift Authentication    • Swift auth via cs_author mauth    • I developed these at CloudOps    • Get the code at: github.c...
Swift Authentication    • Both cs_authand mauth enable Swift to      authenticate CloudStack users    • mauth is extensibl...
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 star...
Load Balancer Tweaks (haproxy.cfg)    • Browser support for PUT requests    frontend Public-HTTP    mode http    bind *:80...
TheFinal Configuration    • Putting it all together@CloudOps_                      www.cloudops.com
Questions    Will Stevens                              ?    Email: wstevens@cloudops.com    Company: www.cloudops.com    B...
Upcoming SlideShare
Loading in …5
×

Swift UI in CloudStack

2,023 views
1,698 views

Published on

1 Comment
6 Likes
Statistics
Notes
No Downloads
Views
Total views
2,023
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
21
Comments
1
Likes
6
Embeds 0
No embeds

No notes for slide

Swift UI in CloudStack

  1. 1. Swift UI in CloudStackwith Single Sign-On CloudStack Collaboration Conference 2012@CloudOps_ www.cloudops.com
  2. 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. 3. A shout out… ca.movember.com/team/788849@CloudOps_ www.cloudops.com
  4. 4. Let’s jump right in • Swift UI integrated into CloudStack@CloudOps_ www.cloudops.com
  5. 5. Some Examples@CloudOps_ www.cloudops.com
  6. 6. Some Examples@CloudOps_ www.cloudops.com
  7. 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. 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. 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. 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. 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. 12. Swift Auth Flow@CloudOps_ www.cloudops.com
  13. 13. The ‘identity’@CloudOps_ www.cloudops.com
  14. 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. 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. 16. TheFinal Configuration • Putting it all together@CloudOps_ www.cloudops.com
  17. 17. Questions Will Stevens ? Email: wstevens@cloudops.com Company: www.cloudops.com Blog: www.swillops.com Twitter: swillops@CloudOps_ www.cloudops.com

×