SlideShare a Scribd company logo
1 of 16
S3、CloudFrontはやっぱり最強

第6回JAWS-UG沖縄勉強会
2014年1月13日(月)

株式会社レキサス
与儀実彦
Copyright©2013 Lexues Inc. All rights reserved.
自己紹介

与儀実彦(よぎさねひこ)
株式会社レキサスにて、インフラ周りのお仕事をしています。

好きなAWSサービス → S3
好きなCDP → Snapshot
好きな物理学者 → リチャード・ファインマン

Copyright©2013 Lexues Inc. All rights reserved.
レキサスクラウド・AWSお任せパック

沖縄初、
APNコンサルティングパートナー認定。

沖縄発、
AWS環境構築から監視・運用代行、すべてお任せの
マネージドサービス「AWSお任せパック」を提供中!!
Copyright©2013 Lexues Inc. All rights reserved.
サービス提供開始からこれまで
実際に多くのお客様へサービスのご提案・ご提供を
してきた中で、改めて強く実感していること、
それは・・・

S3 と CloudFront やっぱり最強!!
S3

CloudFront

いろんなユースケースで顔を出す、出し過ぎる。
Copyright©2013 Lexues Inc. All rights reserved.
S3 (Simple Storage Service)概要

S3
・S3 は安価かつ高い耐久性を持つオンラインストレージサービス
→AWS全体の基盤を成している→いろんなところで顔を出す
・データセンターが3つ以上同時に消失しない限りデータは失われない
→1万個のファイル中1個のファイルを損失する確率が1千万年に1度
・自動スケール、ピーク時最大秒間85万リクエストを処理可能
→サーバ1台の性能の比じゃない
→落ちない
Copyright©2013 Lexues Inc. All rights reserved.
CloudFront 概要

CloudFront
・CloudFront は コンテンツキャッシュ配信サービス、配信能力に特化
・(東京リージョンの場合)東京と大阪にあるエッジロケーションから
最寄りのユーザへ自動最適化してファイル配信
東京、大阪のエッジロケーションからの配信イメージ図

東京
大阪

名古屋
福岡

CloudFront

CloudFront

Copyright©2013 Lexues Inc. All rights reserved.

5
よくあるお客様のご要望①
「画像・動画などの静的コンテンツ配信サイトを考えているが、
コスト削減のため、EC2インスタンス数・タイプをできるだけ落とつつ、
アクセス集中に耐えうるシステム構成にしたい」

ユーザ

アクセス集中に耐えうるものがほしい

EC2

インスタンスも少なく安く抑えたい

そこで必殺技、というか、これしかないよね、S3!!
Copyright©2013 Lexues Inc. All rights reserved.
S3で解決!!
画像・動画などの静的ファイルをS3へ配置
(CDP:Web Storageパターン、Direct Hostingパターン)

ユーザ

ユーザ

EC2

S3

S3

・サーバでの処理をS3へ回して、サーバ負荷軽減
・S3でさばける処理は最大秒間85万リクエスト
・完全に静的サイトであれば、Webサイトホスティング機能でS3単体利用
Copyright©2013 Lexues Inc. All rights reserved.
よくあるお客様のご要望②
「画像・動画などの静的コンテンツ配信サイトを考えているが、
コスト削減のため、EC2インスタンス数・タイプをできるだけ落としつつ、
アクセス集中に耐えうるかつ、高速ダウンロード可能なサイトにしたい」
→サクサクなサイトでUX向上させたい

もっとダウンロードを
高速にしたい

ユーザ

アクセス集中に耐えうるものがほしい

インスタンスも少なく安く抑えたい

S3
EC2

そこで必殺技、というか、これしかないよね、CloudFrontを追加!!
Copyright©2013 Lexues Inc. All rights reserved.
S3 + CloudFrontで解決!!
オリジンをS3に指定してS3+CloudFrontの構成で利用。
ファイル配信能力強化で、高速ダウンロード可能に
(CDP:Cache Distributionパターン)
ユーザ

※コンテンツのキャッシュコントロールを
コンテンツ側(S3側)で行う必要があり

CloudFront

S3

EC2

S3+CloudFront構成が最強パターン。

Copyright©2013 Lexues Inc. All rights reserved.
こんな事例がありました
「オンプレにて現在稼働中サーバでサイトがメディア露出時、
サーバ負荷増、アクセス集中でサイトが見えづらくなるので、
サーバリソースを増やさず、かつ、システム改変もほとんど加えずに、
アクセス集中時もサクサク見れるようにしたい」

ユーザ

アクセス集中時はサーバ負荷増で
ほぼハングアップ状態、サイトも見えない

オンプレサーバ

そこで必殺技、というか、これしかないよね、CloudFront!!
Copyright©2013 Lexues Inc. All rights reserved.
CloudFront単体利用で解決!!
オリジンをサーバに指定してCloudFront単体利用
元々、CloudFront利用を想定してないサイト構成のため、
管理画面や入力フォームなど動的処理を含むところを
キャッシュされないようにする必要あり
→バーチャルホストで専用のサブドメインを切るなどして対応

ユーザ

CloudFront

※キャッシュコントロールはコンテンツ側(サーバ側)で行う必要
あり

オンプレサーバ

導入後、メディア露出時の最大同時接続数が数倍以上に。
サーバ負荷激減、サイト閲覧もサクサクでUX大幅向上!!
Copyright©2013 Lexues Inc. All rights reserved.
よくあるお客様のご要望③(番外編)
「現在のサーバ環境(オンプレ or 他社クラウド)が
ちょっとアレなので、AWS環境へ移行したい」

オンプレ or 他社クラウド

そこで必殺技、というか、これしかないよね、
レキサスクラウドのAWS移行サービス!!

Copyright©2013 Lexues Inc. All rights reserved.
レキサスクラウドのAWS移行サービス!!

必要に応じて、S3、CloudFrontを使った構成へ。
もちろんその他サービスも組み合わせ。

移行実績・経験豊かなスタッフが手厚く
対応いたします、すべてお任せください。
まずは、お問い合わせ、ご相談ください。

Copyright©2013 Lexues Inc. All rights reserved.
まとめ

• S3、CloudFrontはやっぱり最強です。
→条件さえ満たせれば、使わない理由はない

Copyright©2013 Lexues Inc. All rights reserved.
沖縄からAWS・クラウドを使って、世界をより良くしてい
きたい。
レキサスクラウドまでご用命、お待ちしております。

ご清聴ありがとうございました。

Copyright©2013 Lexues Inc. All rights reserved.

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

S3、CloudFrontはやっぱり最強  2014/1/13 第6回JAWS-UG沖縄勉強会