Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
EN
Uploaded by
Eiji Yamamoto
PPTX, PDF
511 views
[SA-3-1] The anti pattern (ジ・アンチパターン)
AWS Dev Day 2023 Tokyo 登壇資料です。
Engineering
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 37
2
/ 37
3
/ 37
4
/ 37
5
/ 37
6
/ 37
7
/ 37
8
/ 37
9
/ 37
10
/ 37
11
/ 37
12
/ 37
13
/ 37
14
/ 37
15
/ 37
16
/ 37
17
/ 37
18
/ 37
19
/ 37
20
/ 37
21
/ 37
22
/ 37
23
/ 37
24
/ 37
25
/ 37
26
/ 37
27
/ 37
28
/ 37
29
/ 37
30
/ 37
31
/ 37
32
/ 37
33
/ 37
34
/ 37
35
/ 37
36
/ 37
37
/ 37
More Related Content
PDF
20180522 AWS Black Belt Online Seminar 失敗例を成功に変えるアンチパターン
by
Amazon Web Services Japan
PDF
AWS初心者向けWebinar 失敗例を成功に変える AWSアンチパターンのご紹介
by
Amazon Web Services Japan
PDF
AWS Black Belt Online Seminar Antipattern
by
Amazon Web Services Japan
PDF
Webサービス向け、クラウドデザインパターン:アンチパターン紹介
by
Yasuhiro Araki, Ph.D
PPTX
20141126 jaws-antipattern
by
Yasuhiro Araki, Ph.D
PPTX
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
by
Amazon Web Services Japan
PDF
AWS Well-Architected Security とベストプラクティス
by
Amazon Web Services Japan
PDF
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
by
Amazon Web Services Japan
20180522 AWS Black Belt Online Seminar 失敗例を成功に変えるアンチパターン
by
Amazon Web Services Japan
AWS初心者向けWebinar 失敗例を成功に変える AWSアンチパターンのご紹介
by
Amazon Web Services Japan
AWS Black Belt Online Seminar Antipattern
by
Amazon Web Services Japan
Webサービス向け、クラウドデザインパターン:アンチパターン紹介
by
Yasuhiro Araki, Ph.D
20141126 jaws-antipattern
by
Yasuhiro Araki, Ph.D
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
by
Amazon Web Services Japan
AWS Well-Architected Security とベストプラクティス
by
Amazon Web Services Japan
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
by
Amazon Web Services Japan
Similar to [SA-3-1] The anti pattern (ジ・アンチパターン)
PDF
2013 デブサミ 「SIの未来ってどうなのよ?」
by
Serverworks Co.,Ltd.
PPTX
20121221 AWS re:Invent 凱旋報告
by
真吾 吉田
PDF
AWS における Microservices Architecture と DevOps を推進する組織と人とツール
by
Amazon Web Services Japan
PPTX
DeNAのQCTマネジメント IaaS利用のベストプラクティス [AWS Summit Tokyo 2019]
by
DeNA
PPTX
JAWS-UG三都物語_企業でのAWS導入のエントリーポイント
by
Toshiyuki Konparu
PDF
[AWS Summit 2012] クラウドデザインパターン#8 CDP アンチパターン編
by
Amazon Web Services Japan
PDF
エンターテイメント業界におけるAWS活用事例
by
Amazon Web Services Japan
PDF
[JAWS Days 2020] AWS Well-Architected フレームワークのご紹介
by
Takanori Ohba
PDF
[AWS Summit 2012] クラウドデザインパターン#5 CDP バッチ処理編
by
Amazon Web Services Japan
PDF
Asakusa バッチの運用を支える技術
by
KinebuchiTomo
PDF
クラウドを積極活用したサービスの開発のために
by
Yuichiro Saito
PDF
はじめてのAWS at JAWS-UG 岡山 第1回勉強会
by
Yasuhiro Horiuchi
PDF
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
by
Amazon Web Services Japan
PDF
20120914 aws summit_lt
by
Kazuaki Fujikura
PDF
周りを巻き込みながら歩んできた関西人スクラムマスターの自分戦略(DevLove2012_yohhatu)
by
Yoh Nakamura
PDF
AWS市場動向と求められる人材、その育成方法について
by
Trainocate Japan, Ltd.
PPT
マーケティングテクノロジー勉強会
by
伊藤 孝
PDF
20120323 cloudpacknight
by
Yasuhiro Horiuchi
PDF
20190604 aws well-architected_tool_seminar_detail
by
Yoshii Ryo
PDF
セミナ受講レポート NRI Senju V12
by
Yukio Saito
2013 デブサミ 「SIの未来ってどうなのよ?」
by
Serverworks Co.,Ltd.
20121221 AWS re:Invent 凱旋報告
by
真吾 吉田
AWS における Microservices Architecture と DevOps を推進する組織と人とツール
by
Amazon Web Services Japan
DeNAのQCTマネジメント IaaS利用のベストプラクティス [AWS Summit Tokyo 2019]
by
DeNA
JAWS-UG三都物語_企業でのAWS導入のエントリーポイント
by
Toshiyuki Konparu
[AWS Summit 2012] クラウドデザインパターン#8 CDP アンチパターン編
by
Amazon Web Services Japan
エンターテイメント業界におけるAWS活用事例
by
Amazon Web Services Japan
[JAWS Days 2020] AWS Well-Architected フレームワークのご紹介
by
Takanori Ohba
[AWS Summit 2012] クラウドデザインパターン#5 CDP バッチ処理編
by
Amazon Web Services Japan
Asakusa バッチの運用を支える技術
by
KinebuchiTomo
クラウドを積極活用したサービスの開発のために
by
Yuichiro Saito
はじめてのAWS at JAWS-UG 岡山 第1回勉強会
by
Yasuhiro Horiuchi
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
by
Amazon Web Services Japan
20120914 aws summit_lt
by
Kazuaki Fujikura
周りを巻き込みながら歩んできた関西人スクラムマスターの自分戦略(DevLove2012_yohhatu)
by
Yoh Nakamura
AWS市場動向と求められる人材、その育成方法について
by
Trainocate Japan, Ltd.
マーケティングテクノロジー勉強会
by
伊藤 孝
20120323 cloudpacknight
by
Yasuhiro Horiuchi
20190604 aws well-architected_tool_seminar_detail
by
Yoshii Ryo
セミナ受講レポート NRI Senju V12
by
Yukio Saito
[SA-3-1] The anti pattern (ジ・アンチパターン)
1.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 0 6 2 2 , 2 0 2 3
2.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Antipattern (ジ・アンチパターン) Katsuya Uehara, Eiji Yamamoto [ S A - 3 - 1 ] YRGLM Inc.
3.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 1. 自己紹介 2. 広告効果測定とは? 3. アンチパターンのパターン 4. アンチパターン事例 5. まとめ アジェンダ
4.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 自己紹介
5.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 自己紹介 略歴 上原 賢也 2006年 日本発ECオープンプラットフォーム「EC-CUBE」の開発 2009年 広告運用「THREe」のインフラ基盤の設計・構築 2012年 全社の品質管理・インフラの導入・運用をメインで実施 2015年 ベトナム子会社へ出向し、オフショア開発拠点の立ち上げ 2019年 日本に帰国し、主にインフラ面から基盤戦略全般を担当 コスト最適化大好き人間。開発から組織運営などなんでも屋 2020年 岡山大学大学院自然科学研究科電子情報システム工学専攻 卒業 2020年 株式会社イルグルム 入社 以後、インフラエンジニアとして業務に従事。 オンプレ、クラウド問わずインフラの設計、構築、運用等を担当。 好きなサービス:Amazon Simple Storage Service (Amazon S3) 略歴 Katsuya Uehara 山本 瑛治 Eiji Yamamoto
6.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 広告効果測定とは?
7.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 広告効果測定とは? • マーケティングの効果をメディア・デバイス・代理店を横断して測定、 マーケティング活動の成果最大化をサポートするサービスです。 計測 広告効果測定 アクセス解析 View計測 LPO クリック計測/SEO計測 経路分析 動画広告 記事広告 ディスプレイ 広告 コンテンツ マーケティング 純広告 自然検索 アフィリエイ ト広告 リスティング 広告 リターゲティ ング広告 ダイレクト SNS LP TOP コンテンツ CV 活用 外部連携 BI/レポーティング MR/CRM/SFA 広告配信/運用管理 リサーチ/モニター 3rd Party Data EC/通販支援ツール TV/オフライン施策 分析 レポーティング 施策軸 ユーザー軸 デモグラフィック カスタマージャーニー 分析 チャネル別集計 アトリビューション 分析
8.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 広告効果測定とは? • 広告効果測定ツール売上シェアNO.1「アドエビス」
9.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. アンチパターンのパターン
10.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. アンチパターンのパターン • アーキテクチャのアンチパターンが生まれる3つのシチュエーション 1. よく検討しとけよパターン 2. アンチパターン許容したつもりパターン 3. ベストプラクティスの解釈間違えてるよパターン
11.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. アンチパターンの事例
12.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1.よく検討しとけよパターン (Amazon Aurora DB作りすぎた件)
13.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 1.よく検討しとけよパターン:背景 • オンプレPostgreSQLのAWSへマイグレーション • 1,000超データベースをAmazon Auroraへそのまま集約 サーバー データベース スキーマ サーバー データベース スキーマ データベース スキーマ サーバー データベース スキーマ データベース スキーマ インスタンス データベース スキーマ データベース スキーマ データベース スキーマ データベース スキーマ データベース スキーマ Amazon Aurora
14.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 1.よく検討しとけよパターン:課題 • 運用開始後暫くして、Copy文データ投入のRead IOPSが爆増・・・ 12/14 12/15 12/16 12/17 12/18 12/19 12/20 Read IOPS
15.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. • Catalog情報のXID回収にAutovacuum (XID回収により)が滞り、 肥大化・統計がズタズタに・・・ 1.よく検討しとけよパターン:原因 0 100 200 300 400 12/10 12/11 12/12 12/13 12/14 12/15 12/16 12/17 12/18 12/19 12/20 12/21 Max XID Count(M) 閾値200Mで 回収されない
16.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 1.よく検討しとけよパターン:対処 • 手動で定期的にXIDを回収する VACCUM FREEZE; (Autovaccum発生前に) • コスト面では I/O-Optimizedストレージも検討 0 100 200 300 400 12/22 12/23 12/24 12/25 12/26 12/27 12/28 12/29 12/30 12/31 1/1 1/2 Max XID Count(M) 閾値200M 前に手動回収
17.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 1.よく検討しとけよパターン:教訓 • ベストプラクティスをもとに事前に模索しよう! • ホワイトペーパーにも「一番メンテコストかかる」って書かれてるよね 出典:https://www.slideshare.net/AmazonWebServicesJapan/20220107-multi-tenant-database
18.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 1.よく検討しとけよパターン:教訓 • もちろんそれぞれのメリデメがある • データベースエンジンの特性も踏まえて運用は検討する必要がある 出典: https://www.slideshare.net/AmazonWebServicesJapan/20220107-multi-tenant-database
19.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン 許容したつもりパターン ( Elastic Load Balancing 作りすぎた件)
20.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン許容したつもりパターン:背景 • プライバシーの観点からWeb広告の計測は年々複雑化 3rd party cookieだと計測不可 1st party cookieの場合は計測可能 • CNAMEレコード方式という機能を開発 以下が必要 – CNMAE レコードに設定する顧客ドメイン – 顧客ドメインに対する証明書 出典: https://support.ebis.ne.jp/s/article/29550
21.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン許容したつもりパターン:背景 • 結果、7台の Amazon EC2 に対して 数十台の Elastic Load Balancing を構築 ∵ 25証明書 / 1 Elastic Load Balancing 1000ユーザで利用する場合、40台必要 • アンチパターンではあるが、あえて選択 迫る納期 マネージドサービスに寄せたいという方針 機能の利用ユーザ数も不明 etc… Elastic Load Balancing : 数十台 Amazon Elastic Compute Cloud (Amazon EC2) : 7台
22.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン許容したつもりパターン:課題 • 固定費用の増加 • 運用工数の増加 • サーバの負荷増加 なぜかメモリが大量に消費されている。。
23.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン許容したつもりパターン:原因 • Elastic Load Balancing の数だけ Keep Alive が発生 Keep Alive: ロードバランサとサーバ間のセッション維持用プロセス これにより、無駄なハンドシェイクなどをスキップできる Elastic Load Balancing: 数十台 Amazon Elastic Compute Cloud (Amazon EC2): 7台 Keep Alive: 数十プロセス / 1 Amazon EC2
24.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン許容したつもりパターン:対処 • 暫定対処 Keep Alive の無効化(アンチパターン) アンチパターン(数十台の Elastic Load Balancing )が さらなるアンチパターン(Keep Alive の無効化)を生み出してしまった。 • 根治対処 根本のアンチパターンの是正(=別の手段でリプレイス) が、優先度、工数から現実的ではない。。 -> 実質塩漬け。。
25.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 2.アンチパターン許容したつもりパターン:教訓 • 当然、様々なトレードオフを考慮した結果、あえてアンチパターンを 選択するという場面はありうる。 • ただし、その場合は、 「さらなるアンチパターンを生む可能性」も 含めて選択したほうがいい。 「納期がきついから仕方なく。。」だけで選ぶと、 未来の運用負荷(技術的負債)はどんどん増えることになる。 • -> 今だけでなく未来も見据えた上で、PoCが必要
26.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 3.ベストプラクティスの解釈 間違えてるよパターン ( Amazon Virtual Private Cloud 切りすぎて失敗した件)
27.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 3. W-A の解釈間違えてるよパターン:背景 • アドエビス管理画面のクラウドシフトを実施 • 基本設計: AWS Well-Architected を意識 密結合の分離[1][2] – プロダクトを「サブシステム」の集合と定義 – サブシステム単位でアプリ&インフラを分割(≒ マイクロサービス) ブルーグリーン・デプロイメント[3] 多層防御[4] [1]: https://docs.aws.amazon.com/ja_jp/wellarchitected/latest/reliability- pillar/rel_service_architecture_monolith_soa_microservice.html [2]: https://docs.aws.amazon.com/ja_jp/wellarchitected/latest/reliability- pillar/rel_service_architecture_business_domains.html [3]: https://docs.aws.amazon.com/ja_jp/wellarchitected/latest/operational-excellence- pillar/ops_mit_deploy_risks_deploy_to_parallel_env.html [4]: https://docs.aws.amazon.com/ja_jp/wellarchitected/latest/security- pillar/sec_network_protection_layered.html
28.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 3. W-A の解釈間違えてるよパターン:背景 • 詳細設計 サブシステム単位で Amazon VPC を分割すればいいのでは!? – 密結合の分離:〇 • ∵ Amazon VPC は最も大きなインフラの粒度 – ブルーグリーン・デプロイメント:〇 • ∵ Amazon VPC 単位で分けておけば、並列デプロイ可能 – 多層防御:〇 • ∵ Amazon VPC 単位で分けておけば、L3レイヤの制御も簡単 Amazon VPC の作成と利用に追加料金は発生しないから、コスト面もok!?
29.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 3. W-A の解釈間違えてるよパターン:課題 • 運用工数 & 固定費用増えまくり。。 VPC Endpoint, Transit Gateway VPC Attachment …
30.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 3. W-A の解釈間違えてるよパターン:原因 • Amazon VPC 分割の多用が アンチパターンだった。。 • 上述の W-A をみても、 Amazon VPC 分割を多用せよとは 書いていない。 W-Aに従ったのはよかったが、 解釈を間違えた。
31.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 3. W-A の解釈間違えてるよパターン:対処 • 暫定対処 これ以上 Amazon VPC は増やさないようにする。 つまり、 Amazon VPC ではなくSubnet 分割で代用 – 最終的には、Subnet 分割も控えるのがベスト。 • 根治対処 Amazon VPC を集約していく。 数年かけてのリプレイス計画、検討中です!
32.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. 3. W-A の解釈間違えてるよパターン:教訓 • W-Aに従ったのはよかったが、解釈を間違えた。 モノリシックアーキテクチャはできるだけ避ける必要があります。代わりに、 どのアプリケーションコンポーネントをマイクロサービスに分けられるかを 注意深く考慮します。[1] – マイクロサービス最強!なんて記載はない。 – ましてや「 Amazon VPC 分割しましょう」なんて一言も言及されていない。 • -> 一人で最適解を出すのは難しいので、セカンドオピニオンが必要 ex. AWS SA さんからのレビュー [1]: https://docs.aws.amazon.com/ja_jp/wellarchitected/latest/reliability- pillar/rel_service_architecture_monolith_soa_microservice.html
33.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. まとめ
34.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. まとめ • 3つの事例から考えるアンチパターンとの付き合い方 1. 定石を知って、よく検討しよう 2. PoCをしよう 3. レビューをしよう(セカンドオピニオン)
35.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. まとめ • でも恐れずにチャレンジしよう! • こんな私たちでも20年近くSaaSサービスを運用して来れました! • なんとかなる!ならば楽しもう!
36.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. Thank you! © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
37.
© 2023, Amazon
Web Services, Inc. or its affiliates. All rights reserved. Please complete the session survey © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Download