CloudStack and SaltStackSebastien Goasguen@sebgoaJune 13th2013Amsterdam, Netherlands
Apache CloudStack
Talk tothe CloudMasterMinions
Salt Cloud
libcloud• Python module thatprovides a CloudProvider API abstraction• Ability to write appsusing multiple providers• Now w...
libcloudconn=Driver(key=apikey,secret=secretkey,secure=True,host=host,path=path)conn.list_locations()conn.list_images()con...
Patchinglibcloud• https://issues.apache.org/jira/browse/LIBCLOUD-3• https://issues.apache.org/jira/browse/LIBCLOUD-333• ht...
Git pullin salt-cloud
Defininga Providerproviders:exoscale:apikey: <api key>secretkey: <secret key>host: api.exoscale.chpath: /computesecuritygr...
Node Profilesubuntu-exoscale-master:provider: exoscaleimage: 1d16c78d-268f-47d0-be0c-b80d31e765d2size: b6cd1ff5-3a2f-4e9d-...
Using it$salt-cloud –list-locations exoscale$salt-cloud –list-images exoscale$salt-cloud –list-sizes exoscale$salt-cloud –...
Thankyou and Info• Apache Top Level project• http://www.cloudstack.org• #cloudstack on irc.freenode.net• @cloudstack on Tw...
CloudStack / Saltstack lightning talk at DevOps Amsterdam
CloudStack / Saltstack lightning talk at DevOps Amsterdam
Upcoming SlideShare
Loading in …5
×

CloudStack / Saltstack lightning talk at DevOps Amsterdam

1,696 views

Published on

This is my lightning talk from DevOps days Amsterdam on June 14th. I present a quick hack I did during LinuxTag berlin. Saltstack is an alternative to Puppet and Chef, written in Python it has an active community and is easy to use. Saltstack has a cloud client called salt-cloud which can use apache libcloud to interact with Cloud providers. I created a coudstack driver in saltstack and patched libcloud to be able to use salt on a CloudStack cloud. This talk lasted 5 minutes as per the rules of DevOps Lightning talk.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,696
On SlideShare
0
From Embeds
0
Number of Embeds
44
Actions
Shares
0
Downloads
29
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

CloudStack / Saltstack lightning talk at DevOps Amsterdam

  1. 1. CloudStack and SaltStackSebastien Goasguen@sebgoaJune 13th2013Amsterdam, Netherlands
  2. 2. Apache CloudStack
  3. 3. Talk tothe CloudMasterMinions
  4. 4. Salt Cloud
  5. 5. libcloud• Python module thatprovides a CloudProvider API abstraction• Ability to write appsusing multiple providers• Now with an improvedCloudStack driver
  6. 6. libcloudconn=Driver(key=apikey,secret=secretkey,secure=True,host=host,path=path)conn.list_locations()conn.list_images()conn.list_sizes()conn.create_node(name=’foobar,image=images[0],size=offerings[0])
  7. 7. Patchinglibcloud• https://issues.apache.org/jira/browse/LIBCLOUD-3• https://issues.apache.org/jira/browse/LIBCLOUD-333• https://issues.apache.org/jira/browse/LIBCLOUD-337• https://issues.apache.org/jira/browse/LIBCLOUD-338
  8. 8. Git pullin salt-cloud
  9. 9. Defininga Providerproviders:exoscale:apikey: <api key>secretkey: <secret key>host: api.exoscale.chpath: /computesecuritygroup: defaultuser: rootprivate_key: /path/to/private/keyprovider: cloudstack
  10. 10. Node Profilesubuntu-exoscale-master:provider: exoscaleimage: 1d16c78d-268f-47d0-be0c-b80d31e765d2size: b6cd1ff5-3a2f-4e9d-a4d1-8988c1191fe8ssh_interface: publicssh_username: rootkeypair: exoscalemake_master: Truemaster:user: rootinterface: 0.0.0.0ubuntu-exoscale-minion:provider: exoscaleimage: 1d16c78d-268f-47d0-be0c-b80d31e765d2…
  11. 11. Using it$salt-cloud –list-locations exoscale$salt-cloud –list-images exoscale$salt-cloud –list-sizes exoscale$salt-cloud –p ubuntu-exoscale-master mymaster$salt-cloud –p ubuntu-exoscale-minion myminion
  12. 12. Thankyou and Info• Apache Top Level project• http://www.cloudstack.org• #cloudstack on irc.freenode.net• @cloudstack on Twitter• http://www.slideshare.net/cloudstack• http://www.slideshare.net/sebastiengoasguen• http://www.youtube.com/diycloudcomputing• http://cloudstack.apache.org/mailing-lists.htmlWelcoming contributions and feedback !Sebastien Goasguen@sebgoa

×