<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>okochang</author_name>
  <author_url>https://blog.hatena.ne.jp/okochang/</author_url>
  <blog_title>okochangの馬鹿でありがとう</blog_title>
  <blog_url>https://okochang.hatenablog.jp/</blog_url>
  <categories>
    <anon>Amazon Linux</anon>
    <anon>AWS</anon>
  </categories>
  <description>以前の記事でEC2インスタンスに障害が発生した場合の復旧スクリプトを書きました。 スクリプトでは障害時にAMIを作成しているので、EBSがアタッチされているインスタンスの場合はそれも含めてスナップショットから新しいもので復旧されます。 しかし、CDPのServer Swappingパターンのようにインスタンスに外付けのEBSがある場合、インスンタンスのみを新しく作成してEBSを新しいものに付け替える場合があります。インスタンスのみ新しく起動し、EBSを付け替える場合もスクリプト化して自動化が出来そうです。 しかし、その場合の手順が以下のようになりEBSをアタッチした後にOS側からマウントする必…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokochang.hatenablog.jp%2Fentry%2F2012%2F10%2F08%2F222531&quot; title=&quot;Server Swappingパターンとautofs - okochangの馬鹿でありがとう&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>http://cdn-ak.f.st-hatena.com/images/fotolife/o/okochang/20121008/20121008220537.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-10-08 22:25:31</published>
  <title>Server Swappingパターンとautofs</title>
  <type>rich</type>
  <url>https://okochang.hatenablog.jp/entry/2012/10/08/222531</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
