{ "info": { "author": "mlimaloureiro", "author_email": "miguel.loureiro@uniplaces.com", "bugtrack_url": null, "classifiers": [], "description": "# Uniplaces AWS Scheduler\r\n\r\nThe AWS Scheduler is a script that given a set of profiles schedule the uptime of ec2 instances.\r\n\r\n## Getting Started\r\n\r\nInstall through pip.\r\n\r\n pip install uniplaces-aws-scheduler\r\n\r\nThe initial configuration is done in the `aws.conf` file. Copy the `aws.conf.dist`\r\nto `aws.conf` and configure with the right credentials.\r\nBy default `aws.conf` reads schedule profiles from `scheduler.json` but you can change\r\nthe directory from where you want to load the profiles.\r\n\r\nTo run the scheduler just run\r\n\r\n aws-scheduler -c path/to/config_file\r\n\r\n#### Profiles\r\n\r\nThe scheduler expects you to create profiles to start and stop the machines.\r\n\r\nYou can just copy the `scheduler.json.dist` and start creating your new profiles from there.\r\n\r\n```\r\n{\r\n \"profiles\": [ // an array of profiles\r\n {\r\n \"name\": \"staging\", // profile name\r\n \"region\": \"us-west-1\", // aws region\r\n \"schedule\": { // weekday schedule\r\n \"monday\": {\r\n \"start\": 9, // start hour\r\n \"stop\": 19 // stop hour\r\n },\r\n \"tuesday\": {\r\n \"start\": 9,\r\n \"stop\": 19\r\n },\r\n \"wednesday\": {\r\n \"start\": 9,\r\n \"stop\": 19\r\n },\r\n \"thursday\": {\r\n \"start\": 9,\r\n \"stop\": 19\r\n },\r\n \"friday\": {\r\n \"start\": 9,\r\n \"stop\": 19\r\n },\r\n \"saturday\": {\r\n \"start\": 9,\r\n \"stop\": 19\r\n },\r\n \"sunday\": {\r\n \"start\": 9,\r\n \"stop\": 19\r\n }\r\n },\r\n \"instance_tags\": [ // tags from the instances you want to attach this profile schedule\r\n \"jobs-staging\", // this tag should be the name of the instance tag:Name\r\n \"admin-staging\",\r\n \"reports-staging\"\r\n ],\r\n \"elb_names\": [ // add this configuration if you want to reregister this elb instances\r\n \"example-tag-elb-name\"\r\n ]\r\n }\r\n ]\r\n}\r\n```\r\n\r\n", "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/uniplaces/uniplaces-aws-scheduler", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "uniplaces-aws-scheduler", "package_url": "https://pypi.org/project/uniplaces-aws-scheduler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/uniplaces-aws-scheduler/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/uniplaces/uniplaces-aws-scheduler" }, "release_url": "https://pypi.org/project/uniplaces-aws-scheduler/1.2.2/", "requires_dist": null, "requires_python": null, "summary": "A scheduling script for aws ec2 instances", "version": "1.2.2" }, "last_serial": 1863991, "releases": { "0.1": [], "1.1": [], "1.2": [ { "comment_text": "", "digests": { "md5": "50918f18cdbcc9cacfbc25d211ce37a3", "sha256": "3b2e368fa6abd26493af29cc63498afc24f3d432b47dd57236680dfe5dbd9482" }, "downloads": -1, "filename": "uniplaces-aws-scheduler-1.2.tar.gz", "has_sig": false, "md5_digest": "50918f18cdbcc9cacfbc25d211ce37a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3513, "upload_time": "2015-12-15T15:18:17", "url": "https://files.pythonhosted.org/packages/08/b8/a3889f369076c6ec985bce12e006ab76b76c8b0906530372a3b64adeffbd/uniplaces-aws-scheduler-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "a1a4540c1425b692962250cb59f1b1d7", "sha256": "56673b46e164d3dfe4cc298acdb8343d94f66c354567c40eb86369c38f504813" }, "downloads": -1, "filename": "uniplaces-aws-scheduler-1.2.1.tar.gz", "has_sig": false, "md5_digest": "a1a4540c1425b692962250cb59f1b1d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3518, "upload_time": "2015-12-15T15:38:39", "url": "https://files.pythonhosted.org/packages/71/bf/5f18827b981528d53e88b3987c043c661ccb62a4c7add1af31e2cc423653/uniplaces-aws-scheduler-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "30acebe38b91018c8978984f05021395", "sha256": "505b3e7ab4512a4ffc14102abc011670cf1c05d80d9e55b5365842b9bbba7e42" }, "downloads": -1, "filename": "uniplaces-aws-scheduler-1.2.2.tar.gz", "has_sig": false, "md5_digest": "30acebe38b91018c8978984f05021395", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3523, "upload_time": "2015-12-15T21:48:26", "url": "https://files.pythonhosted.org/packages/51/dc/55a727c518f8dd5a3f6b3c72943c6115a6c01447e56db0c24c22eea4868d/uniplaces-aws-scheduler-1.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30acebe38b91018c8978984f05021395", "sha256": "505b3e7ab4512a4ffc14102abc011670cf1c05d80d9e55b5365842b9bbba7e42" }, "downloads": -1, "filename": "uniplaces-aws-scheduler-1.2.2.tar.gz", "has_sig": false, "md5_digest": "30acebe38b91018c8978984f05021395", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3523, "upload_time": "2015-12-15T21:48:26", "url": "https://files.pythonhosted.org/packages/51/dc/55a727c518f8dd5a3f6b3c72943c6115a6c01447e56db0c24c22eea4868d/uniplaces-aws-scheduler-1.2.2.tar.gz" } ] }