Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
S3を固定IPで公開した話 ―ALBのHost Header Rewriteを添えて― / J...
Search
TOPPAN ict
March 25, 2026
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
S3を固定IPで公開した話 ―ALBのHost Header Rewriteを添えて― / JAWS-UG初心者支部#78 NW再入門!NW-JAWSコラボLT回
TOPPAN ict
March 25, 2026
More Decks by TOPPAN ict
See All by TOPPAN ict
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
690
PlaywrightのE2Eテストコードを1人で書くのを辞めた話/NCDC_フロントエンドAI活用LT会
toppan_digital_dev
0
35
GitHub Actions超入門-CICDはじめの一歩 / 【増枠】社外発表したことない人がチャレンジしたことを発表するLT大会
toppan_digital_dev
0
28
Alembicを使ってDBのマイグレーションをやってみた / Toranomon Tech Hub 第6回 新春!初心者だらけのLT大会!登壇資料
toppan_digital_dev
0
56
Other Decks in Technology
See All in Technology
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
280
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
770
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
180
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
290
夫婦で子育てするための育児標準化
codmoninc
PRO
0
460
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
200
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
210
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
210
大型犬好きによるPugの紹介
yamanoku
1
160
USB PDを使ってスマホを労わりたい
raspython3
0
180
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
200
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
The browser strikes back
jonoalderson
0
1.8k
Designing for humans not robots
tammielis
254
26k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Un-Boring Meetings
codingconduct
0
460
Optimizing for Happiness
mojombo
378
71k
Agile that works and the tools we love
rasmusluckow
331
22k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Transcript
S3を固定IPで公開した話 ― ALBのHost Header Rewriteを添えて ― 2026/03/16 ICT開発センター 加納 広太
I N D E X ©TOPPAN Digital Inc. 2 001
自己紹介 002 今回話すこと/話さないこと 003 固定IPによる静的ファイル配信 004 ALB Host Header Rewriteの活用 005 まとめ
3 ©TOPPAN Digital Inc. 自己紹介
4 ©TOPPAN Digital Inc. 自己紹介 加納 広太 TOPPANデジタル株式会社 ICT開発センター 所属
・webアプリ ・クラウドインフラ(アプリ・分析基盤寄り) のアーキテクチャ設計・実装など 役割 好きなAWSサービス AWS Step Functions Amazon Athena
5 ©TOPPAN Digital Inc. 今回話すこと/話さないこと
6 ©TOPPAN Digital Inc. 今回話すこと/話さないこと ◼ 話すこと • 静的ファイル配信のマネージドな構築パターン •
ALB Host Header Rewrite ◼ 話さないこと • 各種リソースの詳細 • S3, VPC, ELB, …
7 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信
8 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信 AWSで静的ファイルを 配信する方法といえば?
9 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信 AWSで静的ファイルを配信する方法といえば? AWS Cloud Amazon CloudFront
Amazon Simple Storage Service (Amazon S3) User 一般的にCloudFront + S3が鉄板構成
10 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信 CloudFront + S3構成で実現しづらい要件(固定IP) AWS Cloud
Amazon CloudFront Amazon Simple Storage Service (Amazon S3) User Userが接続できる接続先IPが制限されている場合 IPが不定なCloudFrontでの静的ファイル配信は難しい※ Firewall 接続先IP制限 ※CloudFront のエニーキャスト静的 IPを使用することはできるが、月額$3,000とお高い IP不定
11 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信 固定IPでの静的ファイル配信方法 非マネージド マネージド Amazon Elastic
Compute Cloud (Amazon EC2) • メリット • 安い(※可用性などを考慮しない場合) • 構成が柔軟 • デメリット • 可用性などを維持するのが大変 • 保守・運用負荷が高い Elastic Load Balancing Amazon Virtual Private Cloud (Amazon VPC) Amazon S3 • メリット • 各種サービスに応じた可用性で利用可能 • 保守・運用負荷が低い • デメリット • 高い(※EC2 1台構成と比べた場合) 要件に応じて考慮が必要だが、 基本的にはマネージドな構成がベストプラクティス
12 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信 AWS Cloud User NLB +
ALB + S3 Endpoint + S3 Application Load Balancer Network Load Balancer Amazon S3 Virtual private cloud (VPC) 「固定IPでのファイル配信」という要件は満たすことができる ホスト名: example.com (123.123.123.123) バケット名: example.com example.com/index.html ホストヘッダとパス: example.com/index.html S3 Interface Endpoints
13 ©TOPPAN Digital Inc. 固定IPによる静的ファイル配信 AWS Cloud この構成の従来の制限事項 S3 Interface
Endpoints Application Load Balancer Network Load Balancer Amazon S3 Virtual private cloud (VPC) ホスト名とバケット名を揃える必要がある =バケットを分けて管理するなどが難しい ホスト名: example.com (123.123.123.123) バケット名: example.com User example.com/index.html ホストヘッダとパス: example.com /index.html
14 ©TOPPAN Digital Inc. ALB Host Header Rewriteの活用
15 ©TOPPAN Digital Inc. ALB Host Header Rewriteの活用 引用: Introducing
URL and host header rewrite with AWS Application Load Balancers | Networking & Content Delivery 2025年10月15日 AWS Application Load Balancer で URL とホストヘッダーの書き換えが可能に
16 ©TOPPAN Digital Inc. ALB Host Header Rewriteの活用 AWS Cloud
User NLB + ALB (Host header rewrite) + S3 Endpoint + S3 Endpoints Application Load Balancer Network Load Balancer Amazon S3 Virtual private cloud (VPC) ホスト名: example.com (123.123.123.123) バケット名: site-b example.com/site-a/index.html example.com/site-b/index.html Amazon S3 バケット名: site-a Host header rewrite: site-a /index.html site-b /index.html 固定IP かつ ホスト名とバケット名を分離した管理が可能に
17 ©TOPPAN Digital Inc. まとめ
18 ©TOPPAN Digital Inc. まとめ • 固定IPによる静的ファイル配信方法 • マネージドサービス( NLB
+ ALB + S3 Endpoint + S3 )を 組み合わせる方法を紹介 • 運用負荷を低減しながら、固定IPによる静的ファイル配信が可能 • ALBのHost header rewrite機能 • 従来のマネージドサービスを組み合わせた静的ファイル配信の 制限事項を解消することが可能 • 今回の利用方法以外にも、色々と活用していくことができる仕組み ※Amazon Web Services、AWSは、Amazon.com, Inc. またはその関連会社の商標です
ご清聴ありがとうございました