<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tara-chang</author_name>
  <author_url>https://blog.hatena.ne.jp/tara-chang/</author_url>
  <blog_title>愛と工作の日々</blog_title>
  <blog_url>https://jakejake.hatenablog.com/</blog_url>
  <categories>
    <anon>スマートホーム</anon>
    <anon>プログラミング</anon>
    <anon>Python</anon>
    <anon>crontab</anon>
    <anon>IoT</anon>
  </categories>
  <description>前回EC2でPythonを定期実行できるようにしたものの、cronを定期実行するにはサーバーを起動しっぱなしにしないといけない。そうすると現時点は無料期間中とは言え、いずれ少なくない額の課金が発生する。 jakejake.hatenablog.com というわけで、EC2サーバーの立ち上げ・たち下げ自体を定期実行してサーバー使用量を最小限にとどめる節約を試みた。 「EC2 定期実行」などで検索してめぼしい結果を試してみることにした。主にこちらの手順をAmazon EventBridgeに置き換えてトレースした。 confrage.jpIdentity and Access Management…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjakejake.hatenablog.com%2Fentry%2F2023%2F02%2F25%2F174349&quot; title=&quot;EC2の定期起動・停止を利用したPythonプログラムの低コスト定期実行 - 愛と工作の日々&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-02-25 17:43:49</published>
  <title>EC2の定期起動・停止を利用したPythonプログラムの低コスト定期実行</title>
  <type>rich</type>
  <url>https://jakejake.hatenablog.com/entry/2023/02/25/174349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
