Show HN: AWS-doctor – A terminal-based AWS health check and cost optimizer in Go
Recorded: Jan. 19, 2026, 10:03 a.m.
| Original | Summarized |
GitHub - elC0mpa/aws-doctor: Diagnose AWS costs, detect idle resources, and optimize cloud spending directly from your terminal. 🩺 ☁️ Skip to content Navigation Menu Toggle navigation
Sign in
Appearance settings PlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub SparkBuild and deploy intelligent appsGitHub ModelsManage and compare promptsMCP RegistryNewIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityAcceleratorArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricing Search or jump to... Search code, repositories, users, issues, pull requests...
Search Clear
Search syntax tips Provide feedback Include my email address so I can be contacted Cancel Submit feedback Saved searches
Name Query To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up
Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. Dismiss alert elC0mpa aws-doctor Public
Notifications
Fork
Star Diagnose AWS costs, detect idle resources, and optimize cloud spending directly from your terminal. 🩺 ☁️ MIT license 95 1 Branches Tags Activity
Star
Notifications Code Issues Pull requests Actions Projects Security Uh oh! There was an error while loading. Please reload this page. Insights
Additional navigation options
Code Issues Pull requests Actions Projects Security Insights
elC0mpa/aws-doctor
mainBranchesTagsGo to fileCodeOpen more actions menuFolders and filesNameNameLast commit messageLast commit dateLatest commit History20 Commitsdemodemo modelmodel serviceservice utilsutils .gitattributes.gitattributes .gitignore.gitignore LICENSELICENSE README.mdREADME.md app.goapp.go go.modgo.mod go.sumgo.sum View all filesRepository files navigationREADMEMIT licenseaws-doctor Trend Waste Features 📉 Cost Comparison: Compares costs between the current and previous month for the exact same period (e.g., comparing Jan 1–15 vs Feb 1–15) to give a fair assessment of spending velocity. Motivation go install github.com/elC0mpa/aws-doctor@latest Flags --profile: Specify the AWS profile to use (default is ""). Unused EBS Volumes (not attached to any instance). Roadmap About Diagnose AWS costs, detect idle resources, and optimize cloud spending directly from your terminal. 🩺 ☁️ go cli golang aws aws-billing aws-cli aws-cost-explorer aws-trusted-advisor aws-doctor Resources Readme MIT license Uh oh! There was an error while loading. Please reload this page. Activity 95 1 1 Report repository Releases First Release Latest Packages No packages published Languages Go Footer © 2026 GitHub, Inc. Footer navigation Terms Privacy Security Status Community Docs Contact Manage cookies Do not share my personal information You can’t perform that action at this time. |
aws-doctor is a terminal-based command-line tool designed to help users diagnose and optimize AWS cloud spending by identifying cost inefficiencies, idle resources, and potential areas for savings. Developed by elC0mpa, the tool leverages Go (Golang) to provide a lightweight, open-source alternative to AWS Trusted Advisor’s paid features, enabling users to perform proactive cloud infrastructure analysis without requiring a Business or Enterprise support plan. The tool’s primary functions include cost comparison, waste detection, and trend analysis, offering actionable insights to improve cloud resource management. By automating routine checks that traditionally require manual effort, aws-doctor streamlines the process of evaluating AWS expenditures and identifying opportunities for optimization. A core feature of aws-doctor is its ability to compare current month-to-month costs with the previous period, ensuring a fair assessment by aligning specific timeframes (e.g., January 1–15 versus February 1–15). This functionality helps users understand spending velocity and detect anomalies that might not be apparent through raw billing data alone. Additionally, the tool includes a “waste detection” module that scans AWS accounts for unused or underutilized resources, often referred to as “zombie” assets. These include unattached EBS volumes, EC2 instances with attached volumes that are not in use, unassociated Elastic IPs, and reserved EC2 instances nearing expiration. The tool also identifies inactive VPC interface endpoints, NAT gateways, load balancers without target groups, and idle RDS database instances. By flagging these inefficiencies, aws-doctor provides users with a clear roadmap for cleaning up unnecessary expenses and reallocating resources more effectively. The trend analysis feature further enhances the tool’s utility by visualizing cost history over the past six months, allowing users to spot long-term anomalies or patterns that may indicate systemic issues. This historical perspective complements the month-over-month cost comparison, offering a more comprehensive view of spending trends. The tool’s design emphasizes automation, reducing the need for manual intervention in tasks such as monitoring resource utilization and generating reports. This is particularly valuable for cloud architects, DevOps engineers, and system administrators tasked with maintaining cost efficiency in dynamic AWS environments. The motivation behind aws-doctor stems from the limitations of the AWS Console, which, while providing raw billing data, lacks contextual insights to answer critical questions about cost efficiency. elC0mpa aimed to address this gap by creating a diagnostic tool that not only highlights financial inefficiencies but also explains their implications, enabling users to make informed decisions. By automating routine checks that would otherwise require significant manual effort, the tool serves as a free, open-source solution for organizations seeking to optimize cloud spending without incurring additional costs. Installation of aws-doctor is straightforward for users familiar with Go, as it can be installed via the `go install` command. The tool supports command-line flags to customize its behavior, such as specifying an AWS profile or region, and includes options for generating trend analyses or waste detection reports. For example, the `--trend` flag enables visualization of cost history over six months, while the `--waste` flag triggers an analysis of potential financial inefficiencies. These flags allow users to tailor the tool’s output to their specific needs, whether they are conducting a high-level audit or investigating granular resource usage patterns. The roadmap for aws-doctor outlines future enhancements, including the ability to export reports in CSV and PDF formats, which would facilitate sharing findings with stakeholders or integrating data into other analytical workflows. Additionally, plans to distribute the tool via package managers for popular operating systems like Fedora, Ubuntu, and macOS aim to improve accessibility for a broader audience. These updates reflect the project’s commitment to scalability and user convenience, ensuring that it remains a versatile tool for cloud cost management. The tool’s open-source nature under the MIT license encourages collaboration and customization, allowing developers to contribute improvements or adapt the tool to specific use cases. This aligns with its mission to provide a transparent, community-driven solution for AWS cost optimization. By focusing on essential features and prioritizing user-friendly design, aws-doctor bridges the gap between raw AWS billing data and actionable insights, empowering users to take control of their cloud expenditures. Overall, aws-doctor addresses a critical need in cloud computing by offering a streamlined, automated approach to cost analysis and resource optimization. Its combination of cost comparison, waste detection, and trend visualization makes it a valuable asset for organizations looking to reduce unnecessary spending while maintaining operational efficiency. As cloud environments become increasingly complex, tools like aws-doctor play a vital role in ensuring that resources are used judiciously, ultimately contributing to more sustainable and cost-effective cloud strategies. |