{"id":18251803,"url":"https://github.com/hiroakis/ebs-snapshot","last_synced_at":"2025-07-14T16:05:06.854Z","repository":{"id":145129806,"uuid":"41785322","full_name":"hiroakis/ebs-snapshot","owner":"hiroakis","description":"Create EBS snapshot and delete old snapshot on AWS","archived":false,"fork":false,"pushed_at":"2015-09-02T14:04:31.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T20:48:47.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiroakis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-02T06:57:13.000Z","updated_at":"2015-09-02T17:04:27.000Z","dependencies_parsed_at":"2023-04-06T23:06:12.212Z","dependency_job_id":null,"html_url":"https://github.com/hiroakis/ebs-snapshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroakis/ebs-snapshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Febs-snapshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Febs-snapshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Febs-snapshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Febs-snapshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/ebs-snapshot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Febs-snapshot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265314143,"owners_count":23745201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T09:48:31.448Z","updated_at":"2025-07-14T16:05:06.783Z","avatar_url":"https://github.com/hiroakis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ebs-snapshot\n\nMaking EBS snapshot script written in Python.\n\n## Installation\n\nJust download `ebs_snapshot.py` on your AWS instance and set its permission to 755.\n\n### AmazonLinux\n\nOn Amazonlinux, modules are installed by default.\nIf you don't use system Python, install `boto` and `requests` on your Python environment.\n\n### Ubuntu\n\nUse apt-get(modules will be installed on system Python) or install `boto` and `requests` by yourself.\n\n```\napt-get update\napt-get install awscli python-pip python-boto\n```\n\n## AWS Credentials\n\nSet AWS credential by environment variable or create `~/.boto`.\n\n* environment variable\n\n```\nexport AWS_ACCESS_KEY_ID=xxxxx\nexport AWS_SECRET_ACCESS_KEY=xxxxx\n```\n\n* ~/.boto\n\n```\n[Credentials]\naws_access_key_id=xxxxx\naws_secret_access_key=xxxxx\n```\n\nNote: the credential need some IAM policies. The following is example.\n\n* IAM policy example\n\n```\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"ec2:Describe*\",\n                \"ec2:CreateSnapshot\",\n                \"ec2:DeleteSnapshot\"\n            ],\n            \"Resource\": \"*\"\n        }\n    ]\n}\n```\n\n## Usage\n\nExecute `ebs_snapshot.py` on the instance which you would like to create EBS snapshot.\n\n* options\n  - -h: show helps\n  - -n: The number of snapshot generations. default: 3\n  - -l: The log file path. default: /tmp/ebs_snapshot.log\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Febs-snapshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Febs-snapshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Febs-snapshot/lists"}