{"id":28560850,"url":"https://github.com/solomonsojay/aws-ai-cost-optimizer","last_synced_at":"2026-05-05T15:32:34.410Z","repository":{"id":297308699,"uuid":"996358552","full_name":"solomonsojay/aws-ai-cost-optimizer","owner":"solomonsojay","description":"AWS AI Cost Optimizer leverages generative AI through AWS Bedrock to analyze  cloud infrastructure costs and provide actionable optimization recommendations.","archived":false,"fork":false,"pushed_at":"2025-06-04T23:15:50.000Z","size":253,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-05T02:31:57.808Z","etag":null,"topics":["aws","bedrock","css","html","javascript","lambda","lambda-functions","marked-js","python","serverless"],"latest_commit_sha":null,"homepage":"https://staging.dnxvuwy2sif3a.amplifyapp.com/","language":"HTML","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/solomonsojay.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-04T20:47:53.000Z","updated_at":"2025-06-04T23:15:51.000Z","dependencies_parsed_at":"2025-06-05T02:42:08.235Z","dependency_job_id":null,"html_url":"https://github.com/solomonsojay/aws-ai-cost-optimizer","commit_stats":null,"previous_names":["solomonsojay/aws-ai-cost-optimizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonsojay%2Faws-ai-cost-optimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonsojay%2Faws-ai-cost-optimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonsojay%2Faws-ai-cost-optimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonsojay%2Faws-ai-cost-optimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solomonsojay","download_url":"https://codeload.github.com/solomonsojay/aws-ai-cost-optimizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonsojay%2Faws-ai-cost-optimizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259053103,"owners_count":22798410,"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":["aws","bedrock","css","html","javascript","lambda","lambda-functions","marked-js","python","serverless"],"created_at":"2025-06-10T10:01:17.244Z","updated_at":"2026-05-05T15:32:34.341Z","avatar_url":"https://github.com/solomonsojay.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ☁️ AWS AI Cost Optimizer\n\n**AI-Powered Cloud Cost Reduction Solution**  \n*Reduce AWS bills by 25-40% with generative AI recommendations*\n\n## 🚀 Live Demo\n[![Open Demo](https://img.shields.io/badge/Demo-Live%20Site-brightgreen)](https://staging.dnxvuwy2sif3a.amplifyapp.com/)\n\n## 📂 Source Code\n[![GitHub Repo](https://img.shields.io/badge/GitHub-Repository-blue)](https://github.com/solomonsojay/aws-ai-cost-optimizer)\n\n## 🌟 Overview\nThe AWS AI Cost Optimizer leverages generative AI through AWS Bedrock to analyze your cloud infrastructure costs and provide actionable optimization recommendations. This solution helps businesses reduce AWS spending by 25-40% through AI-powered insights.\n\n## ⚙️ How AWS Lambda Powers This Solution\nAWS Lambda serves as the **core processing engine** of our application:\n\n1. **AI Gateway**: Receives requests from the frontend and communicates with AWS Bedrock\n2. **Prompt Engineering**: Generates optimized prompts for Claude AI based on cost data\n3. **Response Processing**: Formats AI output into structured markdown recommendations\n4. **Error Handling**: Manages timeouts and Bedrock API exceptions\n5. **Security Layer**: Validates requests before processing\n\n**Lambda Configuration**:\n- Runtime: Python 3.10\n- Memory: 512MB\n- Timeout: 30 seconds\n- Permissions: `AWSBedrockFullAccess`\n- Trigger: Lambda Function URL (HTTPS endpoint)\n\n## 🧪 Testing Instructions for Judges\n\n### Option 1: Live Demo Testing (Recommended)\n1. Visit our live demo: [https://staging.dnxvuwy2sif3a.amplifyapp.com/](https://staging.dnxvuwy2sif3a.amplifyapp.com/)\n2. Click the **\"Analyze My AWS Costs\"** button\n3. Observe the AI processing stages:\n   - Connecting to AWS Lambda\n   - Authenticating with AWS Bedrock\n   - Analyzing with Claude AI\n4. View generated recommendations (appears in 5-10 seconds)\n\n### Option 2: Manual Backend Testing\nTest the Lambda function directly using curl:\n\n```bash\ncurl -X POST \"https://ebagyvsks5l3rtryodwdzfihte0iolgi.lambda-url.us-east-1.on.aws/\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}'\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolomonsojay%2Faws-ai-cost-optimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolomonsojay%2Faws-ai-cost-optimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolomonsojay%2Faws-ai-cost-optimizer/lists"}