<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masawada</author_name>
  <author_url>https://blog.hatena.ne.jp/masawada/</author_url>
  <blog_title>あんパン</blog_title>
  <blog_url>https://masawada.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>めっちゃ小ネタだし知ってるわって人も多そうな話題なのだけど、CDKでEC2建立するときに addUserData でなんかするのが便利。 例えば、Perlの最新版をインストールしたいときは以下みたいな感じでxbuildを使って達成できる。 const bastion = new ec2.BastionHostLinux(this, 'bastion', { vpc }); bastion.instance.addUserData( 'yum -y update', 'yum -y install gcc', 'wget https://github.com/tagomoris/xbuild/a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasawada.hatenablog.jp%2Fentry%2F2022%2F08%2F26%2F180355&quot; title=&quot;CDKでEC2を建立するときになんかする - あんパン&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>2022-08-26 18:03:55</published>
  <title>CDKでEC2を建立するときになんかする</title>
  <type>rich</type>
  <url>https://masawada.hatenablog.jp/entry/2022/08/26/180355</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
