Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
20180523 S3雑記
Search
Masaru Ogura
May 23, 2018
Technology
31
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20180523 S3雑記
2018/5/23のSapporo.awsで発表した資料になります。
Masaru Ogura
May 23, 2018
More Decks by Masaru Ogura
See All by Masaru Ogura
20260822 Kiroとは
masaruogura
0
80
20260619 私の日常業務での生成 AI 活用
masaruogura
1
320
20260120 Amazon VPC のパブリックサブネットを無くしたい!
masaruogura
2
250
20251126 アウトプットの大切さについて
masaruogura
0
200
20250822 「AWS運用入門」で運用を体系的に学ぼう
masaruogura
0
130
20241218 私の気になる VPC 周りのアップデート
masaruogura
0
180
20240530 Backlogでスクラムを回してみよう
masaruogura
0
420
20240516 JAWS-UG 朝会 運営の裏側
masaruogura
1
280
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
370
Other Decks in Technology
See All in Technology
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
160
安全性・開発速度・ユーザー体験の あいだで考える 事業会社のプロダクトセキュリティ
mixi_engineers
PRO
0
100
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
360
ホームラボ紹介
y_sera15
0
230
【Aiming】共通基盤なのに「共通化しない」課金・認証基盤「LINK」が選び取ったシングルテナント戦略と運用の秘訣
saikeda
0
170
AI-DLC実践録_フルサイクル開発への挑戦
miyuc
0
390
Model Studio CLI × Token Plan
maigo999
0
210
dbt と Snowflake と tag
kevinrobot34
1
190
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
250
Kiro Crew で始める マルチエージェント開発
miu_crescent
PRO
0
170
Sets in Go
ramalho
1
1.2k
Android skills に学ぶ
kokiko
0
160
Featured
See All Featured
The Language of Interfaces
destraynor
162
27k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
480
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
HDC tutorial
michielstock
2
810
Mind Mapping
helmedeiros
PRO
1
330
Facilitating Awesome Meetings
lara
57
7.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
420
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Odyssey Design
rkendrick25
PRO
2
770
My Coaching Mixtape
mlcsv
0
270
Building AI with AI
inesmontani
PRO
1
1.2k
Transcript
S3雑記 2018/5/23 Wed Masaru Ogura
• 小倉 大 (おぐら まさる) Facebook : https://www.facebook.com/masaru.ogura.71 Twitter :
@MasaruOgura • 株式会社サーバーワークス • 札幌在住 • 以前はデータセンターネットワーク運用 • AWS歴 2年6か月 自己紹介
Amazon S3
今日の内容 • S3のストレージクラスと料金について • 複数のELBでアクセスログをS3の同じ バケットに保管するときにすること
今日の内容 • S3のストレージクラスと料金について • 複数のELBでアクセスログをS3の同じ バケットに保管するときにすること
S3とは Amazon S3 とは何ですか? https://docs.aws.amazon.com/ja_jp/AmazonS3/latest/dev/Welcome.html
S3のストレージクラス Amazon S3 ストレージクラス https://aws.amazon.com/jp/s3/storage-classes/
低冗長化ストレージがない…
S3のストレージクラス Amazon S3 低冗長化ストレージ https://aws.amazon.com/jp/s3/reduced-redundancy/
S3のストレージクラス
4つのストレージクラスで S3 標準が一番高い耐久性と 可用性を持っている
S3の料金(東京リージョン 2018/5現在) 料金 https://aws.amazon.com/jp/s3/pricing/
S3の料金(東京リージョン 2018/5現在) Amazon S3 低冗長化ストレージ https://aws.amazon.com/jp/s3/reduced-redundancy/
S3の料金(東京リージョン 2018/5現在) S3 標準 S3 標準-IA S3 1ゾーン-IA 低冗長化 0-1
TB/月 0.025USD/GB 0.019USD/GB 0.0152USD/GB 0.0264USD/GB 1-50 TB/月 0.0259USD/GB 50-500 TB/月 0.024USD/GB 0.0255USD/GB 500-1,000 TB/月 0.023USD/GB 0.025USD/GB 1,000-4,000 TB/月 0.0246USD/GB 5,000 TB/月を 超える分 0.0242USD/GB
低冗長化ストレージは いつ使うの?
使われるタイミング AWS Black Belt Online Seminar 2017 Amazon S3 https://www.slideshare.net/AmazonWebServicesJapan/aws-black-belt-online-seminar-2017-amazon-s3#44
Glacierからの復元
低冗長化ストレージは、 保管では使わない (2018/5現在)
今日の内容 • S3のストレージクラスと料金について • 複数のELBでアクセスログをS3の同じ バケットに保管するときにすること
ELBでAccess logの設定 アクセスログのファイル名 bucket[/prefix]/AWSLogs/aws-account- id/elasticloadbalancing/region/yyyy/mm/dd/aws- account-id_elasticloadbalancing_region_load- balancer-name_end-time_ip-address_random- string.log Classic Load
Balancer のアクセスログ https://docs.aws.amazon.com/ja_jp/elasticloadbalancing/latest/classic/access-log-collection.html
ELBでAccess logの設定 アクセスログのファイル名 bucket[/prefix]/… bucket名のあとにprefixを入れることができるので、ここ にELB名などを入れて、1つのbucket内でアクセスログを ELBごとに分けたい bucket/test1/… ∟ /test2/…
∟ /test3/… :
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBでAccess logの設定
ELBのログをS3に保管するときは バケットポリシーに注意する
ご清聴ありがとうございました。
参考資料 • AWS Black Belt Online Seminar 2017 Amazon S3
https://www.slideshare.net/AmazonWebServicesJapa n/aws-black-belt-online-seminar-2017-amazon-s3 • S3の値下げと、低冗長化ストレージからの移行について http://aws.typepad.com/sajp/2016/12/s3-price- down-and-migratiion.html