{ "info": { "author": "Charlie Laughton", "author_email": "charles.laughton@nottingham.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3" ], "description": "# EcPc: Simple creation and managment of EC2 instances\n\nEcPc provides a small collection of command-line tools to launch, list,\nlog in to, and terminate EC2 (spot) instances. \n\nIt's deliberately a basic\ntool with few parameters for a user to tweak.\n\n## Prerequisites:\n\nYou need to have an AWS account, and have you ACCESS_KEY and SECRET_ACCESS_KEYs to hand. Then install boto3 according to the \ninstructions [here](https://pypi.org/project/boto3/)\n\n## Installation:\n\nVia `pip`:\n\n```\n% pip install ecpc\n```\n\n## Usage:\n\nTo launch an instance, use `ecpc create`:\n\n```\n% ecpc create my_instance\ncreating a t2.small instance in region eu-west-1 with ID my_instance\nkey pair created\nsecurity group created\nrequired ami identified\nlaunching instance - this may take some time...\ninstance launched\n%\n```\n\nYou can change the instance type, and the region it is launched into:\n\n```\n% ecpc create my_c5 -r us-west-1 -t c5.large\ncreating a c5.large instance in region eu-west-1 with ID my_c5\nkey pair created\nsecurity group created\nrequired ami identified\nlaunching instance - this may take some time...\ninstance launched\n%\n```\n\nTo list your instances:\n\n```\n% ecpc list\nID region type up_time state cost($)\nmy_c5 us-west-1 c5.large 00:00:00 booting-up 0.00 \nmy_instance eu-west-1 t2.small 00:04:00 ready 0.00 \n```\n \n**Note: the \"cost\" value is approximate**\n\nTo log in to an instance, use `ecpc login`:\n\n```\n% ecpc login my_instance\nWarning: Permanently added '52.19.207.118' (ECDSA) to the list of known hosts.\nWelcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1029-aws x86_64)\n\n * Documentation: https://help.ubuntu.com\n * Management: https://landscape.canonical.com \n * Support: https://ubuntu.com/advantage\n\n System information as of Fri Dec 7 17:07:20 UTC 2018\n System load: 0.0 Processes: 82\n Usage of /: 13.4% of 7.69GB Users logged in: 0\n Memory usage: 6% IP address for eth0: 172.31.21.191\n Swap usage: 0%\n\n Get cloud support with Ubuntu Advantage Cloud Guest:\n http://www.ubuntu.com/business/services/cloud\n\n 0 packages can be updated.\n 0 updates are security updates.\n\n\n\n The programs included with the Ubuntu system are free software;\n the exact distribution terms for each program are described in the\n individual files in /usr/share/doc/*/copyright.\n\n Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by\n applicable law.\n\n To run a command as administrator (user \"root\"), use \"sudo \".\n See \"man sudo_root\" for details.\n\n ubuntu@my_instance:~$ \n```\n\nTo transfer files and directories to/from your instance, use `ecpc transfer`:\n```\n% ecpc transfer my_local_directory my_c5:./\n% ecpc transfer my_c5:./results/result.log . \n```\n\nTo terminate an instance, use `ecpc terminate`:\n\n```\n% ecpc terminate my_instance\ninstance terminated\nsecurity group deleted\nkey pair deleted\n.pem file deleted\n%\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/claughton/ecpc", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ecpc", "package_url": "https://pypi.org/project/ecpc/", "platform": "", "project_url": "https://pypi.org/project/ecpc/", "project_urls": { "Homepage": "https://bitbucket.org/claughton/ecpc" }, "release_url": "https://pypi.org/project/ecpc/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "Simple scripts to launch EC2 instances", "version": "0.0.7" }, "last_serial": 5617532, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0e763faf212cba6a3400489bcca2fcda", "sha256": "786f210141525541d6cc4712cb3d8f5122dbf267a2e15ccdd35717600baa9671" }, "downloads": -1, "filename": "ecpc-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0e763faf212cba6a3400489bcca2fcda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9318, "upload_time": "2018-12-07T17:22:54", "url": "https://files.pythonhosted.org/packages/38/fd/6a0346f35e9b8b431d880339015a036f7c0f7eab26414e31ec1cdd0ea3b6/ecpc-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ffd10398c50ae84b3224bc1e3dc77669", "sha256": "6767249c6eb6a6afd61a24bf24c96fa74dca56ef03773d2aba203a5116e77359" }, "downloads": -1, "filename": "ecpc-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ffd10398c50ae84b3224bc1e3dc77669", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9310, "upload_time": "2018-12-07T20:11:58", "url": "https://files.pythonhosted.org/packages/9d/02/c3bf58b5f477e93708556cdee705bc93d25d572ec6e0884e03282138436d/ecpc-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6cbde19e5b0ee8ffff0aff55ea4c2135", "sha256": "0078e749e8c60fd88ae6910d73689ee243ecaf46b441aefe7df5436c8e6229d3" }, "downloads": -1, "filename": "ecpc-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6cbde19e5b0ee8ffff0aff55ea4c2135", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9356, "upload_time": "2018-12-10T09:57:31", "url": "https://files.pythonhosted.org/packages/02/7d/bdcb4144928fe71fd6376b6ff595660e1adfe674590cee969962fdb58cd3/ecpc-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "9e55093834496d768e2a527a52d69484", "sha256": "61241ce0ccb5fab7c80e1747f5b0d5b9213d551aeaedfda25b58c03935d6b1e4" }, "downloads": -1, "filename": "ecpc-0.0.4.tar.gz", "has_sig": false, "md5_digest": "9e55093834496d768e2a527a52d69484", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9340, "upload_time": "2018-12-11T02:19:28", "url": "https://files.pythonhosted.org/packages/de/ed/3ed69e70c3260aa06cd7572ab5450fa983e5e6fa986279202f1ac9acce90/ecpc-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f1a73528942975131bce0473ce9e3b04", "sha256": "b18a255174511324e85cdd0e0bccc970fc3474a548e2e52604c60218f040c513" }, "downloads": -1, "filename": "ecpc-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f1a73528942975131bce0473ce9e3b04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9131, "upload_time": "2019-01-30T09:45:51", "url": "https://files.pythonhosted.org/packages/39/76/6890cf1750d63d84bc89fc2334283504d8ff741f70bb7a0574cc77c4d087/ecpc-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "bfb8987627807f1737cf183662b3f1c0", "sha256": "d34c8d5439e00fd145587975fd9091a9a1f58ec27435c253b474364201d37b04" }, "downloads": -1, "filename": "ecpc-0.0.6.tar.gz", "has_sig": false, "md5_digest": "bfb8987627807f1737cf183662b3f1c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9990, "upload_time": "2019-07-31T12:36:52", "url": "https://files.pythonhosted.org/packages/74/e4/3841129bde96d6cbef056fcfc71715ff3b13f31d3c155790625590f9a4ad/ecpc-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "593f122e16e7b14b6a346bb6bdacd782", "sha256": "e0e5e0e442818aeb296285ef7570992a6bf8b6ef97a8e53bf9210b75560b147c" }, "downloads": -1, "filename": "ecpc-0.0.7.tar.gz", "has_sig": false, "md5_digest": "593f122e16e7b14b6a346bb6bdacd782", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9995, "upload_time": "2019-08-01T08:36:35", "url": "https://files.pythonhosted.org/packages/66/ac/84d872ff2d9d2bc855da59cac90e3457027531e893a1780c5dc0b881c161/ecpc-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "593f122e16e7b14b6a346bb6bdacd782", "sha256": "e0e5e0e442818aeb296285ef7570992a6bf8b6ef97a8e53bf9210b75560b147c" }, "downloads": -1, "filename": "ecpc-0.0.7.tar.gz", "has_sig": false, "md5_digest": "593f122e16e7b14b6a346bb6bdacd782", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9995, "upload_time": "2019-08-01T08:36:35", "url": "https://files.pythonhosted.org/packages/66/ac/84d872ff2d9d2bc855da59cac90e3457027531e893a1780c5dc0b881c161/ecpc-0.0.7.tar.gz" } ] }