Skip to main content

A monkey driven cloud management

Project description

Mico is a tool-toy to manage a number of hosts deployed in cloud services (currently only support Amazon AWS), and also allows you to deploy new hosts with specified template or create autoscaling groups and manage them easily.


As usual, mico is available from pypi, and can be installed using pip or easy_install:

pip install mico


easy_install mico

Configure Mico

Mico just need an AWS key ID and AWS secret key to run. By default mico just take this variables from the OS environment:

export AWS_ACCESS_KEY_ID="*foo*"
export AWS_SECRET_ACCESS_KEY="*bar*"

Creating templates

Mico works using the concept of template. A template is just a python code (with steroids which we call libraries), the template can implements a number of functions. Here are a simple and stupid template (

def hello():
  print "Hello world!"

def bye():
  print "Bye cruel world!"

def hola(args):
  print "Hola %s" % args

Once, your template is created, you need to put it into a mico template path (by default uses /etc/mico and ~/.config/mico/, and the current working directory.

Then you can just run mico:

mico -H my_new_host stupid:hello
Hello world!

mico -H my_new_host stupid:bye
Bye cruel world!

mico stupid:hola everyone
Hola everyone

You can see more complex (and useful!) templates in examples directory.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mico-0.1.tar.gz (34.3 kB view hashes)

Uploaded source

Built Distribution

mico-0.1.linux-x86_64.tar.gz (78.3 kB view hashes)

Uploaded any

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page