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
0
9
20180523 S3雑記
2018/5/23のSapporo.awsで発表した資料になります。
Masaru Ogura
May 23, 2018
Tweet
Share
More Decks by Masaru Ogura
See All by Masaru Ogura
20241218 私の気になる VPC 周りのアップデート
masaruogura
0
43
20240530 Backlogでスクラムを回してみよう
masaruogura
0
280
20240516 JAWS-UG 朝会 運営の裏側
masaruogura
1
190
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
230
20240329 第34回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
27
20240216 Amazon Linux 2 を 2023 に移行してみた
masaruogura
1
5.8k
20240202 第33回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
23
20231215 第32回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
20
20230928 第31回 JAWS-UG札幌勉強会 オープニング
masaruogura
0
19
Other Decks in Technology
See All in Technology
ABWG2024採択者が語るエンジニアとしての自分自身の見つけ方〜発信して、つながって、世界を広げていく〜
maimyyym
1
200
2025/3/1 公共交通オープンデータデイ2025
morohoshi
0
100
"TEAM"を導入したら最高のエンジニア"Team"を実現できた / Deploying "TEAM" and Building the Best Engineering "Team"
yuj1osm
1
230
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
750
データベースの負荷を紐解く/untangle-the-database-load
emiki
2
540
クラウド食堂とは?
hiyanger
0
120
Apache Iceberg Case Study in LY Corporation
lycorptech_jp
PRO
0
350
サイト信頼性エンジニアリングとAmazon Web Services / SRE and AWS
ymotongpoo
7
1.7k
Snowflakeの開発・運用コストをApache Icebergで効率化しよう!~機能と活用例のご紹介~
sagara
1
510
AIエージェント開発のノウハウと課題
pharma_x_tech
8
4.4k
開発組織を進化させる!AWSで実践するチームトポロジー
iwamot
2
490
データモデルYANGの処理系を再発明した話
tjmtrhs
0
190
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Become a Pro
speakerdeck
PRO
26
5.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
4 Signs Your Business is Dying
shpigford
183
22k
A designer walks into a library…
pauljervisheath
205
24k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Side Projects
sachag
452
42k
Docker and Python
trallard
44
3.3k
A Tale of Four Properties
chriscoyier
158
23k
Documentation Writing (for coders)
carmenintech
68
4.6k
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