---
title: "How I stopped worrying and learned to love Cloud Inventory"
description: "Klarna's Cloud Inventory unifies assets from more than a thousand AWS accounts and 20+ internal sources of truth into a single graph database (JupiterOne plus custom S3-based ETL sync jobs), linked through a mandatory SystemID tag that establishes ownership."
url: "https://swe.quest/articles/how-i-stopped-worrying-and-learned-to-love-cloud-inventory-bb50b97e41d9551f"
canonical: "https://engineering.klarna.com/how-i-stopped-worrying-and-learned-to-love-cloud-inventory-723cd3c49d46"
source: "Klarna Engineering"
published: "2025-06-06"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["cloud","configuration","security","cost-optimization","system-design"]
---

# How I stopped worrying and learned to love Cloud Inventory

A post on [Klarna Engineering](https://swe.quest/sources/klarna.md), published 2025-06-06, 9 min read, Case study. Original: [https://engineering.klarna.com/how-i-stopped-worrying-and-learned-to-love-cloud-inventory-723cd3c49d46](https://engineering.klarna.com/how-i-stopped-worrying-and-learned-to-love-cloud-inventory-723cd3c49d46)

## Summary

Klarna's Cloud Inventory unifies assets from more than a thousand AWS accounts and 20+ internal sources of truth into a single graph database (JupiterOne plus custom S3-based ETL sync jobs), linked through a mandatory SystemID tag that establishes ownership. On top of the graph, "target specifications" are Markdown-defined, scheduled graph queries that flag misconfigured assets, such as non-Multi-AZ RDS instances or stale snapshots, and give owners fix instructions. More than 100 controls now roll out in minutes instead of weeks. One snapshot-cleanup spec cut about 1,500 stale snapshots to about 500, saving €10k–€20k a month. Key lessons are clear data ownership, a disciplined graph data model, and showing value early so data-source owners ask to integrate.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Configuration management](https://swe.quest/tags/configuration.md) (Reliability & operations)
- [Security](https://swe.quest/tags/security.md) (Security)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- AWS account and resource basics ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- resource tagging
- graph databases ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

Cloud Inventory, JupiterOne, AWS, SystemID, Amazon RDS, AWS Config

## Related posts

- [How Lansweeper scaled IT, OT, and IoT insights with ClickHouse Cloud](https://swe.quest/articles/how-lansweeper-scaled-it-ot-and-iot-insights-with-clickhouse-cloud-8626be5e19fd7725.md): ClickHouse · 2025-07-11 · Easy · 5 min read · Analytics & OLAP, Cost optimization, Scaling, Search
  Lansweeper moved its asset-analytics layer from MongoDB plus Elasticsearch to self-hosted ClickHouse and then to ClickHouse Cloud as it grew to 50M assets, 1.4B software records and 5.5B vulnerabilities.
- [Data Inventory](https://swe.quest/articles/data-inventory-128d97c1b74ceb43.md): Wise Engineering · 2025-02-19 · Medium · 5 min read · Privacy, Databases, Security
  Wise's Data Governance team built an in-house Data Inventory that catalogs data assets across heterogeneous systems (MariaDB, PostgreSQL, S3, Kafka) to meet ISO 27001:2022 and security controls.
- [Tale of 'metadpata': the revenge of the supertools](https://swe.quest/articles/tale-of-metadpata-the-revenge-of-the-supertools-5db481304c48698d.md): Zalando Engineering · 2024-01-22 · Medium · 7 min read · Incidents & postmortems, Configuration management, Deployment, DNS, Cloud platforms
  A one-character typo turning the "metadata" key into "metadpata" in a YAML config caused Zalando's AWS account-management tool to treat the configuration as "no accounts" and then decommission all accounts.
- [How we scaled fast, reliable configuration distribution to thousands of workload containers](https://swe.quest/articles/how-we-scaled-fast-reliable-configuration-distribution-to-thousands-of-workload-e29683144db0f208.md): Datadog Engineering · 2025-06-17 · Medium · 13 min read · Configuration management, Distributed systems, Resilience, Multi-tenancy, Caching
  Datadog replaced on-demand per-tenant config loading (database reads plus Kafka cache-invalidation messages) with a context-publisher that snapshots all tenants' configuration into RocksDB blobs in cloud storage and streams individual updates over Kafka.
- [Building ClickHouse BYOC (Bring Your Own Cloud) on AWS](https://swe.quest/articles/building-clickhouse-byoc-bring-your-own-cloud-on-aws-c91a130e01901112.md): ClickHouse · 2025-03-12 · Medium · 13 min read · Cloud platforms, Kubernetes, Identity & auth, Networking, Multi-tenancy
  ClickHouse BYOC on AWS splits a ClickHouse-hosted management plane from a data plane EKS cluster in the customer's VPC, provisioned automatically with CloudFormation and Crossplane.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
