all your hosts are belong to us!!!
Project description
hostout.cloud let's you build whole new application clusters in a matter of minutes.
Building on the power of collective.hostout_, buildout_ and fabric_ just few lines of configuration
and a single command is all thats needed to deploy apache, squid, mysql, zope, plone, django...
Installing hostout.cloud
************************
Add the collective.hostout part to your development buildout. Using the extends
option we add hostout.cloud to handle creating a host and hostout.ubuntu
to bootstrap that host ready for deployment.
>>> write('buildout.cfg',
... """
... [buildout]
... parts = host1 helloworld
...
... [helloworld]
... recipe = zc.recipe.egg:scripts
... eggs = zc.recipe.egg
... initialization = import sys
... main=lambda: sys.stdout.write('all your hosts are below to us!!!')
... entry-points = helloworld=__main__:main
...
... [host1]
... recipe = collective.hostout
... extends = hostout.cloud hostout.ubuntu
... hostsize - 256
... hostos = Ubuntu 9.10
... hosttype = rackspacecloud
... key = myaccount
... secret = myapikey
... """
... )
>>> print system('bin/buildout -N')
Installing host1.
Generated script '/sample-buildout/bin/hostout'.
Now with a single command everything is done for us
>>> print system('bin/hostout host1 deploy')
Our local environment
>>> print system('bin/helloworld')
all your hosts are below to us!!!
is now deployed to the cloud
>>> print system('bin/hostout host1 run bin/helloworld')
all your hosts are below to us!!!
Change your local code and just run deploy again
>>> print system('bin/hostout host1 deploy')
Reboot your server
>>> print system('bin/hostout host1 reboot')
and destroy it when you're done
>>> print system('bin/hostout host1 destroy')
Supported Cloud providers
*************************
hostout.cloud uses libcloud_. See the libcloud_ site for the supported serviers and options
for each.
Currently rackspace cloud and Ec2 are all thats tested.
Common options
**************
hostname
Unique name to create the VM
hostsize
The desired RAM size in MB. You will get the closet VM with at least this size
Rackspace
*********
key
your username
secret
your api password
hostos
the title of the OS as shown on the distributions selection list
Amazon Ec2
**********
key
secret
api secret key
key_filename
path to your pem file
hostos
is set to the image title
1.0a3 (2010-06-03)
- rerelease to bad version in upload
1.0a2 (2010-06-03)
------------------
- use fabfile entrypoint
- ec2 now working
- deploy with create works now
1.0a1 (unreleased)
------------------
- rackspace cloud working
- initial verion
Building on the power of collective.hostout_, buildout_ and fabric_ just few lines of configuration
and a single command is all thats needed to deploy apache, squid, mysql, zope, plone, django...
Installing hostout.cloud
************************
Add the collective.hostout part to your development buildout. Using the extends
option we add hostout.cloud to handle creating a host and hostout.ubuntu
to bootstrap that host ready for deployment.
>>> write('buildout.cfg',
... """
... [buildout]
... parts = host1 helloworld
...
... [helloworld]
... recipe = zc.recipe.egg:scripts
... eggs = zc.recipe.egg
... initialization = import sys
... main=lambda: sys.stdout.write('all your hosts are below to us!!!')
... entry-points = helloworld=__main__:main
...
... [host1]
... recipe = collective.hostout
... extends = hostout.cloud hostout.ubuntu
... hostsize - 256
... hostos = Ubuntu 9.10
... hosttype = rackspacecloud
... key = myaccount
... secret = myapikey
... """
... )
>>> print system('bin/buildout -N')
Installing host1.
Generated script '/sample-buildout/bin/hostout'.
Now with a single command everything is done for us
>>> print system('bin/hostout host1 deploy')
Our local environment
>>> print system('bin/helloworld')
all your hosts are below to us!!!
is now deployed to the cloud
>>> print system('bin/hostout host1 run bin/helloworld')
all your hosts are below to us!!!
Change your local code and just run deploy again
>>> print system('bin/hostout host1 deploy')
Reboot your server
>>> print system('bin/hostout host1 reboot')
and destroy it when you're done
>>> print system('bin/hostout host1 destroy')
Supported Cloud providers
*************************
hostout.cloud uses libcloud_. See the libcloud_ site for the supported serviers and options
for each.
Currently rackspace cloud and Ec2 are all thats tested.
Common options
**************
hostname
Unique name to create the VM
hostsize
The desired RAM size in MB. You will get the closet VM with at least this size
Rackspace
*********
key
your username
secret
your api password
hostos
the title of the OS as shown on the distributions selection list
Amazon Ec2
**********
key
secret
api secret key
key_filename
path to your pem file
hostos
is set to the image title
1.0a3 (2010-06-03)
- rerelease to bad version in upload
1.0a2 (2010-06-03)
------------------
- use fabfile entrypoint
- ec2 now working
- deploy with create works now
1.0a1 (unreleased)
------------------
- rackspace cloud working
- initial verion
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hostout.cloud-1.0a3.tar.gz
(8.0 kB
view details)
File details
Details for the file hostout.cloud-1.0a3.tar.gz.
File metadata
- Download URL: hostout.cloud-1.0a3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db52d7cd80752107a4fc6a6f886d62ce36defc7f3878862b1115d1b2e1e7d79a
|
|
| MD5 |
fdc53a8273986e925ad9c69e8ade9d41
|
|
| BLAKE2b-256 |
60ddf34c0df3ac1f07e89fc11a94d92ddebdfddf13aea68e46ef464edef22c03
|