{"id":11896,"date":"2025-10-07T13:47:05","date_gmt":"2025-10-07T13:47:05","guid":{"rendered":"https:\/\/www.hopmann.com\/?page_id=11896"},"modified":"2025-11-03T13:57:11","modified_gmt":"2025-11-03T13:57:11","slug":"case-study-cloud-kosten-monitoring-aws-snowflake","status":"publish","type":"page","link":"https:\/\/www.hopmann.com\/de\/projekte\/case-study-cloud-kosten-monitoring-aws-snowflake\/","title":{"rendered":"Case Study: Cloud-Kostenkontrolle Monitoring f\u00fcr AWS und Snowflake"},"content":{"rendered":"<h1>Cloud-Kostenkontrolle mit proaktivem Monitoring<\/h1>\n<div>\n<div>CASE STUDY<\/div>\n<\/div>\n<ul>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/Lavera.png\" alt=\"Lavera Naturkosmetik\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/Allianz.png\" alt=\"Allianz\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/Fresenius-1.png\" alt=\"Fresenius\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/HMA-3.png\" alt=\"Douglas\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/Aachener.png\" alt=\"Aachener Grundverm\u00f6gen\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/Fielmann.png\" alt=\"Fielmann\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/logo-redbull.png\" alt=\"\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/logo-telefonica.png\" alt=\"Telefonica\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/logo-gore.png\" alt=\"\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/logo-roche.png\" alt=\"Roche\"><\/p>\n<\/li>\n<li>\n<p>\t\t\t\t<img decoding=\"async\" src=\"\/wp-content\/uploads\/logo-mnet.png\" alt=\"\"><\/p>\n<\/li>\n<\/ul>\n<h2>Wie automatische AWS- und Snowflake-Budgetwarnungen dazu beitragen, rechtzeitige Korrekturen einzuleiten<\/h2>\n<div>\n<p>Wer gro\u00dfe Marketing-Kampagnen verantwortet, kennt wahrscheinlich das Problem: Cloud-Kosten \u00fcberraschen oft erst mit der Rechnung.<\/p>\n<p>In dieser Case Study zeigen wir, wie eine automatische Budgetwarnung greift, sobald die monatlichen Ausgaben 130 Prozent des geplanten Budgets \u00fcberschreiten. Die Schwelle ist bewusst gew\u00e4hlt, denn zu fr\u00fche Signale werden oftmals ignoriert. Das System l\u00e4uft in DEV und PROD und nimmt Teams die t\u00e4glichen Dashboard-Routinen ab, damit der Fokus auf der Steuerung und Wirkung des Marketings liegt.<\/p>\n<p>Das Ergebnis sind planbarere Budgets, weniger Risiko und schnelleres Handeln im Kampagnenalltag.<\/p>\n<\/div>\n<p><p>\n        <a href=\"\/de\/business-analytics\/data-engineering\/\">Mehr zu unseren Data Engineering Leistungen<\/a>\n    <\/p>\n<\/p>\n<h2>01 Die Herausforderung<\/h2>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Hopmann_Case-Study_Cloud-Cost-Monitoring_DE.png\" alt=\"Hopmann_Case-Study_Cloud-Cost-Monitoring_DE\"><\/p>\n<div>\n<p>Cloud-Kosten sind oft eine unvorhersehbare Position im Marketing-Budget. Sie k\u00f6nnen von Monat zu Monat schwanken, insbesondere wenn Ihre Pipelines Daten aus mehreren Quellen ziehen und umfangreiche Transformationen erfordern.<\/p>\n<p>F\u00fcr Unternehmen, die gro\u00df angelegte Marketingkampagnen durchf\u00fchren, kann diese Volatilit\u00e4t riskant sein. Datenpipelines k\u00f6nnen schnell skalieren und wenn die Ausgaben nicht eng \u00fcberwacht werden, k\u00f6nnen Rechnungen f\u00fcr AWS (Amazon Web Services) und Snowflake ohne Vorwarnung sprunghaft ansteigen. Sich ausschlie\u00dflich auf manuelle Pr\u00fcfungen zu verlassen ist zeitaufwendig und birgt das Risiko, diese Kosten zu \u00fcbersehen, bis es zu sp\u00e4t ist.<\/p>\n<p>Ein E-Commerce Unternehmen kam mit genau dieser Herausforderung zu uns. Ziel war es, ein automatisiertes Kosten-Monitoring einzuf\u00fchren, um die Kontrolle \u00fcber das Cloud-Budget zur\u00fcckzugewinnen.<\/p>\n<\/div>\n<h2>\n<p>02 Die L\u00f6sung<\/p>\n<\/h2>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Hopmann-Website-Pfeil-gruen-links.svg\" alt=\"Hopmann Website Pfeil gruen links\"><\/p>\n<div>\n<p>Um dieser Herausforderung entgegen zu treten, haben wir ein automatisiertes Budgetwarnsystem entwickelt und mit Terraform bereitgestellt.<\/p>\n<p><strong>Das leistet die L\u00f6sung:<\/strong><\/p>\n<ul>\n<li>Verfolgt die monatlichen Ausgaben in AWS und Snowflake.<\/li>\n<li>Sendet E-Mail-Benachrichtigungen, sobald die Ausgaben 130 Prozent des Budgets \u00fcberschreiten.<\/li>\n<\/ul>\n<p>So m\u00fcssen Teams nicht t\u00e4glich in Dashboards einloggen. Stattdessen werden sie sofort informiert, wenn etwas Ungew\u00f6hnliches passiert, und k\u00f6nnen handeln, bevor die Kosten aus dem Ruder laufen.<\/p>\n<p>Ein vorsichtiger Ansatz w\u00fcrde bereits bei 70 Prozent des Budgets warnen. F\u00fcr diesen Anwendungsfall haben wir uns jedoch f\u00fcr eine pragmatischere Strategie entschieden. Wiederholte Warnungen bei 70 Prozent \u00fcber mehrere Monate werden h\u00e4ufig ignoriert, weil man annimmt, dass alles unter Kontrolle ist. Daher haben wir eine h\u00f6here Schwelle von 130 Prozent umgesetzt.<\/p>\n<\/div>\n<p><p>\n        <a href=\"#kontakt\">Erfahren Sie mehr<\/a>\n    <\/p>\n<\/p>\n<h2>03 Vorgehen: Schritt f\u00fcr Schritt<\/h2>\n<div>\n<p>Im n\u00e4chsten Abschnitt zeigen wir das Vorgehen Schritt f\u00fcr Schritt. Sie k\u00f6nnen den kompletten Code auch im GitHub Respository anschauen.<\/p>\n<\/div>\n<p><p>\n        <a href=\"https:\/\/github.com\/hopmannmarketinganalytics\/aws-snowflake-costs-monitoring\" target=\"_blank\" rel=\"noopener\">Code in GitHub<\/a>\n    <\/p>\n<\/p>\n<div>\n<p>Von der Einrichtung in DEV und PROD \u00fcber die Budgetdefinition bis zur Benachrichtigung per E-Mail ist alles so beschrieben, dass auch Nicht-Techniker:innen folgen k\u00f6nnen. Ziel ist ein verl\u00e4ssliches Setup, das Kosten transparent macht und rechtzeitig warnt.<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Arrows.svg\" alt=\"Arrow_green\"><\/p>\n<h3>1. EINRICHTEN DER UMGEBUNGEN<\/h3>\n<div>\n<p>Diese Pipeline ist f\u00fcr zwei Umgebungen ausgelegt: <strong>DEV<\/strong> und <strong>PROD<\/strong>.<\/p>\n<ul>\n<li><strong>DEV (Development)<\/strong> dient zum Testen und Validieren von Konfigurations\u00e4nderungen, damit Anpassungen am Terraform-Code oder an der Logik der Benachrichtigungen korrekt funktionieren, bevor sie produktive Systeme beeinflussen.<\/li>\n<li><strong>PROD (Production)<\/strong> ist die Live-Umgebung, die Kostenwarnungen auf realen Cloud-Ressourcen \u00fcberwacht und durchsetzt.<\/li>\n<\/ul>\n<p>Jede Umgebung entspricht einem eigenen AWS-Konto. Das sorgt f\u00fcr klare Trennung der Workloads, Transparenz bei den Kosten und sauberes Infrastruktur-Management.<\/p>\n<p>In jedem AWS-Konto (<strong>DEV<\/strong> und <strong>PROD<\/strong>) haben wir <strong>manuell ein S3-Bucket angelegt<\/strong>, in dem die Datei <em>terraform.tfstate<\/em> gespeichert wird.<\/p>\n<p>So stellt Terraform eine konsistente und sichere Dokumentation der bereitgestellten Infrastruktur sicher.<\/p>\n<p>Nach dem Anlegen mussten Name, Key und Region des S3-Buckets in folgenden Dateien fest hinterlegt werden:<\/p>\n<ul>\n<li><em>backend\/dev.tfbackend<\/em><\/li>\n<li><em>backend\/prod.tfbackend<\/em><\/li>\n<\/ul>\n<p>Beispiel f\u00fcr die Datei <em>backend\/dev.tfbackend<\/em>:<\/p>\n<\/div>\n<pre><code>bucket = &quot;terraform-s3-state-4637483747&quot;\nkey = &quot;terraform.tfstate&quot;\nregion = &quot;eu-central-1&quot;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Arrows.svg\" alt=\"Arrow_green\"><\/p>\n<h3>2. BUDGET DEFINIEREN<\/h3>\n<div>\n<p>Budgets sind nicht statisch. Sie werden in der Regel auf Basis vergangener Ausgaben festgelegt, sodass sich Warnungen an die ver\u00e4nderte Nutzung \u00fcber die Zeit anpassen.<\/p>\n<ul>\n<li><strong>F\u00fcr AWS:<\/strong><br \/>In der AWS Management Console unter <strong>Billing and Cost Management<\/strong> k\u00f6nnen Sie Ausgaben nach Service sowie die gesamten monatlichen Kosten einsehen.<\/li>\n<li><strong>F\u00fcr Snowflake:<\/strong><br \/>In Snowflake unter <strong>Admin \u2192 Cost Management<\/strong> sehen Sie die Nutzung von Credits und W\u00e4hrung in einem definierten <strong>Zeitraum<\/strong>.<\/li>\n<\/ul>\n<p>Nachdem wir die bisherigen Ausgaben gepr\u00fcft und Ihre Budgetgrenzen festgelegt hatten, haben wir diese Werte in die Datei <em>locals.tf<\/em> eingetragen.<\/p>\n<p>So stellt die Terraform-Automatisierung sicher, dass beim Monitoring und beim Ausl\u00f6sen von Warnungen die richtigen Budgetgrenzen verwendet werden.<\/p>\n<\/div>\n<pre><code>locals {\n  aws_limits = {\n    dev  = 10  # insert your AWS budget limit for DEV (integer or float)\n    prod = 20  # insert your AWS budget limit for PROD (integer or float)\n  }\n\n  snowflake_limits = {\n    dev  = 100  # insert your Snowflake budget limit for DEV (integer or float)\n    prod = 200  # insert your Snowflake budget limit for PROD (integer or float)\n  }\n\n  aws_limit        = lookup(local.aws_limits, var.environment)\n  snowflake_limit  = lookup(local.snowflake_limits, var.environment)\n}<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Arrows.svg\" alt=\"Arrow_green\"><\/p>\n<h3>3. KAN\u00c4LE F\u00dcR BENACHRICHTUNGEN EINRICHTEN<\/h3>\n<div>\n<p>Benachrichtigungen werden \u00fcber <strong>AWS SNS (Simple Notification Service)<\/strong> gesteuert.<\/p>\n<p>So werden Budgetwarnungen zeitnah an die relevanten Teammitglieder zugestellt.<\/p>\n<ul>\n<li>Mehrere Teammitglieder k\u00f6nnen das SNS-Topic abonnieren.<\/li>\n<li>Sobald die Ausgaben die definierte Schwelle \u00fcberschreiten, wird automatisch eine E-Mail an alle hinterlegten Empf\u00e4nger:innen gesendet.<\/li>\n<\/ul>\n<p>Die Terraform-Konfiguration f\u00fcr diese Benachrichtigungsressourcen wurde definiert in:<\/p>\n<ul>\n<li><em>aws_alarm.tf<\/em> \u2192 verwaltet <strong>AWS Budgetwarnungen<\/strong><\/li>\n<li><em>snowflake_alarm.tf<\/em> \u2192 verwaltet<strong> Snowflake Budgetwarnungen<\/strong><\/li>\n<\/ul>\n<p><strong>Terraform-Code-Beispiel:<\/strong><\/p>\n<\/div>\n<pre><code>resource &quot;aws_sns_topic&quot; &quot;aws_budget_alerts&quot; {\n  # AWS SNS topic for AWS budget notifications\n  ...\n}\n\nresource &quot;aws_sns_topic_subscription&quot; &quot;aws_budget_emails&quot; {\n  # Email subscriptions for AWS budget alerts\n  ...\n}\n\nresource &quot;aws_sns_topic&quot; &quot;snowflake_budget_alerts&quot; {\n  # AWS SNS topic for Snowflake budget notifications\n  ...\n}\n\nresource &quot;aws_sns_topic_subscription&quot; &quot;snowflake_budget_emails&quot; {\n  # Email subscriptions for Snowflake budget alerts\n  ...\n}<\/code><\/pre>\n<div>\n<p>Jede:r Abonnent:in erhielt nach der Bereitstellung der Konfiguration eine <strong>E-Mail-Einladung<\/strong>, um das Abonnement zu best\u00e4tigen.<\/p>\n<p>Wer Budgetwarnungen erhalten sollte, wurde in der Datei <em>variables.tf<\/em> \u00fcber die Variable <em>budget_alert_emails<\/em> festgelegt. Dort wurden die entsprechenden E-Mail-Adressen eingetragen:<\/p>\n<\/div>\n<pre><code>variable &quot;budget_alert_emails&quot; {\n  type    = list(string)\n  default = [\n    &quot;your-first-email-address&quot;,\n    &quot;your-second-email-address&quot;,\n  ]\n}<\/code><\/pre>\n<div>\n<p>Es lassen sich beliebig viele Empf\u00e4nger:innen hinzuf\u00fcgen.<\/p>\n<p>Beim Ausf\u00fchren von Terraform erhalten alle gelisteten Empf\u00e4nger:innen Best\u00e4tigungs-E-Mails von AWS SNS und m\u00fcssen die Einladungen annehmen, um Benachrichtigungen zu erhalten.<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Arrows.svg\" alt=\"Arrow_green\"><\/p>\n<h3>4. AWS BUDGET KONFIGURIEREN<\/h3>\n<div>\n<p><strong>AWS Budgets<\/strong> \u00fcberwacht fortlaufend die monatlichen AWS-Kosten und vergleicht sie mit dem Budget.<\/p>\n<p>Wir haben die Warnschwelle auf <strong>130 Prozent<\/strong> des definierten Budgetlimits gesetzt. Dieser Puffer hilft, ungew\u00f6hnliche Kostenspr\u00fcnge zu erkennen und Fehlalarme zu minimieren.<\/p>\n<\/div>\n<pre><code>resource &quot;aws_budgets_budget&quot; &quot;aws_monthly_cost_budget&quot; { ...\n\n  notification {\n    comparison_operator = &quot;GREATER_THAN&quot;\n    threshold           = 130\n    threshold_type      = &quot;PERCENTAGE&quot;\n    notification_type   = &quot;ACTUAL&quot;\n\n    subscriber_sns_topic_arns = [\n      aws_sns_topic.aws_budget_alerts.arn\n    ]\n  }}<\/code><\/pre>\n<div>\n<p>Sobald die Kosten 130 Prozent des definierten Budgetlimits \u00fcberschreiten, l\u00f6st AWS Budgets eine Benachrichtigung aus und setzt sich anschlie\u00dfend f\u00fcr den n\u00e4chsten Monat zur\u00fcck.<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Arrows.svg\" alt=\"Arrow_green\"><\/p>\n<h3>5. SNOWFLAKE KOSTEN MONITOREN<\/h3>\n<div>\n<p>Um Snowflake-Kosten automatisch zu \u00fcberwachen, fragt eine <strong>Lambda-Funktion<\/strong> die Nutzungsdaten t\u00e4glich ab und sendet eine Warnung, sobald die Kosten die definierte Schwelle \u00fcberschreiten.<\/p>\n<\/div>\n<h4>5.1. Snowflake-User und -Rolle anlegen<\/h4>\n<div>\n<p>Zun\u00e4chst haben wir einen dedizierten Snowflake-User und eine passende Rolle angelegt, damit AWS Lambda sicher verbinden und Kostendaten abfragen konnte.<\/p>\n<p>Um dies zu tun, haben wir die folgenden SQL-Befehle direkt in <strong>Snowflake<\/strong> ausgef\u00fchrt:<\/p>\n<\/div>\n<pre><code>CREATE ROLE IF NOT EXISTS BILLING_MONITOR;\n\nGRANT IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE TO ROLE BILLING_MONITOR;\nGRANT USAGE ON WAREHOUSE COMPUTE_WH TO ROLE BILLING_MONITOR;\n\nCREATE USER IF NOT EXISTS LAMBDA_SNOWFLAKE_COST\n  PASSWORD = ''\n  DEFAULT_ROLE = BILLING_MONITOR\n  DEFAULT_WAREHOUSE = COMPUTE_WH\n  MUST_CHANGE_PASSWORD = FALSE;\n\nGRANT ROLE BILLING_MONITOR TO USER LAMBDA_SNOWFLAKE_COST;\n\nALTER USER LAMBDA_SNOWFLAKE_COST SET RSA_PUBLIC_KEY='ABCD';<\/code><\/pre>\n<div>\n<ul>\n<li>Der <strong>Public Key<\/strong> wurde in Snowflake gespeichert (<code data-start=\"167\" data-end=\"183\">RSA_PUBLIC_KEY<\/code>).<\/li>\n<li>Der <strong>Private Key<\/strong> wurde sicher im AWS Systems Manager Parameter Store hinterlegt (siehe n\u00e4chster Schritt).<\/li>\n<\/ul>\n<\/div>\n<h4>5.2 Anmeldedaten im AWS Parameter Store speichern<\/h4>\n<div>\n<p data-start=\"891\" data-end=\"1012\">Anschlie\u00dfend erstellten wir im <strong data-start=\"921\" data-end=\"960\">AWS Systems Manager Parameter Store<\/strong> einen Eintrag mit dem Namen <code data-start=\"989\" data-end=\"1011\">snowflake_cost_alarm<\/code>.<\/p>\n<p data-start=\"1014\" data-end=\"1141\">In diesem Parameter werden die Snowflake-Zugangsdaten sicher gespeichert (User, Account, Rolle, Warehouse und Private Key).<\/p>\n<p data-start=\"1143\" data-end=\"1203\">Beispielstruktur (Werte aus Sicherheitsgr\u00fcnden weggelassen):<\/p>\n<\/div>\n<pre><code>{\n  &quot;user&quot;: &quot;lambda_snowflake_cost&quot;,\n  &quot;account&quot;: &quot;your-snowflake-account&quot;,\n  &quot;warehouse&quot;: &quot;default_wh&quot;,\n  &quot;role&quot;: &quot;billing_monitor&quot;,\n  &quot;private_key&quot;: &quot;-----BEGIN PRIVATE KEY-----\\nABCDE...&quot;\n}<\/code><\/pre>\n<div>\n<p>So kann die Lambda-Funktion die Zugangsdaten dynamisch abrufen, ohne sensible Informationen hart im Code zu hinterlegen.<\/p>\n<\/div>\n<h4>5.3 Lambda-Funktion zum Abfragen der Snowflake-Nutzung<\/h4>\n<div>\n<p data-start=\"707\" data-end=\"768\">Eine <strong data-start=\"712\" data-end=\"731\">Lambda-Funktion<\/strong> pr\u00fcft t\u00e4glich die Snowflake-Nutzung.<\/p>\n<p data-start=\"770\" data-end=\"910\">Sie fragt die Tabelle <code data-start=\"792\" data-end=\"834\">SNOWFLAKE.ACCOUNT_USAGE.METERING_HISTORY<\/code> ab, um <strong data-start=\"842\" data-end=\"849\">den<\/strong> gesamten Credit-Verbrauch des aktuellen Monats zu berechnen.<\/p>\n<p data-start=\"912\" data-end=\"938\"><strong data-start=\"912\" data-end=\"938\">Python-Code-Auszug:<\/strong><\/p>\n<\/div>\n<pre><code>first_day_of_current_month = today.replace(day=1)\n\ncur.execute(f&quot;&quot;&quot;\n    SELECT SUM(CREDITS_USED) AS total_credits\n    FROM SNOWFLAKE.ACCOUNT_USAGE.METERING_HISTORY\n    WHERE DATE_TRUNC('month', START_TIME)::DATE = '{first_day_of_current_month}'\n&quot;&quot;&quot;)\nresult = cur.fetchone()\ncredits_used = result[0] or 0\n\nlogging.info (f&quot;Credits used are {credits_used} for this month {first_day_of_month}&quot;)\n\ncost_usd = float(credits_used) * 2.60\nthreshold = float(snowflake_limit) * 1.30\n\n# Compare against the threshold and send an SNS alert if exceeded\nif cost_usd &gt; threshold:\n    sns = boto3.client(&quot;sns&quot;)\n    sns.publish(\n        TopicArn=topic_arn,\n        Subject=f&quot;Snowflake cost alert for {environment} environment&quot;,\n        Message=f&quot;Snowflake cost for {year_month} month is ${cost_usd:.2f}, exceeding threshold ${threshold:.2f}.&quot;\n    )<\/code><\/pre>\n<div>\n<p>Die Lambda-Funktion ruft die Anmeldedaten automatisch aus dem <strong data-start=\"1002\" data-end=\"1041\">AWS Systems Manager Parameter Store<\/strong> ab, stellt per schl\u00fcsselbasierter Authentifizierung eine Verbindung zu Snowflake her und ver\u00f6ffentlicht Warnungen im konfigurierten SNS-Topic, wenn die Nutzung die Warnschwelle \u00fcberschreitet, die als 130 Prozent des in <strong data-start=\"1269\" data-end=\"1284\"><code data-start=\"1271\" data-end=\"1282\">locals.tf<\/code><\/strong> definierten Budgetlimits berechnet wird.<\/p>\n<\/div>\n<h4>5.4 T\u00e4gliche Ausf\u00fchrung \u00fcber EventBridge planen<\/h4>\n<div>\n<p>Die Lambda-Funktion wird t\u00e4glich durch eine <strong>Amazon EventBridge-Regel<\/strong> um 10:00 UTC ausgel\u00f6st.<\/p>\n<\/div>\n<pre><code># ---------- EventBridge Rule ----------\nresource &quot;aws_cloudwatch_event_rule&quot; &quot;daily&quot; {\n  name                = &quot;snowflake-cost-checker-daily&quot;\n  description         = &quot;Triggers Snowflake cost checker Lambda every day at 10:00 UTC&quot;\n  schedule_expression = &quot;cron(0 10 * * ? *)&quot;\n}\n\n# ---------- EventBridge Target ----------\nresource &quot;aws_cloudwatch_event_target&quot; &quot;lambda_trigger&quot; {\n  rule      = aws_cloudwatch_event_rule.daily.name\n  target_id = &quot;SnowflakeCostCheckerLambda&quot;\n  arn       = aws_lambda_function.snowflake_cost_checker.arn\n}<\/code><\/pre>\n<h4>5.5 Berechtigungen<\/h4>\n<div>\n<p>Die <strong>Lambda-Ausf\u00fchrungsrolle<\/strong> umfasst die erforderlichen Berechtigungen, um:<\/p>\n<ul>\n<li>Parameter aus dem <strong>AWS Systems Manager Parameter Store (SSM Parameter Store)<\/strong> abzurufen<\/li>\n<li>Nachrichten an <strong>AWS SNS Topics<\/strong> zu ver\u00f6ffentlichen<\/li>\n<li>Mit Amazon <strong>EventBridge<\/strong> f\u00fcr terminierte Ausl\u00f6sungen zu interagieren<\/li>\n<\/ul>\n<p>Diese IAM-Berechtigungen (Identity and Access Management) gew\u00e4hrleisten einen sicheren, automatisierten Betrieb des Monitoring-Workflows.<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Arrows.svg\" alt=\"Arrow_green\"><\/p>\n<h3>6. INFRASTRUKTUR MIT TERRAFORM BEREITSTELLEN<\/h3>\n<div>\n<p>Sobald Terraform-Code, Budgets, SNS-Themen und Lambda-Funktionen konfiguriert waren, konnten wir die Monitoring-Pipeline bereitstellen.<\/p>\n<p>Der Bereitstellungs-Workflow war f\u00fcr <strong>DEV<\/strong> und <strong>PROD<\/strong> identisch. Der einzige Unterschiede betreffen die Backend-Konfiguration und die Umgebungsvariable.<\/p>\n<\/div>\n<h4>6.1 Terraform installieren<\/h4>\n<div>\n<p>Wenn Sie diese Schritte nachvollziehen m\u00f6chten, stellen Sie sicher, dass Terraform auf Ihrem Rechner installiert ist. Sie k\u00f6nnen es von der offiziellen Terraform-Website herunterladen und den Installationsanweisungen f\u00fcr Ihr Betriebssystem folgen.<\/p>\n<p>\u00dcberpr\u00fcfen Sie die Installation:<\/p>\n<\/div>\n<pre><code>terraform version<\/code><\/pre>\n<h4>6.2 Terraform initialisieren<\/h4>\n<div>\n<p>Initialisieren Sie Terraform in Ihrem Arbeitsverzeichnis. Dadurch werden alle ben\u00f6tigten Module und Provider geladen und das Remote-Backend eingerichtet.<\/p>\n<p>F\u00fcr die <strong>DEV<\/strong>-Umgebung:<\/p>\n<\/div>\n<pre><code>terraform init -backend-config=&quot;backend\/dev.tfbackend&quot; -migrate-state<\/code><\/pre>\n<div>\n<p>F\u00fcr die <strong>PROD<\/strong>-Umgebung \u00e4ndern Sie einfach die Backend-Datei:<\/p>\n<\/div>\n<pre><code>terraform init -backend-config=&quot;backend\/prod.tfbackend&quot; -migrate-state<\/code><\/pre>\n<div>\n<p>Die Markierung<strong data-start=\"3012\" data-end=\"3032\"><code data-start=\"3014\" data-end=\"3030\">-migrate-state<\/code><\/strong> stellt sicher, dass der State bei Bedarf korrekt in den konfigurierten S3-Bucket migriert wird.<\/p>\n<\/div>\n<h4>6.3 Geplante \u00c4nderungen pr\u00fcfen<\/h4>\n<div>\n<p>Vor der Anwendung pr\u00fcfen Sie bitte, welche Ressourcen erstellt, ge\u00e4ndert oder gel\u00f6scht werden:<\/p>\n<\/div>\n<pre><code>terraform plan -var environment=&quot;dev&quot;<\/code><\/pre>\n<div>\n<p>F\u00fcr <strong>PROD<\/strong>:<\/p>\n<\/div>\n<pre><code>terraform plan -var environment=&quot;prod&quot;<\/code><\/pre>\n<div>\n<p>Pr\u00fcfen Sie die Ausgabe sorgf\u00e4ltig, damit die \u00c4nderungen Ihren Erwartungen entsprechen.<\/p>\n<\/div>\n<h4>6.4 \u00c4nderungen anwenden<\/h4>\n<div>\n<p>Sobald der Plan passt, wenden Sie die \u00c4nderungen an:<\/p>\n<\/div>\n<pre><code>terraform apply -var environment=&quot;dev&quot;<\/code><\/pre>\n<div>\n<p>Best\u00e4tigen Sie die Ausf\u00fchrung, wenn Sie dazu aufgefordert werden.<\/p>\n<p>F\u00fcr <strong>PROD<\/strong> f\u00fchren Sie aus:<\/p>\n<\/div>\n<pre><code>terraform apply -var environment=&quot;prod&quot;<\/code><\/pre>\n<p><p>\n        <a href=\"https:\/\/github.com\/hopmannmarketinganalytics\/aws-snowflake-costs-monitoring\" target=\"_blank\" rel=\"noopener\">Kompletten Code im GitHub Repository anschauen<\/a>\n    <\/p>\n<\/p>\n<h2>\n<p>04 Key Takeaways<\/p>\n<\/h2>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/Hopmann-Line-Dot-Long.svg\" alt=\"Hopmann Line Dot Long\"><\/p>\n<div>\n<p>Proaktives Monitoring von Cloud-Kosten ist nicht nur Technik, sondern vor allem finanzielle Steuerung.<\/p>\n<p>Mit automatisierten Warnungen f\u00fcr AWS und Snowflake k\u00f6nnen Unternehmen:<\/p>\n<ul>\n<li>Unerwartete Budget\u00fcberschreitungen vermeiden<\/li>\n<li>Zeit der Engineering-Teams f\u00fcr manuelle Pr\u00fcfungen einsparen<\/li>\n<li>Cloud-Kosten planbarer machen und damit Planung und Ressourceneinsatz verbessern<\/li>\n<\/ul>\n<p><strong>Kurz gesagt: den \u00dcberblick haben, Geld sparen und die Kontrolle behalten.<\/strong><\/p>\n<\/div>\n<h2>05 Ergebnisse<\/h2>\n<div>\n<div class=\"floating-box-wrapper\">\n<div class=\"floating-box is-white\" id=\"umwelt\">\n<h4 class=\"uk-h2\">AWS Kosten<br \/>werden fortlaufend \u00fcberwacht<\/h4>\n<\/p><\/div>\n<div class=\"floating-box is-blush\" id=\"bildung\">\n<h4 class=\"uk-h2\">Snowflake-Kosten<br \/>werden t\u00e4glich gepr\u00fcft<\/h4>\n<\/p><\/div>\n<div class=\"floating-box is-grey\" id=\"wohlbefinden\">\n<h4 class=\"uk-h2\">Echtzeit-Nachrichten<br \/>bei Abweichungen<\/h4>\n<\/p><\/div>\n<div class=\"floating-box is-cool-grey\" id=\"frauen\">\n<h4 class=\"uk-h2\">Weniger manuelle<br \/>Dashboard-Checks<\/h4>\n<\/p><\/div>\n<div class=\"floating-box is-white\" id=\"energie\">\n<h4 class=\"uk-h2\">Besser Planbare<br \/>Budgets<\/h4>\n<\/p><\/div>\n<div class=\"floating-box is-green\" id=\"konsum\">\n<h4 class=\"uk-h2\">Geringerer<br \/>operativer Aufwand<\/h4>\n<\/p><\/div>\n<div class=\"floating-box is-white\" id=\"menschen\">\n<h4 class=\"uk-h2\">Transparenz und<br \/>finanzielle Steuerung<\/h4>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<h2>06 Die richtige E-Mail zur richtigen Zeit<\/h2>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/HMA_Team_Federico-Erroi.jpg\" alt=\"HMA_Team_Federico-Erroi\"><\/p>\n<div>\n<p>\u201cUns ist wichtig, dass Teams durch unsere Hilfe die \u00dcbersicht behalten k\u00f6nnen. Benachrichtigungen sollen nur dann kommen, wenn sie wirklich n\u00f6tig sind. Darum setzen wir die Schwelle bei 130 Prozent. Warnungen bei 70 Prozent f\u00fchren oft zur Gew\u00f6hnung. Eine pr\u00e4zise E-Mail im richtigen Moment verhindert Eskalation und erm\u00f6glicht rechtzeitiges Gegensteuern, bevor die Rechnung \u00fcberrascht.\u201d<\/p>\n<\/div>\n<div>\n<p>Federico Erroi, Senior Data Engineering Specialist<br \/>Hopmann Marketing Analytics<\/p>\n<\/div>\n<h2>\n<p>Neugierig, wie dieser Ansatz f\u00fcr Ihr Team funktionieren k\u00f6nnte? Melden Sie sich, wir teilen gern mehr Einblicke.<\/p>\n<\/h2>\n<div>\n<div>KLINGT GUT?<\/div>\n<\/div>\n<p><!--more--><br \/>\n<!-- {\"type\":\"layout\",\"children\":[{\"type\":\"section\",\"props\":{\"animation\":\"slide-bottom-medium\",\"animation_delay\":\"50\",\"class\":\"bg-color-mattgruen\",\"height\":\"pixels\",\"height_offset_top\":false,\"height_viewport\":500,\"image_effect\":\"fixed\",\"image_loading\":true,\"image_position\":\"center-center\",\"image_size\":\"cover\",\"image_width\":\"1920\",\"padding_remove_bottom\":false,\"padding_remove_horizontal\":false,\"preserve_color\":false,\"style\":\"primary\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"bottom\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"bottom\",\"width_medium\":\"2-3\"},\"children\":[{\"type\":\"headline\",\"props\":{\"class\":\"hero-headline\",\"content\":\"Cloud-Kostenkontrolle mit proaktivem Monitoring\",\"content_en_us\":\"Cloud cost control with proactive monitoring\",\"margin_remove_top\":true,\"title_element\":\"h1\",\"title_style\":\"heading-2xlarge\"},\"name\":\"Headline\"}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-3\"},\"children\":[{\"type\":\"panel\",\"props\":{\"block_align\":\"right\",\"class\":\"badge-bubble color-mattgruen\",\"content_column_breakpoint\":\"m\",\"css\":\".el-title {\\n\\tcolor: #b0c0ab !important;\\n}\",\"icon_width\":80,\"image_align\":\"top\",\"image_grid_breakpoint\":\"m\",\"image_grid_width\":\"1-2\",\"image_svg_color\":\"emphasis\",\"link_style\":\"default\",\"link_text\":\"Read more\",\"margin\":\"default\",\"maxwidth\":\"small\",\"meta_align\":\"below-title\",\"meta_element\":\"div\",\"meta_style\":\"text-meta\",\"panel_padding\":\"default\",\"panel_style\":\"tile-default\",\"text_align\":\"center\",\"title\":\"CASE STUDY\",\"title_align\":\"top\",\"title_element\":\"div\",\"title_en_us\":\"CASE STUDY\",\"title_grid_breakpoint\":\"m\",\"title_grid_width\":\"1-2\",\"title_hover_style\":\"reset\",\"title_style\":\"h4\",\"visibility\":\"l\"},\"name\":\"Badge Bubble\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\",\"margin\":\"default\"}}]}],\"props\":{\"layout\":\"2-3,1-3\"}}],\"name\":\"Case Study Template Hero\"},{\"type\":\"section\",\"props\":{\"image_position\":\"center-center\",\"padding\":\"xsmall\",\"padding_remove_bottom\":false,\"padding_remove_top\":false,\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"middle\",\"width\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"marquee-panel-slider\",\"props\":{\"content_column_breakpoint\":\"m\",\"icon_width\":80,\"image_align\":\"top\",\"image_grid_breakpoint\":\"m\",\"image_grid_width\":\"1-2\",\"image_svg_color\":\"emphasis\",\"image_width\":\"200\",\"link_style\":\"default\",\"link_text\":\"Read more\",\"margin\":\"default\",\"meta_align\":\"below-title\",\"meta_element\":\"div\",\"meta_style\":\"text-meta\",\"nav\":\"dotnav\",\"nav_align\":\"center\",\"nav_breakpoint\":\"s\",\"panel_card_match\":false,\"show_content\":false,\"show_image\":true,\"show_link\":false,\"show_meta\":false,\"show_title\":false,\"slidenav\":\"outside\",\"slidenav_breakpoint\":\"xl\",\"slidenav_margin\":\"medium\",\"slidenav_outside_breakpoint\":\"xl\",\"slider_autoplay_pause\":true,\"slider_direction\":\"right\",\"slider_divider\":false,\"slider_gap\":\"small\",\"slider_width\":\"fixed\",\"slider_width_default\":\"1-1\",\"slider_width_medium\":\"1-3\",\"title_align\":\"top\",\"title_element\":\"h3\",\"title_grid_breakpoint\":\"m\",\"title_grid_width\":\"1-2\",\"title_hover_style\":\"reset\"},\"children\":[{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Lavera.png\",\"image_alt\":\"Lavera Naturkosmetik\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Allianz.png\",\"image_alt\":\"Allianz\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Fresenius-1.png\",\"image_alt\":\"Fresenius\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/HMA-3.png\",\"image_alt\":\"Douglas\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Aachener.png\",\"image_alt\":\"Aachener Grundverm\\u00f6gen\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Fielmann.png\",\"image_alt\":\"Fielmann\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/logo-redbull.png\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/logo-telefonica.png\",\"image_alt\":\"Telefonica\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/logo-gore.png\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/logo-roche.png\",\"image_alt\":\"Roche\"}},{\"type\":\"panel-slider_item\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/logo-mnet.png\"}}]}]}]}]},{\"type\":\"section\",\"props\":{\"animation\":\"slide-bottom-medium\",\"animation_delay\":\"50\",\"image_position\":\"center-center\",\"padding\":\"large\",\"padding_remove_bottom\":false,\"padding_remove_top\":true,\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"props\":{\"alignment\":\"left\",\"column_gap\":\"large\",\"layout\":\"4-5,1-5\",\"margin\":\"large\",\"width\":\"large\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"Wie automatische AWS- und Snowflake-Budgetwarnungen dazu beitragen, rechtzeitige Korrekturen einzuleiten\",\"content_en_us\":\"How automatic AWS and Snowflake budget alerts help trigger timely remedial actions\",\"title_element\":\"h2\",\"title_style\":\"h2\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Wer gro\\u00dfe Marketing-Kampagnen verantwortet, kennt wahrscheinlich das Problem: Cloud-Kosten \\u00fcberraschen oft erst mit der Rechnung.<\\\/p>\\n\n\n<p>In dieser Case Study zeigen wir, wie eine automatische Budgetwarnung greift, sobald die monatlichen Ausgaben 130 Prozent des geplanten Budgets \\u00fcberschreiten. Die Schwelle ist bewusst gew\\u00e4hlt, denn zu fr\\u00fche Signale werden oftmals ignoriert. Das System l\\u00e4uft in DEV und PROD und nimmt Teams die t\\u00e4glichen Dashboard-Routinen ab, damit der Fokus auf der Steuerung und Wirkung des Marketings liegt.<\\\/p>\\n\n\n<p>Das Ergebnis sind planbarere Budgets, weniger Risiko und schnelleres Handeln im Kampagnenalltag.<\\\/p>\",\"content_en_us\":\"\n\n<p>If you run large marketing campaigns, you probably know the problem. Cloud costs often only show up as a surprise when the invoice arrives.<\\\/p>\\n\n\n<p>In this case study, we show how an automatic budget warning triggers as soon as monthly spend exceeds 130 percent of the planned budget. The threshold is deliberate because signals that come too early are often ignored. The system runs in DEV and PROD and removes daily dashboard routines for teams so the focus stays on control and marketing impact.<\\\/p>\\n\n\n<p>The result is more predictable budgets, lower risk, and faster action in day-to-day campaign work.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"default\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"Mehr zu unseren Data Engineering Leistungen\",\"content_en_us\":\"More about our data engineering services\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon_align\":\"left\",\"link\":\"de\\\/business-analytics\\\/data-engineering\\\/\",\"link_en_us\":\"https:\\\/\\\/www.hopmann.com\\\/en\\\/business-analytics\\\/data-engineering\\\/\",\"link_title\":\"Data Engineering\",\"link_title_en_us\":\"Data engineering services\"}}],\"name\":\"More about our services\"}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"padding\":\"none\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"}}]}],\"name\":\"Case Study Template Intro\"},{\"type\":\"section\",\"props\":{\"animation\":\"slide-bottom-medium\",\"animation_delay\":\"50\",\"class\":\"color-gruen\",\"image_position\":\"center-center\",\"padding_remove_bottom\":false,\"padding_remove_horizontal\":false,\"style\":\"muted\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"01 Die Herausforderung\",\"content_en_us\":\"01 The Challenge\",\"margin\":\"large\",\"margin_remove_top\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"2-5,3-5\",\"margin\":\"large\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"2-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Hopmann_Case-Study_Cloud-Cost-Monitoring_DE.png\",\"image_alt\":\"Hopmann_Case-Study_Cloud-Cost-Monitoring_DE\",\"image_alt_en_us\":\"Hopmann_Case-Study_Cloud-Cost-Monitoring_EN\",\"image_en_us\":\"wp-content\\\/uploads\\\/Hopmann_Case-Study_Cloud-Cost-Monitoring_EN.png\",\"image_en_us_alt\":\"Hopmann_Case-Study_Cloud-Cost-Monitoring_EN\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"3-5\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Cloud-Kosten sind oft eine unvorhersehbare Position im Marketing-Budget. Sie k\\u00f6nnen von Monat zu Monat schwanken, insbesondere wenn Ihre Pipelines Daten aus mehreren Quellen ziehen und umfangreiche Transformationen erfordern.<\\\/p>\\n\n\n<p>F\\u00fcr Unternehmen, die gro\\u00df angelegte Marketingkampagnen durchf\\u00fchren, kann diese Volatilit\\u00e4t riskant sein. Datenpipelines k\\u00f6nnen schnell skalieren und wenn die Ausgaben nicht eng \\u00fcberwacht werden, k\\u00f6nnen Rechnungen f\\u00fcr AWS (Amazon Web Services) und Snowflake ohne Vorwarnung sprunghaft ansteigen. Sich ausschlie\\u00dflich auf manuelle Pr\\u00fcfungen zu verlassen ist zeitaufwendig und birgt das Risiko, diese Kosten zu \\u00fcbersehen, bis es zu sp\\u00e4t ist.<\\\/p>\\n\n\n<p>Ein E-Commerce Unternehmen kam mit genau dieser Herausforderung zu uns. Ziel war es, ein automatisiertes Kosten-Monitoring einzuf\\u00fchren, um die Kontrolle \\u00fcber das Cloud-Budget zur\\u00fcckzugewinnen.<\\\/p>\",\"content_en_us\":\"\n\n<p>Cloud costs are often an unpredictable item in the marketing budget. They can fluctuate from month to month, especially when your pipelines pull data from multiple sources and require extensive transformations.<\\\/p>\\n\n\n<p>For companies running large-scale marketing campaigns, this volatility can be risky. Data pipelines can scale quickly, and if spending is not closely monitored, invoices for AWS (Amazon Web Services) and Snowflake can spike without warning. Relying exclusively on manual checks is time-consuming and carries the risk of overlooking these costs until it is too late.<\\\/p>\\n\n\n<p>An e-commerce company came to us with exactly this challenge. The goal was to introduce automated cost monitoring to regain control over the cloud budget.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"}}]}],\"name\":\"Case Study \\u00dcberblick\"},{\"type\":\"section\",\"props\":{\"class\":\"color-gruen\",\"image_position\":\"center-center\",\"padding_remove_bottom\":false,\"padding_remove_top\":false,\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"2-3\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"\n\n<p>02 Die L\\u00f6sung<\\\/p>\",\"content_en_us\":\"02 Solution\",\"title_element\":\"h2\",\"title_style\":\"h2\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-3\"},\"children\":[{\"type\":\"image\",\"props\":{\"blend\":false,\"image\":\"wp-content\\\/uploads\\\/Hopmann-Website-Pfeil-gruen-links.svg\",\"image_alt\":\"Hopmann Website Pfeil gruen links\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\",\"text_align\":\"right\"}}]}],\"props\":{\"layout\":\"2-3,1-3\"}},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Um dieser Herausforderung entgegen zu treten, haben wir ein automatisiertes Budgetwarnsystem entwickelt und mit Terraform bereitgestellt.<\\\/p>\\n\n\n<p><strong>Das leistet die L\\u00f6sung:<\\\/strong><\\\/p>\\n\n\n<ul>\\n\n\n<li>Verfolgt die monatlichen Ausgaben in AWS und Snowflake.<\\\/li>\\n\n\n<li>Sendet E-Mail-Benachrichtigungen, sobald die Ausgaben 130 Prozent des Budgets \\u00fcberschreiten.<\\\/li>\\n<\\\/ul>\\n\n\n<p>So m\\u00fcssen Teams nicht t\\u00e4glich in Dashboards einloggen. Stattdessen werden sie sofort informiert, wenn etwas Ungew\\u00f6hnliches passiert, und k\\u00f6nnen handeln, bevor die Kosten aus dem Ruder laufen.<\\\/p>\\n\n\n<p>Ein vorsichtiger Ansatz w\\u00fcrde bereits bei 70 Prozent des Budgets warnen. F\\u00fcr diesen Anwendungsfall haben wir uns jedoch f\\u00fcr eine pragmatischere Strategie entschieden. Wiederholte Warnungen bei 70 Prozent \\u00fcber mehrere Monate werden h\\u00e4ufig ignoriert, weil man annimmt, dass alles unter Kontrolle ist. Daher haben wir eine h\\u00f6here Schwelle von 130 Prozent umgesetzt.<\\\/p>\",\"content_en_us\":\"\n\n<p>To overcome this challenge, we built an automated cost alerting system and deployed it with Terraform.<\\\/p>\\n\n\n<p><strong>Here\\u2019s what it does:<\\\/strong><\\\/p>\\n\n\n<ul>\\n\n\n<li>Tracks monthly spending in AWS and Snowflake.<\\\/li>\\n\n\n<li>Sends email alerts if spending climbs above 130% of the budget.<\\\/li>\\n<\\\/ul>\\n\n\n<p>This way, teams don\\u2019t need to log in to dashboards daily. Instead, they get notified the moment something unusual happens, so they can act before costs spiral.<\\\/p>\\n\n\n<p>A cautious approach would alert at 70% of the budget, but for this use case we chose a more pragmatic strategy. Repeated 70% notifications over several months tend to be ignored under the assumption that \\u201ceverything is under control,\\u201d so we implemented a higher threshold (130%).<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-6,5-6|1-5,4-5\",\"status\":\"disabled\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-6\",\"width_small\":\"1-5\"}},{\"type\":\"column\",\"props\":{\"css\":\".el-column .uk-card {border-radius: 10px; background-color: #ebe4de;}\",\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"style\":\"card-primary\",\"width_medium\":\"5-6\",\"width_small\":\"4-5\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p><strong>Technologische und analytische Basis f\\u00fcr verhaltensbasierte Segmentierung schaffen<\\\/strong><\\\/p>\\n\n\n<p>Zu Beginn des Projekts wurde eine skalierbare Dateninfrastruktur aufgebaut, die eine ganzheitliche Auswertung von CRM-Daten, digitalen Interaktionen und Verhaltenssignalen erm\\u00f6glicht. Grundlage daf\\u00fcr war der Aufbau eines <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/de\\\/marketing-analytics\\\/marketing-data-stack\\\/\\\">modernen Data Stacks<\\\/a> mit <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/de\\\/technologien\\\/snowflake\\\/\\\">Snowflake<\\\/a> als zentralem Data-Hub. \\u00dcber diesen konnten bestehende Systeme und neue Datenquellen angebunden werden. Parallel dazu wurden Datenmodelle entwickelt, um Nutzungs- und Interaktionsdaten aus verschiedenen Kan\\u00e4len einheitlich aufzubereiten.<\\\/p>\\n\n\n<p>Methodisch wurde ein modernes KI-gest\\u00fctztes RFM-Modell etabliert, das klassische Metriken um digitale Signale wie Klickverhalten, Kanalpr\\u00e4ferenzen und Interaktionsfrequenz erg\\u00e4nzt. So entstand ein robustes Fundament f\\u00fcr eine zielgerichtete, moderne und verhaltensorientierte Segmentierung.<\\\/p>\",\"content_en_us\":\"\n\n<p><strong>Building the technological and analytical foundation for behavior-based segmentation<\\\/strong><\\\/p>\\n\n\n<p>At the start of the project, a scalable data infrastructure was established to enable a comprehensive analysis of CRM data, digital interactions and behavioral signals. This infrastructure was based on a <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/marketing-analytics\\\/marketing-data-stack\\\/\\\">modern data stack<\\\/a>, with <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/technologies\\\/snowflake\\\/\\\">Snowflake<\\\/a> serving as the central data hub. Thanks to this architecture, both existing systems and new data sources could be seamlessly integrated. In parallel, data models were developed to standardize usage and interaction data across multiple channels.<\\\/p>\\n\n\n<p>From a methodological perspective, modern AI-supported RFM models were implemented. These models extended classical metrics with digital signals, such as click behavior, channel preferences, and interaction frequency. All of these efforts created a robust foundation for targeted, modern and behavior-driven segmentation.<\\\/p>\",\"dropcap\":false,\"margin\":\"large\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-6,5-6|1-5,4-5\",\"status\":\"disabled\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-6\",\"width_small\":\"1-5\"}},{\"type\":\"column\",\"props\":{\"css\":\".el-column .uk-card {border-radius: 10px; background-color: #e7eee9;}\",\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"style\":\"card-primary\",\"width_medium\":\"5-6\",\"width_small\":\"4-5\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p><strong>Zielgruppen sichtbar machen und operativ nutzbar machen<\\\/strong><\\\/p>\\n\n\n<p>Um eine differenzierte Kundenansprache zu erm\\u00f6glichen, wurden die ermittelten Segmente in ein zentrales Dashboard \\u00fcberf\\u00fchrt. Dieses <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/de\\\/technologien\\\/power-bi\\\/\\\">Power BI Dashboard<\\\/a> verkn\\u00fcpft CRM-Daten mit Interaktionsmustern und zeigt auf einen Blick, welche Zielgruppen wie aktiv sind, \\u00fcber welche Kan\\u00e4le sie erreicht werden k\\u00f6nnen und wie hoch ihr Potenzial eingesch\\u00e4tzt wird.<\\\/p>\\n\n\n<p>Die Visualisierung der Segmente dient nicht nur der Analyse, sondern auch der operativen Anwendung, wie zur Steuerung im Au\\u00dfendienst oder zur gezielten Auswahl von Empf\\u00e4ngergruppen in Kampagnen. <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/de\\\/academy\\\/\\\">Use Case Trainings<\\\/a> begleiteten die Einf\\u00fchrung und unterst\\u00fctzten Marketing- und Vertriebsverantwortliche beim \\u00dcbergang in die praktische Anwendung.<\\\/p>\",\"content_en_us\":\"\n\n<p><strong>Making target groups visible and operationally actionable<\\\/strong><\\\/p>\\n\n\n<p>To enable differentiated customer engagement, the identified segments were integrated into a central dashboard. This <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/technologies\\\/power-bi\\\/\\\">Power BI dashboard<\\\/a> integrates CRM data with interaction patterns, offering a comprehensive view of each target group's level of activity, recommended channels for outreach, and estimated potential value.<\\\/p>\\n\n\n<p>The visualization of segments serves analytical and operational purposes. It supports such uses as field force steering and the targeted selection of recipient groups for campaigns. Use <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/academy\\\/\\\">case\\u2013focused trainings<\\\/a> accompanied the rollout and supported marketing and sales teams in translating insights into actionable practice.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-6,5-6|1-5,4-5\",\"status\":\"disabled\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-6\",\"width_small\":\"1-5\"}},{\"type\":\"column\",\"props\":{\"css\":\".el-column .uk-card {border-radius: 10px; background-color: #f6eedf;}\",\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"style\":\"card-primary\",\"width_medium\":\"5-6\",\"width_small\":\"4-5\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p><strong>Datenkompetenz st\\u00e4rken und segmentbasiertes Arbeiten verankern<\\\/strong><\\\/p>\\n\n\n<p>Ein zentrales Ziel des Projekts war es, datenbasiertes Denken st\\u00e4rker im Arbeitsalltag zu verankern. Die Segmentierung sollte nicht als rein analytisches Modell verstanden werden, sondern als strategisches Werkzeug f\\u00fcr die differenzierte Kundenansprache. Durch gezielte Enablement-Ma\\u00dfnahmen, gemeinsame Interpretation der Cluster sowie praxisnahe Anwendungsbeispiele wurde die neue Segmentlogik nachhaltig in die Prozesse integriert.<\\\/p>\\n\n\n<p>So entstand ein wirkungsvolles Zusammenspiel aus Technologie, Methodik und Organisation. Dies ist eine wichtige Grundlage f\\u00fcr personalisierte Kommunikation, gezielte Ressourcensteuerung und langfristige strategische Weiterentwicklung.<\\\/p>\",\"content_en_us\":\"\n\n<p><strong>Strengthening data literacy and embedding segment-based workflows<\\\/strong><\\\/p>\\n\n\n<p>A key objective of the project was to anchor data-driven thinking more firmly in day-to-day operations. The segmentation was not intended as a purely analytical model, but rather as a strategic tool for engaging HCPs in a way that is tailored to their specific needs. Through targeted enablement measures, collaborative interpretation of clusters, and practical application examples, the new segmentation logic was integrated into existing processes in a sustainable way.<\\\/p>\\n\n\n<p>This created a strong synergy between technology, methodology, and organization. That synergy laid the foundation for personalized communication, focused resource allocation, and long-term strategic development.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"2-3,1-3\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"2-3\"}},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-3\"},\"children\":[{\"type\":\"button\",\"props\":{\"button_size\":\"small\",\"fullwidth\":false,\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"large\",\"margin_remove_bottom\":true,\"position\":\"relative\",\"position_left\":\"0\",\"text_align\":\"right\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"Erfahren Sie mehr\",\"content_en_us\":\"Find out more\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon_align\":\"left\",\"link\":\"#kontakt\",\"link_en_us\":\"#kontakt\",\"link_title\":\"Erfahren Sie mehr\",\"link_title_en_us\":\"Find out more\"}}]}]}]}],\"name\":\"Case Study Zielsetzung\"},{\"type\":\"section\",\"props\":{\"class\":\"training-detail-company\",\"image_position\":\"center-center\",\"padding_remove_bottom\":false,\"padding_remove_top\":false,\"style\":\"muted\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"props\":{\"column_gap\":\"collapse\",\"margin_remove_top\":false,\"parallax\":false,\"row_gap\":\"collapse\"},\"children\":[{\"type\":\"column\",\"props\":{\"class\":\"training-detail-tile-title\",\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"03 Vorgehen: Schritt f\\u00fcr Schritt\",\"content_en_us\":\"03 How it works: Step by Step\",\"margin_remove_top\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Im n\\u00e4chsten Abschnitt zeigen wir das Vorgehen Schritt f\\u00fcr Schritt. Sie k\\u00f6nnen den kompletten Code auch im GitHub Respository anschauen.<\\\/p>\",\"content_en_us\":\"\n\n<p>In the next section we walk through the process step by step. You can also have a look at the complete code in the GitHub respository.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"default\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"Code in GitHub\",\"content_en_us\":\"Code in GitHub\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon\":\"\",\"icon_align\":\"left\",\"link\":\"https:\\\/\\\/github.com\\\/hopmannmarketinganalytics\\\/aws-snowflake-costs-monitoring\",\"link_en_us\":\"https:\\\/\\\/github.com\\\/hopmannmarketinganalytics\\\/aws-snowflake-costs-monitoring\",\"link_title\":\"Code in GitHub\",\"link_title_en_us\":\"Code in GitHub\"}}]},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Von der Einrichtung in DEV und PROD \\u00fcber die Budgetdefinition bis zur Benachrichtigung per E-Mail ist alles so beschrieben, dass auch Nicht-Techniker:innen folgen k\\u00f6nnen. Ziel ist ein verl\\u00e4ssliches Setup, das Kosten transparent macht und rechtzeitig warnt.<\\\/p>\",\"content_en_us\":\"\n\n<p>From setting up DEV and PROD to defining budgets and configuring email notifications, everything is explained so non-technical readers can follow. The goal is a reliable setup that makes costs transparent and alerts in time.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-5,4-5\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Arrows.svg\",\"image_alt\":\"Arrow_green\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"1. EINRICHTEN DER UMGEBUNGEN\",\"content_en_us\":\"1. ENVIRONMENT SETUP\",\"title_element\":\"h3\",\"title_style\":\"h3\"},\"name\":\"H3\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Diese Pipeline ist f\\u00fcr zwei Umgebungen ausgelegt: <strong>DEV<\\\/strong> und <strong>PROD<\\\/strong>.<\\\/p>\\n\n\n<ul>\\n\n\n<li><strong>DEV (Development)<\\\/strong> dient zum Testen und Validieren von Konfigurations\\u00e4nderungen, damit Anpassungen am Terraform-Code oder an der Logik der Benachrichtigungen korrekt funktionieren, bevor sie produktive Systeme beeinflussen.<\\\/li>\\n\n\n<li><strong>PROD (Production)<\\\/strong> ist die Live-Umgebung, die Kostenwarnungen auf realen Cloud-Ressourcen \\u00fcberwacht und durchsetzt.<\\\/li>\\n<\\\/ul>\\n\n\n<p>Jede Umgebung entspricht einem eigenen AWS-Konto. Das sorgt f\\u00fcr klare Trennung der Workloads, Transparenz bei den Kosten und sauberes Infrastruktur-Management.<\\\/p>\\n\n\n<p>In jedem AWS-Konto (<strong>DEV<\\\/strong> und <strong>PROD<\\\/strong>) haben wir <strong>manuell ein S3-Bucket angelegt<\\\/strong>, in dem die Datei <em>terraform.tfstate<\\\/em> gespeichert wird.<\\\/p>\\n\n\n<p>So stellt Terraform eine konsistente und sichere Dokumentation der bereitgestellten Infrastruktur sicher.<\\\/p>\\n\n\n<p>Nach dem Anlegen mussten Name, Key und Region des S3-Buckets in folgenden Dateien fest hinterlegt werden:<\\\/p>\\n\n\n<ul>\\n\n\n<li><em>backend\\\/dev.tfbackend<\\\/em><\\\/li>\\n\n\n<li><em>backend\\\/prod.tfbackend<\\\/em><\\\/li>\\n<\\\/ul>\\n\n\n<p>Beispiel f\\u00fcr die Datei <em>backend\\\/dev.tfbackend<\\\/em>:<\\\/p>\",\"content_en_us\":\"\n\n<p>This pipeline is designed to operate across two environments \\u2014 <strong>DEV<\\\/strong> and <strong>PROD<\\\/strong>.<\\\/p>\\n\n\n<ul>\\n\n\n<li><strong>DEV (Development)<\\\/strong> is used for testing and validating configuration changes, ensuring that updates to Terraform code or alerting logic work correctly before they impact production systems.<\\\/li>\\n\n\n<li><strong>PROD (Production)<\\\/strong> is the live environment that monitors and enforces cost alerts on actual cloud resources.<\\\/li>\\n<\\\/ul>\\n\n\n<p>Each environment corresponds to a separate AWS account, ensuring clear separation of workloads, cost visibility, and infrastructure management.<\\\/p>\\n\n\n<p>In each AWS account (DEV and PROD), we <strong>manually created an S3 bucket<\\\/strong> to store the <em>terraform.tfstate<\\\/em> file.<\\\/p>\\n\n\n<p>This ensures that Terraform can maintain a consistent and secure record of your deployed infrastructure.<\\\/p>\\n\n\n<p>Once created, the S3 bucket name, key, and region were hard-coded in:<\\\/p>\\n\n\n<ul>\\n\n\n<li><em>backend\\\/dev.tfbackend<\\\/em><\\\/li>\\n\n\n<li><em>backend\\\/prod.tfbackend<\\\/em><\\\/li>\\n<\\\/ul>\\n\n\n<p>Example <em>backend\\\/dev.tfbackend<\\\/em> file:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"bucket = \\\"terraform-s3-state-4637483747\\\"\\nkey = \\\"terraform.tfstate\\\"\\nregion = \\\"eu-central-1\\\"\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-5,4-5\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Arrows.svg\",\"image_alt\":\"Arrow_green\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"2. BUDGET DEFINIEREN\",\"content_en_us\":\"2. DEFINE BUDGET\",\"title_element\":\"h3\",\"title_style\":\"h3\"},\"name\":\"H3\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Budgets sind nicht statisch. Sie werden in der Regel auf Basis vergangener Ausgaben festgelegt, sodass sich Warnungen an die ver\\u00e4nderte Nutzung \\u00fcber die Zeit anpassen.<\\\/p>\\n\n\n<ul>\\n\n\n<li><strong>F\\u00fcr AWS:<\\\/strong><br \\\/>In der AWS Management Console unter <strong>Billing and Cost Management<\\\/strong> k\\u00f6nnen Sie Ausgaben nach Service sowie die gesamten monatlichen Kosten einsehen.<\\\/li>\\n\n\n<li><strong>F\\u00fcr Snowflake:<\\\/strong><br \\\/>In Snowflake unter <strong>Admin \\u2192 Cost Management<\\\/strong> sehen Sie die Nutzung von Credits und W\\u00e4hrung in einem definierten <strong>Zeitraum<\\\/strong>.<\\\/li>\\n<\\\/ul>\\n\n\n<p>Nachdem wir die bisherigen Ausgaben gepr\\u00fcft und Ihre Budgetgrenzen festgelegt hatten, haben wir diese Werte in die Datei <em>locals.tf<\\\/em> eingetragen.<\\\/p>\\n\n\n<p>So stellt die Terraform-Automatisierung sicher, dass beim Monitoring und beim Ausl\\u00f6sen von Warnungen die richtigen Budgetgrenzen verwendet werden.<\\\/p>\",\"content_en_us\":\"\n\n<p>Budgets aren\\u2019t static. They\\u2019re typically calculated based on past spending, so alerts adjust as usage changes over time.<\\\/p>\\n\n\n<ul>\\n\n\n<li><strong>For AWS:<\\\/strong><br \\\/>In the AWS Management Console \\u2192 B<strong>illing and Cost Management<\\\/strong>, you can review spending by service and total monthly costs.<\\\/li>\\n\n\n<li><strong>For Snowflake:<br \\\/><\\\/strong>In Snowflake \\u2192 <strong>Admin \\u2192 Cost Management<\\\/strong>, you can view credit and currency usage over a given <strong>time frame<\\\/strong>.<\\\/li>\\n<\\\/ul>\\n\n\n<p>Once we had reviewed past expenses and determined the budget limits, we entered those values into the <em>locals.tf<\\\/em> file.<\\\/p>\\n\n\n<p>This ensured that the Terraform automation uses the correct budget limits when monitoring and triggering alerts.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"locals {\\n  aws_limits = {\\n    dev  = 10  # insert your AWS budget limit for DEV (integer or float)\\n    prod = 20  # insert your AWS budget limit for PROD (integer or float)\\n  }\\n\\n  snowflake_limits = {\\n    dev  = 100  # insert your Snowflake budget limit for DEV (integer or float)\\n    prod = 200  # insert your Snowflake budget limit for PROD (integer or float)\\n  }\\n\\n  aws_limit        = lookup(local.aws_limits, var.environment)\\n  snowflake_limit  = lookup(local.snowflake_limits, var.environment)\\n}\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-5,4-5\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Arrows.svg\",\"image_alt\":\"Arrow_green\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"3. KAN\\u00c4LE F\\u00dcR BENACHRICHTUNGEN EINRICHTEN\",\"content_en_us\":\"3. SET UP NOTIFICATION CHANNELS\",\"title_element\":\"h3\",\"title_style\":\"h3\"},\"name\":\"H3\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Benachrichtigungen werden \\u00fcber <strong>AWS SNS (Simple Notification Service)<\\\/strong> gesteuert.<\\\/p>\\n\n\n<p>So werden Budgetwarnungen zeitnah an die relevanten Teammitglieder zugestellt.<\\\/p>\\n\n\n<ul>\\n\n\n<li>Mehrere Teammitglieder k\\u00f6nnen das SNS-Topic abonnieren.<\\\/li>\\n\n\n<li>Sobald die Ausgaben die definierte Schwelle \\u00fcberschreiten, wird automatisch eine E-Mail an alle hinterlegten Empf\\u00e4nger:innen gesendet.<\\\/li>\\n<\\\/ul>\\n\n\n<p>Die Terraform-Konfiguration f\\u00fcr diese Benachrichtigungsressourcen wurde definiert in:<\\\/p>\\n\n\n<ul>\\n\n\n<li><em>aws_alarm.tf<\\\/em> \\u2192 verwaltet <strong>AWS Budgetwarnungen<\\\/strong><\\\/li>\\n\n\n<li><em>snowflake_alarm.tf<\\\/em> \\u2192 verwaltet<strong> Snowflake Budgetwarnungen<\\\/strong><\\\/li>\\n<\\\/ul>\\n\n\n<p><strong>Terraform-Code-Beispiel:<\\\/strong><\\\/p>\",\"content_en_us\":\"\n\n<p>Notifications are handled via <strong>AWS SNS (Simple Notification Service)<\\\/strong>.<\\\/p>\\n\n\n<p>This ensures that budget alerts are promptly delivered to the relevant team members.<\\\/p>\\n\n\n<ul>\\n\n\n<li>Multiple team members can subscribe to the SNS topic.<\\\/li>\\n\n\n<li>As soon as spending crosses the defined threshold, an email alert is automatically sent to all configured recipients.<\\\/li>\\n<\\\/ul>\\n\n\n<p>The Terraform configuration for these notification resources is defined in:<\\\/p>\\n\n\n<ul>\\n\n\n<li><em>aws_alarm.tf<\\\/em> \\u2192 handles <strong>AWS budget alerts<\\\/strong><\\\/li>\\n\n\n<li><em>snowflake_alarm.tf<\\\/em> \\u2192 handles <strong>Snowflake budget alerts<\\\/strong><\\\/li>\\n<\\\/ul>\\n\n\n<p><strong>Terraform Code Example:<\\\/strong><\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"resource \\\"aws_sns_topic\\\" \\\"aws_budget_alerts\\\" {\\n  # AWS SNS topic for AWS budget notifications\\n  ...\\n}\\n\\nresource \\\"aws_sns_topic_subscription\\\" \\\"aws_budget_emails\\\" {\\n  # Email subscriptions for AWS budget alerts\\n  ...\\n}\\n\\nresource \\\"aws_sns_topic\\\" \\\"snowflake_budget_alerts\\\" {\\n  # AWS SNS topic for Snowflake budget notifications\\n  ...\\n}\\n\\nresource \\\"aws_sns_topic_subscription\\\" \\\"snowflake_budget_emails\\\" {\\n  # Email subscriptions for Snowflake budget alerts\\n  ...\\n}\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Jede:r Abonnent:in erhielt nach der Bereitstellung der Konfiguration eine <strong>E-Mail-Einladung<\\\/strong>, um das Abonnement zu best\\u00e4tigen.<\\\/p>\\n\n\n<p>Wer Budgetwarnungen erhalten sollte, wurde in der Datei <em>variables.tf<\\\/em> \\u00fcber die Variable <em>budget_alert_emails<\\\/em> festgelegt. Dort wurden die entsprechenden E-Mail-Adressen eingetragen:<\\\/p>\",\"content_en_us\":\"\n\n<p>Each subscriber received an email invitation to confirm their subscription upon deployment of the configuration.<\\\/p>\\n\n\n<p>To define who receives the budget alerts, we added their email addresses to the <em>variables.tf<\\\/em> file under the <em>budget_alert_emails<\\\/em> variable:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"variable \\\"budget_alert_emails\\\" {\\n  type    = list(string)\\n  default = [\\n    \\\"your-first-email-address\\\",\\n    \\\"your-second-email-address\\\",\\n  ]\\n}\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Es lassen sich beliebig viele Empf\\u00e4nger:innen hinzuf\\u00fcgen.<\\\/p>\\n\n\n<p>Beim Ausf\\u00fchren von Terraform erhalten alle gelisteten Empf\\u00e4nger:innen Best\\u00e4tigungs-E-Mails von AWS SNS und m\\u00fcssen die Einladungen annehmen, um Benachrichtigungen zu erhalten.<\\\/p>\",\"content_en_us\":\"\n\n<p>It is possible to include as many recipients as needed.<\\\/p>\\n\n\n<p>When Terraform is applied, all listed recipients will receive confirmation emails from AWS SNS and must accept the invitations to start receiving alerts.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-5,4-5\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Arrows.svg\",\"image_alt\":\"Arrow_green\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"4. AWS BUDGET KONFIGURIEREN\",\"content_en_us\":\"4. CONFIGURE AWS BUDGET\",\"title_element\":\"h3\",\"title_style\":\"h3\"},\"name\":\"H3\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p><strong>AWS Budgets<\\\/strong> \\u00fcberwacht fortlaufend die monatlichen AWS-Kosten und vergleicht sie mit dem Budget.<\\\/p>\\n\n\n<p>Wir haben die Warnschwelle auf <strong>130 Prozent<\\\/strong> des definierten Budgetlimits gesetzt. Dieser Puffer hilft, ungew\\u00f6hnliche Kostenspr\\u00fcnge zu erkennen und Fehlalarme zu minimieren.<\\\/p>\",\"content_en_us\":\"\n\n<p><strong>AWS Budgets<\\\/strong> continuously tracks monthly AWS costs and compares them to the budget.<\\\/p>\\n\n\n<p>We set the alert threshold at <strong>130%<\\\/strong> of the defined budget limit. This buffer helps catch unusual cost jumps while minimizing false alarms.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"resource \\\"aws_budgets_budget\\\" \\\"aws_monthly_cost_budget\\\" { ...\\n\\n  notification {\\n    comparison_operator = \\\"GREATER_THAN\\\"\\n    threshold           = 130\\n    threshold_type      = \\\"PERCENTAGE\\\"\\n    notification_type   = \\\"ACTUAL\\\"\\n\\n    subscriber_sns_topic_arns = [\\n      aws_sns_topic.aws_budget_alerts.arn\\n    ]\\n  }}\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Sobald die Kosten 130 Prozent des definierten Budgetlimits \\u00fcberschreiten, l\\u00f6st AWS Budgets eine Benachrichtigung aus und setzt sich anschlie\\u00dfend f\\u00fcr den n\\u00e4chsten Monat zur\\u00fcck.<\\\/p>\",\"content_en_us\":\"\n\n<p>Whenever costs exceed 130% of the defined budget limit, AWS Budgets triggers a notification and then resets for the next month.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-5,4-5\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Arrows.svg\",\"image_alt\":\"Arrow_green\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"5. SNOWFLAKE KOSTEN MONITOREN\",\"content_en_us\":\"5. MONITOR SNOWFLAKE COSTS\",\"title_element\":\"h3\",\"title_style\":\"h3\"},\"name\":\"H3\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Um Snowflake-Kosten automatisch zu \\u00fcberwachen, fragt eine <strong>Lambda-Funktion<\\\/strong> die Nutzungsdaten t\\u00e4glich ab und sendet eine Warnung, sobald die Kosten die definierte Schwelle \\u00fcberschreiten.<\\\/p>\",\"content_en_us\":\"\n\n<p>To automatically monitor Snowflake costs, a <strong>Lambda function<\\\/strong> queries Snowflake usage data daily and sends an alert if costs exceed the alert threshold.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"5.1. Snowflake-User und -Rolle anlegen\",\"content_en_us\":\"5.1. Create a Snowflake User and Role\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Zun\\u00e4chst haben wir einen dedizierten Snowflake-User und eine passende Rolle angelegt, damit AWS Lambda sicher verbinden und Kostendaten abfragen konnte.<\\\/p>\\n\n\n<p>Um dies zu tun, haben wir die folgenden SQL-Befehle direkt in <strong>Snowflake<\\\/strong> ausgef\\u00fchrt:<\\\/p>\",\"content_en_us\":\"\n\n<p>First, we created a dedicated Snowflake user and role so that AWS Lambda could securely connect and query cost data.<\\\/p>\\n\n\n<p>To do it, we ran the following SQL commands directly in <strong>Snowflake<\\\/strong>:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"CREATE ROLE IF NOT EXISTS BILLING_MONITOR;\\n\\nGRANT IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE TO ROLE BILLING_MONITOR;\\nGRANT USAGE ON WAREHOUSE COMPUTE_WH TO ROLE BILLING_MONITOR;\\n\\nCREATE USER IF NOT EXISTS LAMBDA_SNOWFLAKE_COST\\n  PASSWORD = ''\\n  DEFAULT_ROLE = BILLING_MONITOR\\n  DEFAULT_WAREHOUSE = COMPUTE_WH\\n  MUST_CHANGE_PASSWORD = FALSE;\\n\\nGRANT ROLE BILLING_MONITOR TO USER LAMBDA_SNOWFLAKE_COST;\\n\\nALTER USER LAMBDA_SNOWFLAKE_COST SET RSA_PUBLIC_KEY='ABCD';\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<ul>\\n\n\n<li>Der <strong>Public Key<\\\/strong> wurde in Snowflake gespeichert (<code data-start=\\\"167\\\" data-end=\\\"183\\\">RSA_PUBLIC_KEY<\\\/code>).<\\\/li>\\n\n\n<li>Der <strong>Private Key<\\\/strong> wurde sicher im AWS Systems Manager Parameter Store hinterlegt (siehe n\\u00e4chster Schritt).<\\\/li>\\n<\\\/ul>\",\"content_en_us\":\"\n\n<ul>\\n\n\n<li data-start=\\\"122\\\" data-end=\\\"187\\\">\\n\n\n<p data-start=\\\"124\\\" data-end=\\\"187\\\">The <strong data-start=\\\"128\\\" data-end=\\\"142\\\">public key<\\\/strong> is stored in Snowflake (<code data-start=\\\"167\\\" data-end=\\\"183\\\">RSA_PUBLIC_KEY<\\\/code>).<\\\/p>\\n<\\\/li>\\n\n\n<li data-start=\\\"122\\\" data-end=\\\"187\\\">\\n\n\n<p data-start=\\\"124\\\" data-end=\\\"187\\\">The <strong data-start=\\\"194\\\" data-end=\\\"209\\\">private key<\\\/strong> is kept securely in <strong data-start=\\\"230\\\" data-end=\\\"269\\\">AWS Systems Manager Parameter Store<\\\/strong> (see next step).<\\\/p>\\n<\\\/li>\\n<\\\/ul>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"5.2 Anmeldedaten im AWS Parameter Store speichern\",\"content_en_us\":\"5.2 Store Credentials in AWS Parameter Store\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p data-start=\\\"891\\\" data-end=\\\"1012\\\">Anschlie\\u00dfend erstellten wir im <strong data-start=\\\"921\\\" data-end=\\\"960\\\">AWS Systems Manager Parameter Store<\\\/strong> einen Eintrag mit dem Namen <code data-start=\\\"989\\\" data-end=\\\"1011\\\">snowflake_cost_alarm<\\\/code>.<\\\/p>\\n\n\n<p data-start=\\\"1014\\\" data-end=\\\"1141\\\">In diesem Parameter werden die Snowflake-Zugangsdaten sicher gespeichert (User, Account, Rolle, Warehouse und Private Key).<\\\/p>\\n\n\n<p data-start=\\\"1143\\\" data-end=\\\"1203\\\">Beispielstruktur (Werte aus Sicherheitsgr\\u00fcnden weggelassen):<\\\/p>\",\"content_en_us\":\"\n\n<p data-start=\\\"173\\\" data-end=\\\"272\\\">Next, we created an entry in <strong data-start=\\\"198\\\" data-end=\\\"237\\\">AWS Systems Manager Parameter Store<\\\/strong> <strong data-start=\\\"238\\\" data-end=\\\"248\\\">called<\\\/strong> <code data-start=\\\"249\\\" data-end=\\\"271\\\">snowflake_cost_alarm<\\\/code>.<\\\/p>\\n\n\n<p data-start=\\\"274\\\" data-end=\\\"396\\\">This parameter securely stores the Snowflake connection credentials (user, account, role, warehouse, and private key).<\\\/p>\\n\n\n<p data-start=\\\"398\\\" data-end=\\\"446\\\">Example structure (values omitted for security):<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"{\\n  \\\"user\\\": \\\"lambda_snowflake_cost\\\",\\n  \\\"account\\\": \\\"your-snowflake-account\\\",\\n  \\\"warehouse\\\": \\\"default_wh\\\",\\n  \\\"role\\\": \\\"billing_monitor\\\",\\n  \\\"private_key\\\": \\\"-----BEGIN PRIVATE KEY-----\\\\nABCDE...\\\"\\n}\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>So kann die Lambda-Funktion die Zugangsdaten dynamisch abrufen, ohne sensible Informationen hart im Code zu hinterlegen.<\\\/p>\",\"content_en_us\":\"\n\n<p>This allows the Lambda function to retrieve the connection credentials dynamically, without hard-coding sensitive information in the code.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"5.3 Lambda-Funktion zum Abfragen der Snowflake-Nutzung\",\"content_en_us\":\"5.3 Lambda Function to Query Snowflake Usage\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p data-start=\\\"707\\\" data-end=\\\"768\\\">Eine <strong data-start=\\\"712\\\" data-end=\\\"731\\\">Lambda-Funktion<\\\/strong> pr\\u00fcft t\\u00e4glich die Snowflake-Nutzung.<\\\/p>\\n\n\n<p data-start=\\\"770\\\" data-end=\\\"910\\\">Sie fragt die Tabelle <code data-start=\\\"792\\\" data-end=\\\"834\\\">SNOWFLAKE.ACCOUNT_USAGE.METERING_HISTORY<\\\/code> ab, um <strong data-start=\\\"842\\\" data-end=\\\"849\\\">den<\\\/strong> gesamten Credit-Verbrauch des aktuellen Monats zu berechnen.<\\\/p>\\n\n\n<p data-start=\\\"912\\\" data-end=\\\"938\\\"><strong data-start=\\\"912\\\" data-end=\\\"938\\\">Python-Code-Auszug:<\\\/strong><\\\/p>\",\"content_en_us\":\"\n\n<p data-start=\\\"123\\\" data-end=\\\"181\\\">A <strong data-start=\\\"125\\\" data-end=\\\"144\\\">Lambda function<\\\/strong> runs daily to check Snowflake usage.<\\\/p>\\n\n\n<p data-start=\\\"183\\\" data-end=\\\"315\\\">It queries the <code data-start=\\\"198\\\" data-end=\\\"240\\\">SNOWFLAKE.ACCOUNT_USAGE.METERING_HISTORY<\\\/code> table to calculate the total credit consumption for the current month.<\\\/p>\\n\n\n<p data-start=\\\"317\\\" data-end=\\\"341\\\"><strong data-start=\\\"317\\\" data-end=\\\"341\\\">Python code snippet:<\\\/strong><\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"first_day_of_current_month = today.replace(day=1)\\n\\ncur.execute(f\\\"\\\"\\\"\\n    SELECT SUM(CREDITS_USED) AS total_credits\\n    FROM SNOWFLAKE.ACCOUNT_USAGE.METERING_HISTORY\\n    WHERE DATE_TRUNC('month', START_TIME)::DATE = '{first_day_of_current_month}'\\n\\\"\\\"\\\")\\nresult = cur.fetchone()\\ncredits_used = result[0] or 0\\n\\nlogging.info (f\\\"Credits used are {credits_used} for this month {first_day_of_month}\\\")\\n\\ncost_usd = float(credits_used) * 2.60\\nthreshold = float(snowflake_limit) * 1.30\\n\\n# Compare against the threshold and send an SNS alert if exceeded\\nif cost_usd > threshold:\\n    sns = boto3.client(\\\"sns\\\")\\n    sns.publish(\\n        TopicArn=topic_arn,\\n        Subject=f\\\"Snowflake cost alert for {environment} environment\\\",\\n        Message=f\\\"Snowflake cost for {year_month} month is ${cost_usd:.2f}, exceeding threshold ${threshold:.2f}.\\\"\\n    )\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Die Lambda-Funktion ruft die Anmeldedaten automatisch aus dem <strong data-start=\\\"1002\\\" data-end=\\\"1041\\\">AWS Systems Manager Parameter Store<\\\/strong> ab, stellt per schl\\u00fcsselbasierter Authentifizierung eine Verbindung zu Snowflake her und ver\\u00f6ffentlicht Warnungen im konfigurierten SNS-Topic, wenn die Nutzung die Warnschwelle \\u00fcberschreitet, die als 130 Prozent des in <strong data-start=\\\"1269\\\" data-end=\\\"1284\\\"><code data-start=\\\"1271\\\" data-end=\\\"1282\\\">locals.tf<\\\/code><\\\/strong> definierten Budgetlimits berechnet wird.<\\\/p>\",\"content_en_us\":\"\n\n<p>The Lambda function automatically retrieves credentials from the <strong data-start=\\\"408\\\" data-end=\\\"447\\\">AWS Systems Manager Parameter Store<\\\/strong>, connects to Snowflake using key-based authentication, and publishes alerts to the configured SNS topic if usage exceeds the alert threshold, which is calculated as 130% of the budget limit defined in <strong data-start=\\\"657\\\" data-end=\\\"672\\\"><code data-start=\\\"659\\\" data-end=\\\"670\\\">locals.tf<\\\/code><\\\/strong>.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"5.4 T\\u00e4gliche Ausf\\u00fchrung \\u00fcber EventBridge planen\",\"content_en_us\":\"5.4 Schedule Daily Execution via EventBridge\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Die Lambda-Funktion wird t\\u00e4glich durch eine <strong>Amazon EventBridge-Regel<\\\/strong> um 10:00 UTC ausgel\\u00f6st.<\\\/p>\",\"content_en_us\":\"\n\n<p>The Lambda function is triggered by an <strong>Amazon EventBridge rule<\\\/strong> at 10:00 UTC each day.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"# ---------- EventBridge Rule ----------\\nresource \\\"aws_cloudwatch_event_rule\\\" \\\"daily\\\" {\\n  name                = \\\"snowflake-cost-checker-daily\\\"\\n  description         = \\\"Triggers Snowflake cost checker Lambda every day at 10:00 UTC\\\"\\n  schedule_expression = \\\"cron(0 10 * * ? *)\\\"\\n}\\n\\n# ---------- EventBridge Target ----------\\nresource \\\"aws_cloudwatch_event_target\\\" \\\"lambda_trigger\\\" {\\n  rule      = aws_cloudwatch_event_rule.daily.name\\n  target_id = \\\"SnowflakeCostCheckerLambda\\\"\\n  arn       = aws_lambda_function.snowflake_cost_checker.arn\\n}\"}},{\"type\":\"headline\",\"props\":{\"content\":\"5.5 Berechtigungen\",\"content_en_us\":\"5.5 Permissions\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Die <strong>Lambda-Ausf\\u00fchrungsrolle<\\\/strong> umfasst die erforderlichen Berechtigungen, um:<\\\/p>\\n\n\n<ul>\\n\n\n<li>Parameter aus dem <strong>AWS Systems Manager Parameter Store (SSM Parameter Store)<\\\/strong> abzurufen<\\\/li>\\n\n\n<li>Nachrichten an <strong>AWS SNS Topics<\\\/strong> zu ver\\u00f6ffentlichen<\\\/li>\\n\n\n<li>Mit Amazon <strong>EventBridge<\\\/strong> f\\u00fcr terminierte Ausl\\u00f6sungen zu interagieren<\\\/li>\\n<\\\/ul>\\n\n\n<p>Diese IAM-Berechtigungen (Identity and Access Management) gew\\u00e4hrleisten einen sicheren, automatisierten Betrieb des Monitoring-Workflows.<\\\/p>\",\"content_en_us\":\"\n\n<p>The <strong>Lambda execution role<\\\/strong> includes the required permissions to:<\\\/p>\\n\n\n<ul>\\n\n\n<li>Retrieve parameters from <strong>AWS Systems Manager Parameter Store (SSM Parameter Store)<\\\/strong><\\\/li>\\n\n\n<li>Publish messages to <strong>AWS SNS topics<\\\/strong><\\\/li>\\n\n\n<li>Interact with <strong>Amazon EventBridge<\\\/strong> for scheduled triggers<\\\/li>\\n<\\\/ul>\\n\n\n<p>These IAM permissions (Identity and Access Management) ensure the secure, automated operation of the monitoring workflow.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-5,4-5\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/Arrows.svg\",\"image_alt\":\"Arrow_green\",\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"6. INFRASTRUKTUR MIT TERRAFORM BEREITSTELLEN\",\"content_en_us\":\"6. DEPLOYING THE INFRASTRUCTURE WITH TERRAFORM\",\"title_element\":\"h3\",\"title_style\":\"h3\"},\"name\":\"H3\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Sobald Terraform-Code, Budgets, SNS-Themen und Lambda-Funktionen konfiguriert waren, konnten wir die Monitoring-Pipeline bereitstellen.<\\\/p>\\n\n\n<p>Der Bereitstellungs-Workflow war f\\u00fcr <strong>DEV<\\\/strong> und <strong>PROD<\\\/strong> identisch. Der einzige Unterschiede betreffen die Backend-Konfiguration und die Umgebungsvariable.<\\\/p>\",\"content_en_us\":\"\n\n<p>Once the Terraform code, budgets, SNS topics, and Lambda functions were configured, we could deploy the monitoring pipeline.<\\\/p>\\n\n\n<p>The deployment workflow was identical for <strong>DEV<\\\/strong> and <strong>PROD<\\\/strong> environments, with the only difference being the backend configuration and the environment variable.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"6.1 Terraform installieren\",\"content_en_us\":\"6.1 Install Terraform\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Wenn Sie diese Schritte nachvollziehen m\\u00f6chten, stellen Sie sicher, dass Terraform auf Ihrem Rechner installiert ist. Sie k\\u00f6nnen es von der offiziellen Terraform-Website herunterladen und den Installationsanweisungen f\\u00fcr Ihr Betriebssystem folgen.<\\\/p>\\n\n\n<p>\\u00dcberpr\\u00fcfen Sie die Installation:<\\\/p>\",\"content_en_us\":\"\n\n<p>If you would like to try it out yourself, please ensure that Terraform is installed on your machine. You can download it from the official Terraform website and follow the installation instructions for your operating system.<\\\/p>\\n\n\n<p>Verify the installation:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform version\"}},{\"type\":\"headline\",\"props\":{\"content\":\"6.2 Terraform initialisieren\",\"content_en_us\":\"6.2 Initialize Terraform\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Initialisieren Sie Terraform in Ihrem Arbeitsverzeichnis. Dadurch werden alle ben\\u00f6tigten Module und Provider geladen und das Remote-Backend eingerichtet.<\\\/p>\\n\n\n<p>F\\u00fcr die <strong>DEV<\\\/strong>-Umgebung:<\\\/p>\",\"content_en_us\":\"\n\n<p>Initialize Terraform in your working directory. This downloads all required modules and providers and sets up the remote backend.<\\\/p>\\n\n\n<p>For the <strong>DEV<\\\/strong> environment:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform init -backend-config=\\\"backend\\\/dev.tfbackend\\\" -migrate-state\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>F\\u00fcr die <strong>PROD<\\\/strong>-Umgebung \\u00e4ndern Sie einfach die Backend-Datei:<\\\/p>\",\"content_en_us\":\"\n\n<p>For the <strong>PROD<\\\/strong> environment, simply change the backend file:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform init -backend-config=\\\"backend\\\/prod.tfbackend\\\" -migrate-state\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Die Markierung<strong data-start=\\\"3012\\\" data-end=\\\"3032\\\"><code data-start=\\\"3014\\\" data-end=\\\"3030\\\">-migrate-state<\\\/code><\\\/strong> stellt sicher, dass der State bei Bedarf korrekt in den konfigurierten S3-Bucket migriert wird.<\\\/p>\",\"content_en_us\":\"\n\n<p>The <strong data-start=\\\"1185\\\" data-end=\\\"1205\\\"><code data-start=\\\"1187\\\" data-end=\\\"1203\\\">-migrate-state<\\\/code><\\\/strong> flag ensures that the state is properly migrated to the configured S3 bucket if needed.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"6.3 Geplante \\u00c4nderungen pr\\u00fcfen\",\"content_en_us\":\"6.3 Review Planned Changes\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Vor der Anwendung pr\\u00fcfen Sie bitte, welche Ressourcen erstellt, ge\\u00e4ndert oder gel\\u00f6scht werden:<\\\/p>\",\"content_en_us\":\"\n\n<p>Before applying, check which resources will be created, modified, or destroyed:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform plan -var environment=\\\"dev\\\"\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>F\\u00fcr <strong>PROD<\\\/strong>:<\\\/p>\",\"content_en_us\":\"\n\n<p>For <strong>PROD<\\\/strong>:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform plan -var environment=\\\"prod\\\"\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Pr\\u00fcfen Sie die Ausgabe sorgf\\u00e4ltig, damit die \\u00c4nderungen Ihren Erwartungen entsprechen.<\\\/p>\",\"content_en_us\":\"\n\n<p>Carefully review the plan output to ensure that the changes align with your expectations.<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"6.4 \\u00c4nderungen anwenden\",\"content_en_us\":\"6.4 Apply Changes\",\"title_element\":\"h4\",\"title_style\":\"h4\"},\"name\":\"H4\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Sobald der Plan passt, wenden Sie die \\u00c4nderungen an:<\\\/p>\",\"content_en_us\":\"\n\n<p>Once the plan looks correct, deploy the changes:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform apply -var environment=\\\"dev\\\"\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Best\\u00e4tigen Sie die Ausf\\u00fchrung, wenn Sie dazu aufgefordert werden.<\\\/p>\\n\n\n<p>F\\u00fcr <strong>PROD<\\\/strong> f\\u00fchren Sie aus:<\\\/p>\",\"content_en_us\":\"\n\n<p>Confirm the apply action when prompted.<\\\/p>\\n\n\n<p>For <strong>PROD<\\\/strong>, run:<\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"terraform apply -var environment=\\\"prod\\\"\"}},{\"type\":\"button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"default\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"Kompletten Code im GitHub Repository anschauen\",\"content_en_us\":\"View the whole code in the GitHub repository\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon\":\"server\",\"icon_align\":\"left\",\"link\":\"https:\\\/\\\/github.com\\\/hopmannmarketinganalytics\\\/aws-snowflake-costs-monitoring\",\"link_en_us\":\"https:\\\/\\\/github.com\\\/hopmannmarketinganalytics\\\/aws-snowflake-costs-monitoring\",\"link_title\":\"Kompletten Code im GitHub Repository anschauen\",\"link_title_en_us\":\"View the whole code in the GitHub repository\"}}]}]}]}],\"name\":\"Case Study Vorgehensweise\"},{\"type\":\"section\",\"props\":{\"class\":\"color-mattgruen\",\"image_position\":\"center-center\",\"padding_remove_bottom\":false,\"padding_remove_top\":false,\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"\n\n<p>04 Key Takeaways<\\\/p>\",\"content_en_us\":\"04 Key Takeaways\",\"title_element\":\"h2\",\"title_style\":\"h2\"}}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-5\"},\"children\":[{\"type\":\"image\",\"props\":{\"height_expand\":false,\"image\":\"wp-content\\\/uploads\\\/Hopmann-Line-Dot-Long.svg\",\"image_alt\":\"Hopmann Line Dot Long\",\"image_svg_color\":\"emphasis\",\"image_viewport_height\":false,\"margin\":\"default\",\"position\":\"relative\",\"position_left\":\"120\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"4-5\"},\"children\":[{\"type\":\"text\",\"props\":{\"class\":\"color-mattgruen\",\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Proaktives Monitoring von Cloud-Kosten ist nicht nur Technik, sondern vor allem finanzielle Steuerung.<\\\/p>\\n\n\n<p>Mit automatisierten Warnungen f\\u00fcr AWS und Snowflake k\\u00f6nnen Unternehmen:<\\\/p>\\n\n\n<ul>\\n\n\n<li>Unerwartete Budget\\u00fcberschreitungen vermeiden<\\\/li>\\n\n\n<li>Zeit der Engineering-Teams f\\u00fcr manuelle Pr\\u00fcfungen einsparen<\\\/li>\\n\n\n<li>Cloud-Kosten planbarer machen und damit Planung und Ressourceneinsatz verbessern<\\\/li>\\n<\\\/ul>\\n\n\n<p><strong>Kurz gesagt: den \\u00dcberblick haben, Geld sparen und die Kontrolle behalten.<\\\/strong><\\\/p>\",\"content_en_us\":\"\n\n<p>Proactive monitoring of cloud costs isn\\u2019t just about technology; it\\u2019s about financial control.<\\\/p>\\n\n\n<p>By automating alerts for AWS and Snowflake, companies can:<\\\/p>\\n\n\n<ul data-start=\\\"237\\\" data-end=\\\"415\\\">\\n\n\n<li data-start=\\\"237\\\" data-end=\\\"271\\\">\\n\n\n<p data-start=\\\"239\\\" data-end=\\\"271\\\">Avoid unexpected budget overruns<\\\/p>\\n<\\\/li>\\n\n\n<li data-start=\\\"272\\\" data-end=\\\"329\\\">\\n\n\n<p data-start=\\\"274\\\" data-end=\\\"329\\\">Save engineering time previously spent on manual checks<\\\/p>\\n<\\\/li>\\n\n\n<li data-start=\\\"330\\\" data-end=\\\"415\\\">\\n\n\n<p data-start=\\\"332\\\" data-end=\\\"415\\\">Make cloud costs more predictable, enabling better planning and resource allocation<\\\/p>\\n<\\\/li>\\n<\\\/ul>\\n\n\n<p data-start=\\\"417\\\" data-end=\\\"468\\\"><strong>In short: monitor, save money, and stay in control.<\\\/strong><\\\/p>\",\"margin\":\"default\",\"text_style\":\"large\"}}]}],\"props\":{\"layout\":\"1-5,4-5\"}}],\"name\":\"Case Study Herausforderungen\"},{\"type\":\"section\",\"props\":{\"class\":\"training-detail-company\",\"image_position\":\"center-center\",\"padding_remove_bottom\":false,\"padding_remove_top\":false,\"style\":\"muted\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"05 Ergebnisse\",\"content_en_us\":\"05 Results\",\"title_element\":\"h2\",\"title_style\":\"h2\"}}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"html\",\"props\":{\"content\":\" \n\n<div class=\\\"floating-box-wrapper\\\">\\n\\n                  \n\n<div class=\\\"floating-box is-white\\\" id=\\\"umwelt\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">AWS Kosten<br \/>werden fortlaufend \\u00fcberwacht<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-blush\\\" id=\\\"bildung\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Snowflake-Kosten<br \/>werden t\\u00e4glich gepr\\u00fcft<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-grey\\\" id=\\\"wohlbefinden\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Echtzeit-Nachrichten<br \/>bei Abweichungen<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-cool-grey\\\" id=\\\"frauen\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Weniger manuelle<br \/>Dashboard-Checks<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-white\\\" id=\\\"energie\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Besser Planbare<br \/>Budgets<\\\/h4>\\n                  <\\\/div>\\n     \n\n<div class=\\\"floating-box is-green\\\" id=\\\"konsum\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Geringerer<br \/>operativer Aufwand<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-white\\\" id=\\\"menschen\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Transparenz und<br \/>finanzielle Steuerung<\\\/h4>\\n                  <\\\/div>\\n                <\\\/div>\",\"content_en_us\":\" \n\n<div class=\\\"floating-box-wrapper\\\">\\n\\n                  \n\n<div class=\\\"floating-box is-white\\\" id=\\\"umwelt\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">AWS costs<br \/>are continously monitored<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-blush\\\" id=\\\"bildung\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Snowflake costs<br \/>are checked daily<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-grey\\\" id=\\\"wohlbefinden\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Real-time notifications<br \/>for anomalies<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-cool-grey\\\" id=\\\"frauen\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Fewer manual<br \/>dashboard checks<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-white\\\" id=\\\"energie\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">More predictable<br \/>budgets<\\\/h4>\\n                  <\\\/div>\\n     \n\n<div class=\\\"floating-box is-green\\\" id=\\\"konsum\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Lower<br \/>operational effort<\\\/h4>\\n                  <\\\/div>\\n\\n                  \n\n<div class=\\\"floating-box is-white\\\" id=\\\"menschen\\\">\\n                    \n\n<h4 class=\\\"uk-h2\\\">Transparency and<br \/>financial control<\\\/h4>\\n                  <\\\/div>\\n                <\\\/div>\",\"yooessentials_access_conditions\":[],\"yooessentials_access_mode\":\"AND\"}}]}]}],\"name\":\"Case Study Ergebnisse\"},{\"type\":\"section\",\"props\":{\"animation\":\"slide-bottom-medium\",\"animation_delay\":\"50\",\"image_position\":\"center-center\",\"padding_remove_bottom\":false,\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"props\":{\"margin\":\"large\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"06 Die richtige E-Mail zur richtigen Zeit\",\"content_en_us\":\"06 The right email at the right time\",\"margin\":\"small\",\"margin_remove_top\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-3,2-3\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-3\"},\"children\":[{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/HMA_Team_Federico-Erroi.jpg\",\"image_alt\":\"HMA_Team_Federico-Erroi\",\"image_height\":200,\"image_svg_color\":\"emphasis\",\"margin\":\"default\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"2-3\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>\\u201cUns ist wichtig, dass Teams durch unsere Hilfe die \\u00dcbersicht behalten k\\u00f6nnen. Benachrichtigungen sollen nur dann kommen, wenn sie wirklich n\\u00f6tig sind. Darum setzen wir die Schwelle bei 130 Prozent. Warnungen bei 70 Prozent f\\u00fchren oft zur Gew\\u00f6hnung. Eine pr\\u00e4zise E-Mail im richtigen Moment verhindert Eskalation und erm\\u00f6glicht rechtzeitiges Gegensteuern, bevor die Rechnung \\u00fcberrascht.\\u201d<\\\/p>\",\"content_en_us\":\"\n\n<p>\\u201cIt is important to us that teams can maintain an overview with our help. Notifications should only be sent when they are really necessary. That's why we set the threshold at 130 percent. Warnings at 70 percent often lead to a habit of ignoring them. A precise email at the right moment prevents escalation and enables timely countermeasures to be taken before the bill comes as a surprise.\\u201d<\\\/p>\",\"margin\":\"default\",\"text_style\":\"lead\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Federico Erroi, Senior Data Engineering Specialist<br \\\/>Hopmann Marketing Analytics<\\\/p>\",\"content_en_us\":\"\n\n<p>Federico Erroi, Senior Data Engineering Specialist<br \\\/>Hopmann Marketing Analytics<\\\/p>\",\"margin\":\"default\"}}]}]}],\"name\":\"Case Study Template Zitat\"},{\"type\":\"section\",\"props\":{\"animation\":\"slide-bottom-medium\",\"animation_delay\":\"50\",\"class\":\"color-gruen\",\"id\":\"kontakt\",\"image_position\":\"center-center\",\"style\":\"muted\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\",\"yooessentials_form\":{\"state\":true,\"after_submit_actions\":[{\"id\":\"7D0ABD\",\"type\":\"email\",\"props\":{\"html\":true,\"attachments\":[null],\"submitted_attachments\":[null],\"subject\":\"Kontaktanfrage von Case Study\",\"recipients\":\"kontakt@marketinganalytics.de\",\"body\":\"\n\n<p><strong>Name:<\\\/strong> {Name}<br \\\/><strong>Unternehmen:<\\\/strong> {Unternehmensname}<br \\\/><strong>E-Mail:<\\\/strong> {Email}<br \\\/><br \\\/><strong>Nachricht:\\u00a0<\\\/strong><br \\\/>{Nachricht}<\\\/p>\\n\n\n<p><strong>Lead-Quelle:<\\\/strong> Case Study <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/projects\\\/case-study-cloud-cost-monitoring-aws-snowflake\\\/\\\">Cloud Cost Monitoring<\\\/a><\\\/p>\",\"from\":\"kontakt@marketinganalytics.de\",\"from_name\":\"HOPMANN MARKETING ANALYTICS\",\"bccs\":\"susanne.ullrich@marketinganalytics.de\"}},{\"id\":\"FBCC5A\",\"type\":\"redirect\",\"props\":{\"redirect\":\"\\\/de\\\/anfrage-bestaetigung\\\/\",\"yooessentials_access_conditions\":[{\"type\":\"yooessentials_access_language\",\"id\":\"ci_B5352E\",\"props\":{\"languages\":[\"de_DE\"]}}],\"yooessentials_access_mode\":\"AND\",\"name\":\"Umleitung DE\"}},{\"id\":\"FBCC5A\",\"type\":\"redirect\",\"props\":{\"redirect\":\"anfrage-bestaetigung\\\/\",\"yooessentials_access_conditions\":[{\"type\":\"yooessentials_access_language\",\"id\":\"ci_09939C\",\"props\":{\"languages\":[\"en_US\"]}}],\"yooessentials_access_mode\":\"AND\",\"name\":\"Umleitung EN\"}}],\"html5validation\":true,\"reset_after_submit\":true,\"override_action_url\":false,\"action_method\":\"POST\",\"errors_display_modal\":false}},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"headline\",\"props\":{\"content\":\"\n\n<p>Neugierig, wie dieser Ansatz f\\u00fcr Ihr Team funktionieren k\\u00f6nnte? Melden Sie sich, wir teilen gern mehr Einblicke.<\\\/p>\",\"content_en_us\":\"Curious how this approach could work for your team? Reach out \\u2014 we\\u2019d love to share more.\",\"margin\":\"medium\",\"margin_remove_top\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}}]}]},{\"type\":\"row\",\"props\":{\"layout\":\"1-4,3-4\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-4\"},\"children\":[{\"type\":\"panel\",\"props\":{\"block_align\":\"center\",\"class\":\"badge-bubble rotate-left bg-color-mattgruen\",\"content_column_breakpoint\":\"m\",\"css\":\".el-element {\\n\\tmargin-top: 0;\\n}\",\"height_expand\":false,\"icon_width\":80,\"image_align\":\"top\",\"image_grid_breakpoint\":\"m\",\"image_grid_width\":\"1-2\",\"image_svg_color\":\"emphasis\",\"link_style\":\"default\",\"link_text\":\"Read more\",\"margin\":\"default\",\"maxwidth\":\"small\",\"meta_align\":\"below-title\",\"meta_element\":\"div\",\"meta_style\":\"text-meta\",\"panel_style\":\"tile-primary\",\"text_align\":\"center\",\"title\":\"KLINGT GUT?\",\"title_align\":\"top\",\"title_element\":\"div\",\"title_en_us\":\"Hello!\",\"title_grid_breakpoint\":\"m\",\"title_grid_width\":\"1-2\",\"title_hover_style\":\"reset\",\"title_style\":\"h3\",\"visibility\":\"l\"},\"name\":\"Badge Bubble\"}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"3-4\"},\"children\":[{\"type\":\"yooessentials_form_input\",\"props\":{\"control_icon_align\":\"left\",\"css\":\".el-element input {\\n\\tbackground-color: white;\\n}\",\"fullwidth\":true,\"grid_column_gap\":\"small\",\"grid_columns_number\":\"auto\",\"grid_row_gap\":\"small\",\"margin\":\"default\",\"show_icon\":true,\"show_label\":true},\"children\":[{\"type\":\"yooessentials_form_input_text\",\"props\":{\"control_id_inherit\":true,\"control_name\":\"Name\",\"control_placeholder\":\"Name\",\"control_placeholder_en_us\":\"Name\",\"control_required\":true}},{\"type\":\"yooessentials_form_input_email\",\"props\":{\"control_id_inherit\":true,\"control_name\":\"Email\",\"control_placeholder\":\"E-Mail Adresse\",\"control_placeholder_en_us\":\"E-Mail\",\"control_required\":true}}]},{\"type\":\"yooessentials_form_textarea\",\"props\":{\"control_id_inherit\":true,\"control_name\":\"Nachricht\",\"control_placeholder\":\"Ihre Nachricht (optional)\",\"control_placeholder_en_us\":\"Your message (optional)\",\"control_rows\":3,\"css\":\".el-element textarea {\\n\\tbackground-color: white;\\n}\",\"margin\":\"default\"}},{\"type\":\"fragment\",\"props\":{\"margin\":\"default\"},\"children\":[{\"type\":\"row\",\"props\":{\"layout\":\"2-3,1-3\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"2-3\"},\"children\":[{\"type\":\"yooessentials_form_checkbox\",\"props\":{\"control_id_inherit\":true,\"control_layout\":\"vertical\",\"control_name\":\"consent\",\"control_required\":true,\"css\":\".el-element .uk-checkbox:not(:checked) {\\n\\tbackground-color: white;\\n}\",\"margin\":\"default\"},\"children\":[{\"type\":\"yooessentials_form_option\",\"props\":{\"disabled\":false,\"text\":\"\n\n<p>Ich habe die <a href=\\\"https:\\\/\\\/www.marketinganalytics.de\\\/datenschutz\\\/\\\">Datenschutzerkl\\u00e4rung<\\\/a> gelesen <span>und stimme der Speicherung und Verarbeitung meiner pers\\u00f6nlichen Daten durch die Hopmann Marketing Analytics GmbH zu. Ihre Kontaktinformationen werden ben\\u00f6tigt, um Sie bez\\u00fcglich Ihrer Anfrage zu kontaktieren. Sie k\\u00f6nnen sich jederzeit von unseren Benachrichtigungen abmelden.<\\\/span><\\\/p>\",\"text_en_us\":\"\n\n<p>I have read the <a href=\\\"https:\\\/\\\/www.marketinganalytics.de\\\/en\\\/privacy-policy\\\/\\\">privacy policy<\\\/a> and agree to the storage and processing of my personal data by Hopmann Marketing Analytics GmbH. Your contact information is required to contact you regarding your request. You can unsubscribe from our notifications at any time.<\\\/p>\",\"value\":\"Datenschutz\"}}]},{\"type\":\"yooessentials_form_honeypot\",\"props\":{\"control_min_seconds\":5,\"control_name\":\"user\"}}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_medium\":\"1-3\"},\"children\":[{\"type\":\"yooessentials_form_button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"default\",\"text_align\":\"right\"},\"children\":[{\"type\":\"yooessentials_form_button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"Anfrage absenden\",\"content_en_us\":\"Send request\",\"icon_align\":\"left\"}}]}]}]}]}]}]}],\"name\":\"Case Study Template Kontaktformular\",\"formid\":\"ac22e67b\"}],\"version\":\"4.5.31\",\"yooessentialsVersion\":\"2.4.9\"} --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloud-Kostenkontrolle mit proaktivem Monitoring CASE STUDY Wie automatische AWS- und Snowflake-Budgetwarnungen dazu beitragen, rechtzeitige Korrekturen einzuleiten Wer gro\u00dfe Marketing-Kampagnen verantwortet, kennt wahrscheinlich das Problem: Cloud-Kosten \u00fcberraschen oft erst mit der Rechnung. In dieser Case Study zeigen wir, wie eine automatische Budgetwarnung greift, sobald die monatlichen Ausgaben 130 Prozent des geplanten Budgets \u00fcberschreiten. Die Schwelle ist [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":12040,"parent":1524,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-11896","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/pages\/11896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/comments?post=11896"}],"version-history":[{"count":133,"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/pages\/11896\/revisions"}],"predecessor-version":[{"id":12486,"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/pages\/11896\/revisions\/12486"}],"up":[{"embeddable":true,"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/pages\/1524"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/media\/12040"}],"wp:attachment":[{"href":"https:\/\/www.hopmann.com\/de\/wp-json\/wp\/v2\/media?parent=11896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}