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!

Query for Amazon EC2 instances on the command-line.

Project Description

Quickly query for EC2 instances on the command-line.

Status: in-development

Overview

Collar makes it easier for you to access on-demand servers that you’ve spun up on Amazon EC2. It’s a command-line tool for querying and logging into these servers, a tool which lets you filter using immutable instance parameters (e.g. size, security group) as well as mutable tags.

Installing

Requires Python 3.x and pip. Then install with:

pip install collar

Configuring

You’ll need to provide access to your Amazon account by creating a ~/.botorc file. See Configuring Boto Credentials.

Examples of use

Listing instances

# list all instances by id
collar list

# TODO: list all instance by public domain
collar list --public

# TODO: list all instances by private domain
collar list --private

# list only instances with tag Role:worker
collar list Role:worker

# constrain with many tags at once
collar list Role:worker Customer:blubbersoft

Describing instances

# describe all instances
collar describe

# describe a named instance
collar describe Name:projet-alpha

# describe a general query
collar describe Role:worker Customer:blubbersoft

Licence

BSD licenced.

History

0.1.0 (2015-08-06)

  • First release on PyPI
  • Querying for ids
  • Filtering using tags and other instance characteristics
  • Providing public and private domain names
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.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
collar-0.1.1-py3-none-any.whl (7.2 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Aug 7, 2015
collar-0.1.1.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Aug 7, 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