<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tfi_wkanamaru</author_name>
  <author_url>https://blog.hatena.ne.jp/tfi_wkanamaru/</author_url>
  <blog_title>Techfirm Cloud Architect Blog</blog_title>
  <blog_url>https://techblog.techfirm.co.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Amazon EC2</anon>
    <anon>Amazon EventBridge</anon>
    <anon>AWS SSM Automation</anon>
  </categories>
  <description>はじめに EC2をオンデマンドインスタンスで利用する場合、起動時間に応じて料金が発生するため、起動時間に注意が必要です。 とくに開発環境など、夜間・休日は使用しない環境であれば、インスタンスを停止しておくとコストを削減できます。 しかし、毎回手動で起動・停止を行うのは手間なので、AWSのサービスを利用して自動で起動停止するようにしたいと思います。 この記事では、Amazon EventBridgeを使用した自動化について、実装方法を紹介します。 前提 東京リージョンのオンデマンドEC2インスタンス1台が対象 月～金曜日の10:00～19:00の間だけ起動し、それ以外の曜日・時間は停止状態にする…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.techfirm.co.jp%2Fentry%2Faws-ec2-automation&quot; title=&quot;【AWS】EC2の起動・停止を自動化する - Techfirm Cloud Architect Blog&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.user.blog.st-hatena.com/default_entry_og_image/158883635/1666791273156818</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-28 15:30:00</published>
  <title>【AWS】EC2の起動・停止を自動化する</title>
  <type>rich</type>
  <url>https://techblog.techfirm.co.jp/entry/aws-ec2-automation</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
