Skip to content

English | 简体中文

Installation

Release artifacts

Download v1.0.0 archives and checksums from the GitHub Release. Releases include Linux, Windows, and macOS archives for amd64 and arm64, SPDX JSON SBOM files, and checksums.txt.

Build from source

git clone https://github.com/Sakuya1998/aws-cost-exporter.git
cd aws-cost-exporter
git checkout v1.0.0
make build
./aws-cost-exporter --version

Docker

docker pull ghcr.io/sakuya1998/aws-cost-exporter:1.0.0
docker compose up --build

Mount AWS shared configuration read-only or inject only environment-variable references required by configured credential sources. Do not bake credentials into an image.

Helm

helm install aws-cost-exporter \
  oci://ghcr.io/sakuya1998/charts/aws-cost-exporter \
  --version 1.0.0 \
  --set config.data.targets[0].account_id=444455556666

Use config.secretEnvRefs for existing Secrets and awsSharedConfig.existingSecret for mounted AWS Profile files. The chart deliberately defaults to replicaCount: 1.

For v1, Helm fixes the RollingUpdate values maxSurge: 0 and maxUnavailable: 1. This prevents old and new pods from overlapping paid AWS requests. Plan for a temporary metrics outage while the replacement pod starts, refreshes its memory-only cache, and becomes ready. Validate the current config with the new binary before helm upgrade; use helm rollback if readiness does not recover. There is no zero-downtime single-replica upgrade mode.

Verify OCI signatures

The image and Helm chart are signed by the tag-triggered release workflow. Use the exact identity, issuer, and digests from the v1.0.0 verification record. Pin verified digests when immutability is required.