<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sfujiwara</author_name>
  <author_url>https://blog.hatena.ne.jp/sfujiwara/</author_url>
  <blog_title>KAYAC Engineers' Blog</blog_title>
  <blog_url>https://techblog.kayac.com/</blog_url>
  <categories>
    <anon>sre</anon>
    <anon>aws</anon>
  </categories>
  <description>AWS Fargateのタスクが時々再起動する必要があることと、自動化による管理の簡素化について解説。定期的にタスクを入れ換えることで、管理上の問題を解決することができます。具体的には、Step FunctionsのAWS SDK統合を使用してシンプルなstate machineを実装し、EventBridgeから定期的に実行することでタスクを定期的に入れ換えることができます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.kayac.com%2Fecs-restart-sfn&quot; title=&quot;Amazon ECSのタスクを常に新鮮に保つ仕組みをStep Functionsで - KAYAC Engineers&amp;#39; 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-ak.f.st-hatena.com/images/fotolife/s/sfujiwara/20230329/20230329165207.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-30 11:17:08</published>
  <title>Amazon ECSのタスクを常に新鮮に保つ仕組みをStep Functionsで</title>
  <type>rich</type>
  <url>https://techblog.kayac.com/ecs-restart-sfn</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
