{ "info": { "author": "mlimaloureiro", "author_email": "mdiasloureiro@gmail.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 aws-ec2-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 ec2scheduler -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", "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/mlimaloureiro/ec2scheduler", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "aws-ec2-scheduler", "package_url": "https://pypi.org/project/aws-ec2-scheduler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/aws-ec2-scheduler/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mlimaloureiro/ec2scheduler" }, "release_url": "https://pypi.org/project/aws-ec2-scheduler/1.0/", "requires_dist": null, "requires_python": null, "summary": "A scheduling script for aws ec2 instances", "version": "1.0" }, "last_serial": 1890550, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "914b527866acddc9eba29332f72275fc", "sha256": "06d667a6d9d6b709af2aa0acc8596589960b2ece3c777c9f6d894c81734e5d11" }, "downloads": -1, "filename": "aws-ec2-scheduler-1.0.tar.gz", "has_sig": false, "md5_digest": "914b527866acddc9eba29332f72275fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3795, "upload_time": "2016-01-05T23:49:42", "url": "https://files.pythonhosted.org/packages/ea/0e/261843c0bd8bfaf370a417f51a06ae490a2fd6ec1912cf4f69ff4fc6c00a/aws-ec2-scheduler-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "914b527866acddc9eba29332f72275fc", "sha256": "06d667a6d9d6b709af2aa0acc8596589960b2ece3c777c9f6d894c81734e5d11" }, "downloads": -1, "filename": "aws-ec2-scheduler-1.0.tar.gz", "has_sig": false, "md5_digest": "914b527866acddc9eba29332f72275fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3795, "upload_time": "2016-01-05T23:49:42", "url": "https://files.pythonhosted.org/packages/ea/0e/261843c0bd8bfaf370a417f51a06ae490a2fd6ec1912cf4f69ff4fc6c00a/aws-ec2-scheduler-1.0.tar.gz" } ] }