<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lcl-engineer</author_name>
  <author_url>https://blog.hatena.ne.jp/lcl-engineer/</author_url>
  <blog_title>LCL Engineers' Blog</blog_title>
  <blog_url>https://techblog.lclco.com/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>モバイルアプリエンジニアの山下です。 先日の記事ではデプロイ基盤を構築し、Fargateへ自動デプロイすることができました。 techblog.lclco.com これによりEC2の操作を意識することなく、柔軟にコンテナ数をスケーリングできるようになったのですが、LCLの用途として一つ課題がありました。 Fargateはデプロイするたびにコンテナを作り変えるため毎回IPが変わってしまいます。 LCLでは各サービスでステージング環境やテスト環境を用意しており、これらは認証サーバを経由してアクセスするようにしています。 そのため、認証サーバ上のnginxの設定に参照先のIPをセットしているのですが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.lclco.com%2Fentry%2F2018%2F11%2F02%2F120000&quot; title=&quot;ECS サービスディスカバリでFargateのIPを自動的にDNSレコードへ紐づける - LCL 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/l/lcl-engineer/20181031/20181031173650.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-02 12:00:00</published>
  <title>ECS サービスディスカバリでFargateのIPを自動的にDNSレコードへ紐づける</title>
  <type>rich</type>
  <url>https://techblog.lclco.com/entry/2018/11/02/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
