<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohsawa0515</author_name>
  <author_url>https://blog.hatena.ne.jp/ohsawa0515/</author_url>
  <blog_title>本日も乙</blog_title>
  <blog_url>https://blog.jicoman.info/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>2021/10/19 KMSの権限が足りなかったので修正しました。 ちょっとした小ネタです。 KMSによって暗号化したEBSボリュームをEC2インスタンスにアタッチして起動する場合、そのKMSに対して適切な権限がないとEC2インスタンスを起動することができません。起動したとしてもすぐに stopped になってしまいます。 KMSのキーに対してどの権限を付与すればいいのかドキュメントを探して無かったので検証してみた結果を以下に残します。 以下はEC2インスタンスを起動・停止・リブートするために必要な最小限の権限です。 { &quot;Version&quot;: &quot;2012-10-17&quot;, &quot;Statement&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jicoman.info%2F2018%2F08%2Fiam-policy-for-ec2-instance-with-enctypted-ebs%2F&quot; title=&quot; 暗号化済EBSボリュームがアタッチされたEC2インスタンスを起動するIAMポリシー - 本日も乙&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://contents.blog.jicoman.info/image/aws.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-22 00:32:23</published>
  <title> 暗号化済EBSボリュームがアタッチされたEC2インスタンスを起動するIAMポリシー</title>
  <type>rich</type>
  <url>https://blog.jicoman.info/2018/08/iam-policy-for-ec2-instance-with-enctypted-ebs/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
