a dropbox like personal cloud for openstack swift
play

A Dropbox-like Personal Cloud for OpenStack Swift Pedro Garca Lpez - PowerPoint PPT Presentation

A Dropbox-like Personal Cloud for OpenStack Swift Pedro Garca Lpez OpenStack Summit Adrin Moreno Martnez May 2014 - Atlanta Cristian Cotes Gonzlez CloudSpaces project Open Service Platform for the Next Generation of Open


  1. A Dropbox-like Personal Cloud for OpenStack Swift Pedro García López OpenStack Summit Adrián Moreno Martínez May 2014 - Atlanta Cristian Cotes González

  2. CloudSpaces project ● Open Service Platform for the Next Generation of Open Personal Clouds: http://cloudspaces.eu ● Objectives: o Interoperability and privacy ● Partners: o URV , Eurecom, EPFL, eyeOS (Web Desktop), TISSAT (cloud provider), NEC.

  3. Personal Cloud We understand it as… ● Storage ● Synchronization ● Sharing

  4. Our motivations ● Not a cloud open-source solution available  StackSync and OpenStack ● Users lack control of their data  Privacy, Client-side encryption, secure sharing… ● Vendor lock-in  Interoperability

  5. Big picture

  6. First stage ● Metadata separated from data → StackSync Server → OpenStack Swift Metadata DB StackSync Server OpenStack Swift Metadata Data flow flow Desktop client

  7. Second stage Metadata DB ● MOM (RabbitMQ) → push notifications StackSync Server StackSync Server StackSync Server ● Elastic sync protocol RabbitMQ OpenStack Swift Metadata Data flow (Push) flow Desktop client

  8. Current stage Metadata DB ● API as a Swift’s proxy module Metadata flow StackSync Server StackSync Server StackSync Server ● Website ● Android app OpenStack Swift RabbitMQ StackSync API Metadata Data flow (push) flow Desktop client Mobile client

  9. Lifecycle and architecture

  10. Lifecycle StackSync Server StackSync Server StackSync Server RabbitMQ OpenStack Swift Client 3 Client 1 Client 2

  11. Desktop client Metadata DB Metadata flow StackSync Server OpenStack Swift RabbitMQ StackSync API Metadata Data flow (push) flow Desktop client Mobile client

  12. Tasks ● File system watcher ● Chunking, compression, and encryption

  13. Features ● File versioning ● File sharing ● OS integration ● Overlay icons ● Notifications

  14. StackSync server Metadata DB Metadata flow StackSync Server OpenStack Swift RabbitMQ StackSync API Metadata Data flow (push) flow Desktop client Mobile client

  15. Operations { "is_folder":false, "mimetype":"application/pdf", ● getAccount "status":"NEW", "parent_file_id":73990274, "file_id":-534824681, ● getChanges "path":"/documents/", "filename":"StackSync_Guide.pdf", "checksum":-2678858962222278590, ● commit "user":"John Doe", "client_modified":"2013-03-08 10:36:41.997", "size":775412, ● … "version":1, "server_modified":"2013-03-08 10:36:41.997" }

  16. Syncing conflicts ● Two users modify the same file at the same time ● Whichever version is processed first wins ● The loser creates a conflicted copy of the file with his changes User 1 StackSync Server User 2

  17. Workspace ● Represents the relation between files and users ● Every user has its own workspace ● Every shared folder has its workspace ● A workspace maps into a Swift container Workspace 1 Container 1 OpenStack Swift User 1 Shared container Shared workspace Workspace 2 Container 2 User 2

  18. Encryption settings Client-side Server-side Plain encryption encryption

  19. Swift mappings StackSync OpenStack Swift installation tenant user user workspace container admin tenant admin file N chunks

  20. Sharing process 1. Send share proposal 2. Notify the addressee 3. Proposal gets accepted 4. Create container and set up ACL OpenStack Swift X-Container-Read and X-Container-Write StackSync Server User 1 User 2

  21. RabbitMQ Metadata DB Metadata flow StackSync Server OpenStack Swift RabbitMQ StackSync API Metadata Data flow (push) flow Desktop client Mobile client

  22. RabbitMQ ● Communication between clients and server ● Push notifications ● Load-balancing ● Multicast messages per workspace

  23. StackSync Server StackSync Server StackSync Server

  24. StackSync API Metadata DB Metadata flow StackSync Server OpenStack Swift RabbitMQ StackSync API Metadata Data flow (push) flow Desktop client Mobile client

  25. StackSync API ● Located in the proxy’s pipeline ● Used by website & mobile clients ● Communicates with StackSync server to get metadata and authorization ● Activates when the X-StackSync-API header is set

  26. StackSync API Auth ● Module located before the API ● OAuth 1.0a implementation ● Sets the user information in the wsgi environment for the API

  27. GET /api/file/4688390 Header: X-StackSync-API: v1

  28. Performance

  29. Traffic overhead

  30. Push vs pull

  31. Server elasticity Number of instances Number of requests Time (minutes)

  32. Using StackSync

  33. On premises Deployment scenarios On cloud provider Private Hybrid Public OpenStack Swift OpenStack Swift OpenStack Swift StackSync Server StackSync Server StackSync Server

  34. Current deployments ● Universitat Rovira i Virgili ● Tissat (Data center) ● Rediris (Spanish university network)

  35. Community ● Available for: ● Documentation available at stacksync.org ● Easy to deploy for swifters

  36. Conclusions ● StackSync is a ready-to-use Personal Cloud for OpenStack Swift ● What’s next ● Advanced privacy features ● Interoperability ● iOS and OS X clients

  37. Thanks for your attention! stacksync.org github.com/stacksync

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend