{"id":29828078,"url":"https://github.com/spithash/aws-ec2-instance-pricing-tool","last_synced_at":"2026-01-20T16:57:22.307Z","repository":{"id":304019199,"uuid":"1017532959","full_name":"spithash/AWS-EC2-Instance-Pricing-Tool","owner":"spithash","description":"A Python CLI tool to fetch and compare AWS EC2 hourly on-demand pricing and the latest AMI IDs across all available AWS regions. Supports Linux (Ubuntu, Amazon Linux, RHEL, SUSE) and Windows instances.","archived":false,"fork":false,"pushed_at":"2025-07-10T18:55:56.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-10T23:18:30.076Z","etag":null,"topics":["aws","aws-pricing","cli-tool","cloud","devops","devops-tools","ec2","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spithash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-10T17:19:29.000Z","updated_at":"2025-07-10T18:55:59.000Z","dependencies_parsed_at":"2025-07-10T23:18:33.740Z","dependency_job_id":"2068c81e-044c-43cc-b12e-01245b26b97d","html_url":"https://github.com/spithash/AWS-EC2-Instance-Pricing-Tool","commit_stats":null,"previous_names":["spithash/aws-ec2-instance-pricing-tool"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/spithash/AWS-EC2-Instance-Pricing-Tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spithash%2FAWS-EC2-Instance-Pricing-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spithash%2FAWS-EC2-Instance-Pricing-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spithash%2FAWS-EC2-Instance-Pricing-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spithash%2FAWS-EC2-Instance-Pricing-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spithash","download_url":"https://codeload.github.com/spithash/AWS-EC2-Instance-Pricing-Tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spithash%2FAWS-EC2-Instance-Pricing-Tool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267645245,"owners_count":24120877,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","aws-pricing","cli-tool","cloud","devops","devops-tools","ec2","python"],"created_at":"2025-07-29T07:16:11.840Z","updated_at":"2025-10-26T05:49:40.868Z","avatar_url":"https://github.com/spithash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS EC2 Instance Pricing Tool\n\nA Python CLI tool to fetch and compare **AWS EC2 hourly on-demand pricing** and the latest **AMI IDs** across all available AWS regions.  \nSupports Linux distributions (Ubuntu, Amazon Linux, RHEL, SUSE) and Windows instances.\n\n[![PyPI version](https://img.shields.io/pypi/v/aws-ec2-pricing-tool)](https://pypi.org/project/aws-ec2-pricing-tool/)\n[![Python version](https://img.shields.io/pypi/pyversions/aws-ec2-pricing-tool)](https://pypi.org/project/aws-ec2-pricing-tool/)\n[![License](https://img.shields.io/pypi/l/aws-ec2-pricing-tool)](https://github.com/spithash/AWS-EC2-Instance-Pricing-Tool/blob/main/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/spithash/AWS-EC2-Instance-Pricing-Tool?style=social)](https://github.com/spithash/AWS-EC2-Instance-Pricing-Tool/stargazers)\n\n💡 Ideal for DevOps engineers, cloud architects, and infrastructure teams looking to optimize EC2 costs or automate cloud image selection.\n\n\u003e 🔖 This tool focuses on **on-demand EC2 pricing**, making it perfect for dynamic or short-term workloads where flexibility matters.\n\n![AWS-EC2 Instance Pricing Tool](https://raw.githubusercontent.com/spithash/trunk/refs/heads/master/ec2pricing/AWS-EC2-Instance-Pricing-Tool.png)\n\n## Requirements\n\n- **Python 3.7+**  \n  The package is compatible with Python 3.7 and above.\n\n- **AWS Credentials Configured**  \n  It uses `boto3` to interact with AWS APIs. Make sure your AWS CLI or environment variables are configured with appropriate credentials and permissions to access EC2 and Pricing APIs.  \n  _Note: You don't need to set a default region in your environment._\n\n## Installation\n\nInstall from PyPI:\n\n```bash\npip install aws-ec2-pricing-tool\n```\n\nOr clone from GitHub and install manually:\n\n```bash\ngit clone https://github.com/spithash/AWS-EC2-Instance-Pricing-Tool.git\ncd AWS-EC2-Instance-Pricing-Tool\npip install .\n```\n\n## Usage\n\nRun the tool from the command line by specifying the EC2 instance type, operating system, and optionally the distro:\n\n```bash\nec2pricing \u003cinstance_type\u003e --os \u003clinux|windows\u003e [--distro \u003cdistro_name\u003e]\n```\n\n### Examples\n\nFetch pricing and AMI info for a Linux Ubuntu t2.micro instance:\n\n```bash\nec2pricing t2.micro --os linux --distro ubuntu\n```\n\nFetch pricing and AMI info for a Windows t3.medium instance (Microsoft publisher):\n\n```bash\nec2pricing t3.medium --os windows --distro microsoft\n```\n\nFetch pricing and AMI info for a Linux instance across all distros (no distro specified):\n\n```bash\nec2pricing t2.micro --os linux\n```\n\n## Linux Instances Demo\n\n![EC2 Pricing Linux](https://raw.githubusercontent.com/spithash/trunk/refs/heads/master/ec2pricing/ec2pricing-linux.gif)\n\n## Windows Instances Demo\n\n![EC2 Pricing Windows](https://raw.githubusercontent.com/spithash/trunk/refs/heads/master/ec2pricing/ec2pricing-windows.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspithash%2Faws-ec2-instance-pricing-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspithash%2Faws-ec2-instance-pricing-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspithash%2Faws-ec2-instance-pricing-tool/lists"}