PageRenderTime 26ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

Plain Text | 61 lines | 50 code | 11 blank | 0 comment | 0 complexity | 4bd5c5b44f33f829b02ea3c6171fbeda MD5 | raw file
Possible License(s): GPL-2.0
  1. Cloud Provider Support
  2. ======================
  3. This lists the cloud providers and the support available:
  4. Rackspace Cloud
  5. ---------------
  6. `Rackspace <>`_ is the
  7. first (and currently only) provider supported by Silver Lining.
  8. To use Silver Lining you must sign up for an account through their
  9. website. You should sign up for "Cloud Servers" and "Cloud Files".
  10. There's no initial fee, and the cost for experimenting with Silver
  11. Lining will be less than a dollar as long as you don't forget to take
  12. down the servers you create to experiment. You'll have to have a
  13. credit card, and Rackspace Cloud will call you to confirm your account
  14. before you can use it.
  15. Once you have logged in go to **Your Account > API Access** to view or
  16. create your API key. Silver Lining needs to know your username and
  17. API key, which it will ask you for when you first start the command.
  18. Host It Yourself
  19. ----------------
  20. You don't *need* to use commands like ``silver create-node`` to make
  21. use of Silver Lining. If you have a machine with a fresh install of
  22. Ubuntu Lucid then you can use ``silver setup-node`` to
  23. configure the machine and ``silver update`` to deploy applications.
  24. It's harder to test things without the ability to create and destroy
  25. servers on demand, but the basic infrastructure is not really
  26. dependent on that.
  27. **Don't use this on a server you want to keep!** ``silver
  28. setup-node`` is not aggressive in modifying the server, but it doesn't
  29. particularly keep track of what it does, nor is there any reason it
  30. should. Also if you have local modifications on the server, those
  31. modifications can be lost; all updates are done with the assumption
  32. that it's being given a bare Ubuntu installation to work with.
  33. Other Providers
  34. ---------------
  35. Silver Lining is built on `libcloud <>`_. libcloud
  36. abstracts over the API of quite a few cloud providers. Any of these
  37. providers should be a possible platform for Silver Lining; the basic
  38. abstractions already exist, it just needs some testing. The only
  39. thing that's currently really Rackspace-specific is that on node
  40. creation some files are uploaded -- not a complete set, mostly just
  41. ``/root/.ssh/authorized_keys2``. This is built in to some other APIs
  42. (e.g., I believe EC2 node creation automatically sets up
  43. authorized_keys). It would require a bit of abstraction as a result.
  44. The best way to try a new provider is to fork the Silver Lining
  45. repository, try it out, and make what patches are necessary --
  46. probably to the routine that creates ``~/.silverlining.conf``
  47. (:mod:`silverlining.createconf`), ``silver create-node``
  48. (:mod:`silverlining.commands.create_node`), and *maybe* ``silver
  49. setup-node`` (:mod:`silverlining.commands.setup_node`) -- though I
  50. expect setup-node will be fine.