{ "info": { "author": "Oleksandr Chyrko", "author_email": "aleksandr.chirko@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: System :: Clustering", "Topic :: System :: Systems Administration" ], "description": "CLI tool to run commands on ec2 instances.\n==========================================\n\nSupported cloud platforms\n-------------------------\n\nImplemented\n~~~~~~~~~~~\n\n- [x] AWS EC2\n\nTODO\n~~~~\n\n- [ ] Openstack via ec2 API endpoint\n\nFeatures\n--------\n\nImplemented\n~~~~~~~~~~~\n\n- [x] Multiple remote users (if can't authenticate - will try next\n username)\n- [x] Filter by tags\n- [x] Parallel execution\n\nTODO\n~~~~\n\n- [ ] Profiles (group settings and filters in named profile, and\n specify profile on ``vpc.sh run``)\n- [ ] Filter by launch date (``launched-before`` and ``launched-after``\n )\n- [ ] Filter by keypair\n- [ ] --dry-run flag\n\nInstallation\n------------\n\nInstall the latest stable version:\n\n::\n\n pip install vpc.sh\n\nUsage\n-----\n\nGet help:\n\n::\n\n vpc.sh --help\n vpc.sh run --help\n vpc.sh run-one --help\n\nCreate settings file:\n\n::\n\n mkdir ~.vpc.sh\n cat >>~.vpc.sh/settings<<-EOF\n [default]\n remote_user = ubuntu,centos,root\n private_key = /home/ubuntu/.ssh/ec2.pem\n aws_access_key_id = access-key\n aws_secret_access_key = secret-access-key\n aws_region = eu-west-1\n EOF\n\nFilter by tag 'owner=automation' and run command on resulted instances:\n\n::\n\n vpc.sh run -f owner=automation 'df -h'\n\nRun script:\n\n::\n\n vpc.sh run -f owner=automation<<-EOF\n echo hello\n uname -a\n EOF\n\nRun any script or binary (assuming it's compatible with target hosts):\n\n::\n\n vpc.sh run -f owner=automation < some_python_script.py\n vpc.sh run -f owner=automation < /usr/local/bin/weather", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/achirko/vpc.sh", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "vpc.sh", "package_url": "https://pypi.org/project/vpc.sh/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vpc.sh/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/achirko/vpc.sh" }, "release_url": "https://pypi.org/project/vpc.sh/0.1/", "requires_dist": null, "requires_python": null, "summary": "CLI tool to run shell commands on ec2 instances.", "version": "0.1" }, "last_serial": 2183792, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "75f695e434c4ce4f5541e7950ce9e3f8", "sha256": "d1ef3c94c4b6828ac3334888bf137d5d7ca4386e13076a0ed8b49ee574def831" }, "downloads": -1, "filename": "vpc.sh-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "75f695e434c4ce4f5541e7950ce9e3f8", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6099, "upload_time": "2016-06-23T17:18:09", "url": "https://files.pythonhosted.org/packages/2e/fe/4820d1d39c324a7ec8212f2d963afb505792731517ad009716924e479f49/vpc.sh-0.1-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75f695e434c4ce4f5541e7950ce9e3f8", "sha256": "d1ef3c94c4b6828ac3334888bf137d5d7ca4386e13076a0ed8b49ee574def831" }, "downloads": -1, "filename": "vpc.sh-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "75f695e434c4ce4f5541e7950ce9e3f8", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6099, "upload_time": "2016-06-23T17:18:09", "url": "https://files.pythonhosted.org/packages/2e/fe/4820d1d39c324a7ec8212f2d963afb505792731517ad009716924e479f49/vpc.sh-0.1-py2-none-any.whl" } ] }