Skip to main content

Mico: a monkey driven cloud management tool

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.

Installation

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

pip install mico

Or:

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 (stupid.py)

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.

Metadata

Release files for mico 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mico 0.1
File Size Uploaded Provenance Actions
mico-0.1.tar.gz 34.3 kB Without provenance Details for mico-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mico 0.1
File Interpreter ABI Platform Actions
mico-0.1.linux-x86_64.tar.gz Details for mico-0.1.linux-x86_64.tar.gz

Total release size: 112.7 kB

Release files / mico-0.1.tar.gz

Download URL mico-0.1.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
977ca1a4d143567910d6df00b59e44285e35e4d34e3d8f1eabd065e78c11b544
BLAKE2b-256 checksum
How to use checksums
8e8adbdb177e4da52176545e7435f00b71d1104b7a7f6aefa02bc7f3c47f9c66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mico-0.1.linux-x86_64.tar.gz

Download URL mico-0.1.linux-x86_64.tar.gz
Size 78.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d5c3349b5cf5972ad44990a1ee911dbf487d4d934affcec98eaac03efef6246e
BLAKE2b-256 checksum
How to use checksums
7c94b649c354bf6f4b42f82dcef180170980a0c2ac812c497364bc94b6899b98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mico 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page