Skip to main content

CLI tool to manage AWS AMI and Marketplace

Project description

Build Status Version Coverage License

CLI for simple AWS AMIs management

Quick Start

Install with pip:

$ pip install shipami
$ shipami --help

Publish AMI for AWS Marketplace

$ shipami --region us-east-1 release ami-00000000 1.0 --source-region eu-west-1
ami-000000aa

$ shipami --region us-east-1 list
Managed images:

  ami-000000aa: foo-1.0 [pending] (from: eu-west-1:ami-00000000)

$ shipami --region us-east-1 show ami-000000aa
ami-000000aa (foo-1.0) [pending]
tags:
  shipami:release: 1.0
  shipami:managed: True
  shipami:copied_from: eu-west-1:ami-00000000
devices mappings:
  /dev/xvda 8Go type:gp2

$ shipami --region us-east-1 share ami-000000aa

$ shipami --region us-east-1 show ami-000000aa
ami-000000aa (foo-1.0) [available]
tags:
  shipami:release: 1.0
  shipami:managed: True
  shipami:copied_from: eu-west-1:ami-00000000
devices mappings:
  /dev/xvda 8Go type:gp2
shared with:
  679593333241 (AWS MARKETPLACE) OK

Commands

copy

$ shipami copy ami-00000000
ami-000000aa
$ shipami list
Managed images:

  ami-000000aa: foo [pending] (from: eu-west-1:ami-00000000)

Unmanaged images:

  ami-00000000: foo (to: eu-west-1:ami-000000aa)

delete

list

$ shipami list
Unmanaged images:

      ami-00000000:   foo

release

$ shipami release ami-00000000 1.0
ami-000000aa
$ shipami list
Managed images:

  ami-000000aa: foo-1.0 [pending] (from: eu-west-1:ami-00000000)

Unmanaged images:

  ami-00000000: foo (to: eu-west-1:ami-000000aa)

share

show

Project details


Download files

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

Source Distribution

shipami-0.0.1b1.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

shipami-0.0.1b1-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page