{ "info": { "author": "SUSE Public Cloud Team", "author_email": "public-cloud-dev@susecloud.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "[![Build Status](https://www.travis-ci.com/SUSE-Enceladus/ec2imgutils.svg?branch=master)](https://www.travis-ci.com/SUSE-Enceladus/ec2imgutils)\n\nec2imgutils\n===========\n\nA collection of utilities for image management in AWS EC2\n\n## Installation\n\n### openSUSE and SUSE Linux Enterprise\n\n```\n> zypper in python3-ec2imgutils\n```\n\n### PyPI\n\n```\n> pip install ec2imgutils\n```\n\n## Utilities\n\n### ec2deprecateimg\n\nA command line utility to deprecate images in Amazon EC2. The platform does\nnot support a formal deprecation mechanism. The mechansim implemented by this\ntool is a convention. Unfortunately the tags are not sticky, i.e. not visible\nto others if the image is shared.\n\nImages are tagged with:\n\n- Deprecated on -> today's date in YYYYMMDD format\n- Removal date -> today's date plus the deprecation period specified\n- Replacement image -> The AMI ID and name of the replacement image\n\nThe image set as the replacement is removed from the list of potential\nimages to be deprecated before any matching takes place. Therefore, the\ndeprecation search criteria specified with _--image-name-frag_ or\n_--image-name-match_ cannot match the replacement image.\n\n#### Usage\n\n```\n> ec2deprecateimg --account example --image-name-match v15 --image-virt-type hvm --replacement-name exampleimage_v16\n```\n\nSee the [man pages](man/man1/ec2deprecateimg.1) for more information.\n\n```\nman ec2deprecateimg\n```\n\n### ec2publishimg\n\nA command line utility to control the visibility of an image in AWS EC2.\nThe utility sets the visibility of an AMI to allow others to use the\nimage, making it public or sharing it with sepecific accounts, or setting\nthe image to private, i.e. only available to the account owner.\n\n#### Usage\n\n```\n> ec2publishimg --account example --image-name-match production-v2 --share-with all\n```\n\nSee the [man pages](man/man1/ec2publishimg.1) for more information.\n\n```\nman ec2publishimg\n```\n\n### ec2removeimg\n\nA command line utility to remove images in Amazon EC2. Removing an image,\nin the sense that all traces of a given image are gone, means the image\n(AMI) has to be deregistered and the associated snapshot has to be deleted.\nHaving to do this in multiple regions in the UI is tedious and from the\nthe command line is a bookkeeping annoyance. This tool handles the clean up\nof images.\n\n#### Usage\n\n```\n> ec2removeimg --account example --image-name-match v15\n```\n\nSee the [man pages](man/man1/ec2uploadimg.1) for more information.\n\n```\nman ec2removeimg\n```\n\n### ec2uploadimg\n\nA command line utility to upload a compressed raw image file, as created by\nKIWI for example to Amazon EC2 and create a snapshot or register an EBS\nbacked AMI. Uploads a compressed raw image to Amazon EC2 using an\nexisting EC2 AMI and creates a snapshot or registers a new AMI from the\nimage. The apparent size of the raw image is recommended to be 10 GB or\nless. It is expected that the raw image has 1 partition, i.e. the root\npartition is _/dev/sda1._ The process of creating the image is as\nfollows:\n\n* Start an instance\n* Create a storage volume and attach it to the running instance\n* Create volume that will be the new root and attach it to the running \n instance\n* Upload the image\n* Unpack the image and dump it to the new root volume\n* Detach the new root volume and create a snapshot\n* Register a new AMI\n* Clean up\n\n#### Usage\n\n```\n> ec2uploadimg --account example -d \"My first image\" -m x86_64 -n my_linux_image -r us-east-1 PATH_TO_COMPRESSED_FILE\n```\n\nSee the [man pages](man/man1/ec2uploadimg.1) for more information.\n\n```\nman ec2uploadimg\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SUSE-Enceladus/ec2imgutils", "keywords": "", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "ec2imgutils", "package_url": "https://pypi.org/project/ec2imgutils/", "platform": "", "project_url": "https://pypi.org/project/ec2imgutils/", "project_urls": { "Homepage": "https://github.com/SUSE-Enceladus/ec2imgutils" }, "release_url": "https://pypi.org/project/ec2imgutils/7.0.6/", "requires_dist": null, "requires_python": "", "summary": "Command-line tools to manage images in AWS EC2", "version": "7.0.6" }, "last_serial": 5885156, "releases": { "7.0.2": [ { "comment_text": "", "digests": { "md5": "0ff0eb64a417e55dd8cbcadd4d2f60ee", "sha256": "82d808bdec619ee61300a2667a4002c11690c4085397a5d36e5b502d6d59483c" }, "downloads": -1, "filename": "ec2imgutils-7.0.2.tar.gz", "has_sig": false, "md5_digest": "0ff0eb64a417e55dd8cbcadd4d2f60ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45641, "upload_time": "2018-11-13T21:15:23", "url": "https://files.pythonhosted.org/packages/9d/f6/6e24822790d52f6e52aca8ab9074f9e0989ddc5cee1a580d7dab113a515c/ec2imgutils-7.0.2.tar.gz" } ], "7.0.5": [ { "comment_text": "", "digests": { "md5": "ce7aa81062be74f0c178d998a6126133", "sha256": "3598dfa18f42f473b9e73e2d2855e4dbe25211e633f9fcf6e72146924223dcdd" }, "downloads": -1, "filename": "ec2imgutils-7.0.5.tar.gz", "has_sig": false, "md5_digest": "ce7aa81062be74f0c178d998a6126133", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46117, "upload_time": "2019-09-23T16:16:32", "url": "https://files.pythonhosted.org/packages/e4/d4/3e1395b2e9eec101461be221fad8c3f55310fc331b0c6292c52d69f38a6f/ec2imgutils-7.0.5.tar.gz" } ], "7.0.6": [ { "comment_text": "", "digests": { "md5": "a1e661a1a93900e2554365a0187629cf", "sha256": "b3b7e4bb36718035c77f21aca78878ea87ce82e81c1b656985e2792886c4c686" }, "downloads": -1, "filename": "ec2imgutils-7.0.6.tar.gz", "has_sig": false, "md5_digest": "a1e661a1a93900e2554365a0187629cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46194, "upload_time": "2019-09-25T13:02:17", "url": "https://files.pythonhosted.org/packages/39/09/62c3f9480ab10e7cc2ac9268f892e5d71b7bcb342a757284e2f52906b3a9/ec2imgutils-7.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1e661a1a93900e2554365a0187629cf", "sha256": "b3b7e4bb36718035c77f21aca78878ea87ce82e81c1b656985e2792886c4c686" }, "downloads": -1, "filename": "ec2imgutils-7.0.6.tar.gz", "has_sig": false, "md5_digest": "a1e661a1a93900e2554365a0187629cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46194, "upload_time": "2019-09-25T13:02:17", "url": "https://files.pythonhosted.org/packages/39/09/62c3f9480ab10e7cc2ac9268f892e5d71b7bcb342a757284e2f52906b3a9/ec2imgutils-7.0.6.tar.gz" } ] }