SlideShare a Scribd company logo
CloudStack and SaltStack
Sebastien Goasguen
@sebgoa
June 13th
2013
Amsterdam, Netherlands
Apache CloudStack
CloudStack / Saltstack lightning talk at DevOps Amsterdam
CloudStack / Saltstack lightning talk at DevOps Amsterdam
Talk to
the Cloud
Master
Minions
Salt Cloud
libcloud
• Python module that
provides a Cloud
Provider API abstraction
• Ability to write apps
using multiple providers
• Now with an improved
CloudStack driver
libcloud
conn=Driver(key=apikey,secret=sec
retkey,secure=True,host=host,path
=path)
conn.list_locations()
conn.list_images()
conn.list_sizes()
conn.create_node(name=’foobar',im
age=images[0],size=offerings[0])
Patching
libcloud
• https://issues.apache.org/jira/browse/LIBCLOUD-3
• https://issues.apache.org/jira/browse/LIBCLO
UD-333
• https://issues.apache.org/jira/browse/LIBCLO
UD-337
• https://issues.apache.org/jira/browse/LIBCLO
UD-338
Git pull
in salt-cloud
Defining
a Provider
providers:
exoscale:
apikey: <api key>
secretkey: <secret key>
host: api.exoscale.ch
path: /compute
securitygroup: default
user: root
private_key: /path/to/private/key
provider: cloudstack
Node Profiles
ubuntu-exoscale-master:
provider: exoscale
image: 1d16c78d-268f-47d0-be0c-b80d31e765d2
size: b6cd1ff5-3a2f-4e9d-a4d1-8988c1191fe8
ssh_interface: public
ssh_username: root
keypair: exoscale
make_master: True
master:
user: root
interface: 0.0.0.0
ubuntu-exoscale-minion:
provider: exoscale
image: 1d16c78d-268f-47d0-be0c-b80d31e765d2
…
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
Thank
you 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.html
Welcoming contributions and feedback !
Sebastien Goasguen
@sebgoa

More Related Content

CloudStack / Saltstack lightning talk at DevOps Amsterdam