Skip to main content

Distribute Amazon Machine Images (AMIs) to the public

Project description

Build Status

Distributes an Amazon Machine Image (AMI) by making it public in multiple regions

Usage

usage: distami [-h] [--region REGION] [--to REGIONS] [-p] [--verbose] AMI_ID

Distributes an AMI by making it public.

positional arguments:
  AMI_ID           the source AMI ID to distribute. E.g. ami-1234abcd

optional arguments:
  -h, --help       show this help message and exit
  --region REGION  the region the AMI is in (default is current region of EC2
                   instance this is running on). E.g. us-east-1
  --to REGIONS     comma-separated list of regions to copy the AMI to. The
                   default is all regions. E.g. us-east-1,us-west-1,us-west-2
  -p, --parallel   Perform each copy to another region in parallel. The
                   default is in serial which can take a long time
  --verbose, -v    enable verbose output (-vvv for more)

Examples

Copy an AMI to all regions in parallel from an EC2 instance such as Aminator:

distami -p ami-abcd1234

Copy AMI in us-east-1 to us-west-1

distribute --region us-east-1 ami-abcd1234 --to us-west-1

Installation

You can install DistAMI using the usual PyPI channels. Example:

sudo pip install distami

You can find the package details here: https://pypi.python.org/pypi/distami

About Answers for AWS

This code was written by Peter Sankauskas, founder of Answers for AWS - a consulting company focused on helping business get the most out of AWS. If you are looking for help with AWS, please contact us.

LICENSE

Copyright 2013 Answers for AWS LLC

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

distami-0.9.5.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file distami-0.9.5.tar.gz.

File metadata

  • Download URL: distami-0.9.5.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for distami-0.9.5.tar.gz
Algorithm Hash digest
SHA256 d81f396e3016a48fe1c179d0ec3be34bad6db7524069b4c50b4bd5d6ff7c9225
MD5 b5308fa6d86ed6643052028b9351c67a
BLAKE2b-256 f565cd3dc0acc6165923a06e21a41bf3b1c081d875b414bbf10aaf1d62fe08a5

See more details on using hashes here.

Provenance

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