Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

CLI tool to manage AWS AMI and Marketplace

License

NotificationsYou must be signed in to change notification settings

wnkz/shipami

Repository files navigation

Build StatusVersionCoverageLicense

CLI for simple AWS AMIs management

Quick Start

Install withpip:

$ pip install shipami$ shipami --help

Example: Publish AMI for AWS Marketplace

  1. List available AMIs in your default region (eg. eu-west-1)
$ shipami listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo                   ami-00000000  available  5 days ago   no         origin
  1. Create a release based on this image in us-east-1 region
$ shipami --region us-east-1 release ami-00000000 1.0 --source-region eu-west-1ami-000000aa$ shipami --region us-east-1 listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo-1.0    1.0        ami-000000aa  pending    just now     yes        eu-west-1:ami-00000000
  1. Manually share with AWS Marketplace account
$ shipami --region us-east-1 share ami-000000aa$ shipami --region us-east-1 show ami-000000aaid:     ami-000000aaname:   foo-1.0state:  availabletags:  shipami:copied_from: eu-west-1:ami-00000000  shipami:managed: True  shipami:release: 1.0devices mappings:  /dev/xvda 8Go type:gp2shared with:  679593333241 (AWS MARKETPLACE) OK

Commands

You can get further help and usage instructions on any command with the--help option.

copy

$ shipami copy ami-00000000ami-000000aa$ shipami listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo                   ami-00000000  available  5 days ago   no         origin                  eu-west-1:ami-000000aafoo                   ami-000000aa  pending    just now     yes        eu-west-1:ami-00000000

delete

$ shipami listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo                   ami-00000000  available  5 days ago   no         origin                  eu-west-1:ami-000000aafoo                   ami-000000aa  available  1 day ago    yes        eu-west-1:ami-00000000$ shipami delete ami-000000aaami-000000aa$ shipami listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo                   ami-00000000  available  5 days ago   no         origin

list

$ shipami listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo                   ami-00000000  available  5 days ago   no         origin

release

$ shipami release ami-00000000 1.0ami-000000aa$ shipami listNAME       RELEASE    ID            STATE      CREATED      MANAGED    COPIED FROM             COPIED TOfoo                   ami-00000000  available  5 days ago   no         origin                  eu-west-1:ami-000000aafoo-1.0    1.0        ami-000000aa  pending    just now     yes        eu-west-1:ami-00000000

share

$ shipami share ami-000000aa 012345678912

show

$ shipami show ami-000000aaid:     ami-000000aaname:   foo-1.0state:  availabletags:  shipami:copied_from: eu-west-1:ami-00000000  shipami:managed: True  shipami:release: 1.0devices mappings:  /dev/xvda 8Go type:gp2shared with:  012345678912

About

CLI tool to manage AWS AMI and Marketplace

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp