<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>precena_engineer</author_name>
  <author_url>https://blog.hatena.ne.jp/precena_engineer/</author_url>
  <blog_title>Precena Tech Book</blog_title>
  <blog_url>https://tech-book.precena.co.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>インフラ開発</anon>
  </categories>
  <description>はじめに この記事はプレセナ・ストラテジック・パートナーズアドベントカレンダー2025の2日目の記事です。 インフラチームのにしざわです。ECSコンテナでRails consoleやデバッグ作業を行うためのセキュアなインフラ構成について紹介します。 背景 ECSで動いているコンテナにログインするには、ECS Execすれば良いです。 しかし、コンテナのファイルシステムを書き込み可能にしておく必要があり、セキュリティが犠牲になります。 そこで、セキュリティを担保しつつ、コンテナに手軽に入れるように模索しました。また、もともとHeroku から移行したシステムなので、heroku runコマンドく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-book.precena.co.jp%2Fentry%2Fecs-container-secure-login-config&quot; title=&quot;ECS内のコンテナに、セキュリティを確保しつつログインできるようにするための構成 - Precena Tech Book&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>2025-12-02 08:00:00</published>
  <title>ECS内のコンテナに、セキュリティを確保しつつログインできるようにするための構成</title>
  <type>rich</type>
  <url>https://tech-book.precena.co.jp/entry/ecs-container-secure-login-config</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
