<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bluepixel</author_name>
  <author_url>https://blog.hatena.ne.jp/bluepixel/</author_url>
  <blog_title>less is more</blog_title>
  <blog_url>https://bluepixel.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>ECS</anon>
  </categories>
  <description>やること pumaサーバーのアプリをFargateにデプロイする。 リクエストはNginxで受ける。 Nginxとpumaの通信はソケットを用いて行う。 pumaとNginxは同じFargateタスクの別コンテナとして扱う。 こちらの記事にある下図の右側の部分のイメージです。 bluepixel.hatenablog.com 今回はNATなしで、パブリックサブネットに作ります。 github.com アプリケーション Sinatraで手早く作ります。 本質的な部分ではないので特に解説はしません。 app.rb require &quot;logger&quot; require &quot;sinatra&quot; class A…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbluepixel.hatenablog.com%2Fentry%2F2020%2F04%2F22%2F230721&quot; title=&quot;Fargateにおけるpuma+Nginxのソケット通信のやり方 - less is more&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/b/bluepixel/20200415/20200415190526.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-22 23:07:21</published>
  <title>Fargateにおけるpuma+Nginxのソケット通信のやり方</title>
  <type>rich</type>
  <url>https://bluepixel.hatenablog.com/entry/2020/04/22/230721</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
