<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kiririmode</author_name>
  <author_url>https://blog.hatena.ne.jp/kiririmode/</author_url>
  <blog_title>理系学生日記</blog_title>
  <blog_url>https://kiririmode.hatenablog.jp/</blog_url>
  <categories>
    <anon>aws</anon>
    <anon>node.js</anon>
    <anon>terraform</anon>
  </categories>
  <description>AWSを使っていると、変な使い方をしてると予算をオーバーしてしまいます。 このため、日次でAWS Cost Explorerを確認しているのですが、これはこれで面倒です。 面倒な行為というのはだいたい能動的な確認が求められるのから面倒であるので、 AWS Lambdaから昨日のコストがSlack通知される仕組みを作りました。 コストの抽出 AWS SDK コスト抽出の実装 Slackへの通知 Lambda Nodeのコード全体 以下のように、サービスごとに前日の課金額Top 10を通知してくれます。 コストの抽出 AWS SDK コストを抽出するにあたり、今回はじめてAWS SDK for J…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20210724%2F1627109798&quot; title=&quot;AWS SDK + LambdaでAWSの前日コストをSlackに通知する - 理系学生日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kiririmode/20210724/20210724160637.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-24 15:56:38</published>
  <title>AWS SDK + LambdaでAWSの前日コストをSlackに通知する</title>
  <type>rich</type>
  <url>https://kiririmode.hatenablog.jp/entry/20210724/1627109798</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
