Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Zambi Connection Manager

Project Description

# zambi A single place to manage AWS boto connection objects for multiple accounts and services.

# Summary Zambi is used to manage multiple connection types leveraging the boto library. So that you can quickly create a new connection object for a new account or a service.

# Getting started To get started install zambi ` pip install zambi `

Create a conf directory and a credential directory and set these system variables. ` export AWS_CONF_DIR=/path/to/conf export AWS_CRED_DIR=/path/to/credntials `

Create account mapping file, $AWS_CONF_DIR/account_aliases_map.txt ` opsqa:opsqa:111111111111 `

Create credential files, $AWS_CRED_DIR/opsqa.ini ` [Credentials] aws_account_id=111111111111 aws_access_key_id=AXXXXXXXXXXX aws_SECRET_ACCESS_KEY=yyyyyyyxxxxxxxzzzzzz `

# Usage Initialize the Zambi within you. ` from zambi import ZambiConn cmgr = ZambiConn() `

To get all accounts from mapping file. ` accounts = cmgr.get_accounts() `

To get accounts that end in qa. ` accounts = cmgr.get_accounts('.*qa') `

To get just the opsqa account. ` account = cmgr.get_accounts('opsqa') `

Creaet an EC2 Connection to opsqa. ` conn = cmgr.get_connection(account) `

Example of other services like route53 ` conn = cmgr.get_connection(account, service='route53') `

Changelog

Next Release (TBD)

  • Zambi: Manages boto connection objects for multiple AWS accounts and services.

1.0

  • feature: Initial revision
Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Zambi-1.0.0.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Aug 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting