Guide
Cloud Cost copilot on AWS Fargate: Terraform deployment kit
Run Cloud Cost Copilot in your own AWS account without a Kubernetes cluster. This Terraform kit deploys it as a single AWS Fargate task, with no load balancer and no inbound ports, for about $12–14 a month of infrastructure. Requires an active Cloud Cost Copilot subscription in AWS Marketplace.
Cloud Cost Copilot is a read-only FinOps assistant for AWS: ask plain-English questions about your spend and get answers backed by AWS Cost Explorer, using Amazon Bedrock in your own account. If you don't run Amazon EKS, this Terraform kit deploys it on Amazon ECS with AWS Fargate instead.
Download
cloud-cost-copilot-ecs-fargate-1.0.0.zip (version 1.0.0, Apache License 2.0)
SHA-256:
6b1a18d05478a9814ed6769917af343ede2e096a723d32a6972536ab5326cb7aSource and release history: GitHub
What it sets up
One Fargate task (0.25 vCPU, 1 GB) running the Cloud Cost Copilot image from your AWS Marketplace subscription
IAM roles with read-only Cost Explorer access, Bedrock invocation and the AWS Marketplace license check, and no write access to your resources
A CloudWatch log group with operational events only: no questions, answers or cost figures
Optionally a small VPC without a NAT gateway, or your own private subnets
Deploy in three steps
Unzip, copy
terraform.tfvars.exampletoterraform.tfvars, and setimageto the image URI from your subscription.Run
terraform init, thenterraform apply.Run
terraform output -raw connect | bashto open a secure tunnel, then browse to port 8080 on your own machine.
You need Terraform 1.5 or later, the AWS CLI v2, the Session Manager plugin, AWS Cost Explorer enabled, and Amazon Bedrock access to the model you choose.
Costs
About $12–14 a month for the Fargate task and its public IPv4 address in us-east-1, plus pay-per-use Amazon Bedrock and Cost Explorer API charges, typically well under $1 a month for a few questions. To pause it, set the service's desired count to 0.