More Related Content
PDF
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS) PDF
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K... PDF
20190514 AWS Black Belt Online Seminar Amazon API Gateway PDF
20201125 EC Solution Seminar Notification PDF
20200728 AWS Black Belt Online Seminar What's New in Serverless PDF
AWS Black Belt Online Seminar AWS Direct Connect PDF
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server PDF
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW... What's hot
PDF
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven... PDF
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報 PDF
20190724 pub sec_education_webinar PDF
AWS Black Belt Online Seminar 2018 AWS Well-Architected Framework PDF
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model PPTX
re:Invent 2018 ML サービスアップデート PDF
20190130 AWS Black Belt Online Seminar AWS Identity and Access Management (AW... PPTX
PDF
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A... PDF
20201125 EC Solution Seminar Live Commerce PDF
Management & Governance on AWS こんなこともできます PDF
20190326 AWS Black Belt Online Seminar Amazon CloudWatch PPTX
Japan Wrap Up re:Invent2018 PPTX
AWS Black Belt Online Seminar 2018 動画配信 on AWS PDF
20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice PDF
Amazon Connect 概要 & 最新情報アップデート PDF
20210126 AWS Black Belt Online Seminar AWS CodeDeploy PDF
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい PDF
PDF
Similar to AWS All Stars ~Lightning Talks x 13~
PDF
AWS Black Belt Online Seminar 2017 AWS re:Invent 2017速報 PDF
20180516 AWS Black Belt Online Seminar Amazon Connect PDF
JAWS-UG アーキテクチャ専門支部 re:Invent Management Tools ダイジェスト PDF
PDF
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf PDF
Amazon Web Servicesで未来へススメ! PDF
Amazon Web Services(AWS)とcloudpack について PDF
AWS Solution Architect Associate試験勉強メモ PDF
AWS Black Belt Online Seminar 2017 Amazon Connect PDF
AWS初心者向けWebinar .NET開発者のためのAWS超入門 PDF
AWSにおける モバイル向けサービス及び事例紹介(20151211) PPTX
PDF
PDF
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript- PDF
【JAWS-UG東京発表資料】AWS Summit Tokyo 2018の振り返りと最新アップデート PDF
20201118 AWS Black Belt Online Seminar 形で考えるサーバーレス設計 サーバーレスユースケースパターン解説 PDF
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現 PDF
PDF
PDF
Gaming cicd-pipeline gaming-technight-2 More from Amazon Web Services Japan
PDF
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM) PDF
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS PDF
202204 AWS Black Belt Online Seminar AWS IoT Device Defender PDF
Infrastructure as Code (IaC) 談義 2022 PDF
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap... PDF
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート PPTX
20220409 AWS BLEA 開発にあたって検討したこと PDF
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用 PDF
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介 PDF
Amazon QuickSight の組み込み方法をちょっぴりDD PDF
マルチテナント化で知っておきたいデータベースのこと PDF
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ PDF
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介 PDF
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles PDF
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために PDF
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨ PPTX
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介 PDF
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介 PDF
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ... PDF
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ AWS All Stars ~Lightning Talks x 13~
- 1.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Amazon Web Services Japan
Solution Architect & Cloud Support Engineer
2019/02/23
AWS All Stars
〜Lightning Talks × 13 〜
- 2.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
LT
( )
http://etc.ch/Xr47
- 3.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
Yuki Asano, Solutions Architect
2019/02/22
AWS Amplify Console
- 4.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
Who are you ?
浅野 佑貴
ソリューションアーキテクト
第二回AWSウルトラクイズチャンピオン
好きなAWSのサービス
• AWS Billing and Cost Management
• AWS Cost and Usage Report
- 5.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
(このLTで話す)ポエムサイトとは
共有することを目的としない自分の為のOutputをする場所
• 特に1月、4月頃になると作りたくなるWebサイト
• 例えば、自分の為のコピペ用ワンライナーとかTipsをまとめる
• でも、心許せる人には共有してもいい
限定的なコンテキストで成立するOutput
• 例えば、勉強会等で使うハンズオンテキスト
• 自分が困っている事象を解決する為の検証ログ(必要な事だけ)
- 6.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Amplify Console
• モダンなモバイルWebアプリケーションはフロントとバックに機能が
分散するためデプロイ作業が複雑
• Amplify Consoleはここを解決するのが目的。リポジトリを接続する
だけで、コミット毎にフロントエンドとバックエンドへのデプロイを
実行してくれる。SPAだけではなく静的サイトのホストも可能
- 7.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
記載したビルドシナリオに合わせて自動的にデプロイ
User AWS CodeCommit
Git push Auto deploy
Amplify.yml
# IMPORTANT - Please verify your build commands
build:
commands:
- bundle exec jekyll build
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: _site/
files:
- '**/*'
cache:
paths: []
version: 0.1
frontend:
phases:
preBuild:
commands:
- export GEM_HOME="/usr/local/rvm/gems/ruby-2.3.6"
- rvm use ruby-2.3.6
- gem install bundler
- bundle install --path vendor/bundle
- 8.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
ポエムサイトにAWS Ampliy Consoleを使うメリット
フルマネージド
• 静的サイトをホストする為のインフラ管理は不要
• CDN経由のhttpsアクセスをサポート
独自ドメインを利用可能
Basic認証をサポート
• ユーザ名/パスワードによる保護で限定的な公開が可能
- 9.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
アマゾン ウェブ サービス ジャパン株式会社
ソリューションアーキテクト 深森広英
2019/02
ハンズオンでわかる
Amazon Connect
- 10.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
自己紹介
• 深森 広英(ふかもり ひろひで)
• AWS Solutions Architect
• 前職:某通信事業者
• 好きなAWSサービス
Amazon Connect
AWS Direct Connect
- 11.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Amazon Connectとは?
1. ほんの数ステップでコンタクトセンターを立ち上げ
2. お使いいただいた分だけの課金
簡単&早い
- 12.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
1.電化製品のコールセンター(所要時間:30分)
顧
客
050-1111-
XXXX
掃除機 掃除機
カメラ
カ
メ
ラ
の
み
対
応
掃除機コールフロー
ガイダンスの
フロー
プッシュ入力の
フロー
キュー:掃除機
キュー:カメラ
順番待ちのフロー
順番待ちのフロー
インスタンス
電話番号
掃除機担当オペレータ
カメラ担当オペレータ
Connect立ち上げ、電話番号取得、プッシュ入力の設定など
オペレータはソフトフォン(CCP)で通話
CCP
- 13.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
2.Salesforceへの統合(所要時間:40分)
自動でポップアップ 自動で顧客情報をポップアップ
- 14.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
3.チャットボットLEXによるホテル予約
1.ホテルの予約を
お願いします 2.どちらの都市に
泊まりますか?
3.ニューヨークです
4.宿泊はいつからですか?
5.次の月曜日です
6.何泊しますか?
7.2泊です
8.ニューヨークで2018/6/1から
2日間予約します、よろしいですか?
Amazon
Connect
利用者
(実際は
英語)
9.お願いします
10.予約が完了しました。
ご利用ありがとうございました。
(言語は英語、所要時間:30分)
- 15.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
4.通話文字起こしと感情分析(所要時間:40分)
PSTN
お客様 Amazon Connect
AWS Lambda
S3イベントをトリガとして
Transcribeをキック
Amazon S3
通話録音ファイルの生成
Amazon TranscribeとAmazon Comprehendを利用した通話録音(※)の感情分析
※言語は英語
PSTN : 公衆交換電話網
Amazon Transcribe
音声から通話テキスト抽出
Amazon S3
通話テキストの生成
Amazon Comprehend
テキストから感情抽出
AWS Lambda
S3イベントをトリガとして
Comprehendをキック
Connectの通話記録へ
テキストと感情分析結果を送信
オペレータ
- 16.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
5.Kibanaによる可視化(所要時間:40分)
• オペレータの状態(オンラインか)
• 時間あたりのコール数
などコールセンタの状態を可視化
PSTN
お客様 Amazon
Connect
CloudWatch
Logs
PSTN : 公衆交換電話網
Amazon S3
Contact
Trace Record
Amazon
ElasticSearch
Kibana
Kinesis
Stream
Kinesis
Stream
Agent Event
Stream
CallFlowLog
Lambda
Lambda
Lambda
- 17.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
6.電話の自動発信(所要時間:15分)
PSTN
Amazon Connect
• 指定の番号に電話を発信して任意のテキストを読み上げる自動化
• AWS CLI利用
「こんにちは!XXです。」
指定したテキストが人工音声
によって読み上げられる
AWS
CLI
以下を指定
・Connectインスタンスのリージョン
・ConnectインスタンスID
・Contact Flow ID
・発信元電話番号
・発信先電話番号
・読み上げたいテキスト
- 18.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Amazon Connect まとめ
1. ほんの数ステップでコンタクトセンターを立ち上げ
2. お使いいただいた分だけの課金
簡単&早い
- 19.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 19
ここまでで10分!!
投票サイトはこちら→
(開いておいてね、でも最後に投票してね)
- 20.
- 21.
- 22.
Neptune で迷路を解く
• AmazonNeptune
• クラウド向けに構築された
高速で信頼性の高い
グラフデータベース
• 迷路をグラフ化
• Vertex: 陸地
• Edge: 橋
• すべての Edge を走査
North
Center
South
East
- 25.
- 26.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 27.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 28.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 29.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 30.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 31.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
特徴
• バトルロワイヤルゲーム
• ワールドワイド展開
• クロスプラットフォーム(PS4, Switch, PC, Mobile, etc...)
• Kubernetesによる分析, 機械学習、コンテナ
• 9,200万/分・2PB/月のデータ分析
なぜAWSだったのか?
• 1億5,000万人規模のプレイヤーイベント
が実施できるスケーラビリティ
• AWSのマネージドサービス利用によって
ゲーム開発にフォーカスできる
AWSの効果
• 世界中の何百万ものプレイヤーに高品質の
ゲームを提供
• 2018/07/17にAWSへのAll-Inを発表
- 32.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
特徴
•
•
•
なぜAWSだったのか?
•
•
AWSの効果
•
•
- 33.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
•
•
•
- 34.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 35.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Twitch
SOCIAL VIDEO
PLATFORM & GAME
COMMUNITY
…
- 36.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 40.
- 41.
- 42.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
2019 / 02 / 23
ソリューションアーキテクト 大井 友三
3分間で Amazon WorkLink をご紹介
- 43.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
自己紹介
• 大井 友三(おおい ゆうぞう)
• ソリューションアーキテクト
• 製薬・ヘルスケア業界担当
• SIer (Java) HW (Virtualization)
AWS Support SA
Music (Playing BASS!)
Amazon Sumerian
Amazon WorkSpaces
- 44.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
Amazon WorkLink とは
AWS Cloud
Private subnet
クローズドな社内ネットワーク上のシステムにモバイルアプリ経由でアクセスするための
仕組み
モバイル端末 内部向け Web サイト
• オンデマンド VPN で Internal の
Web サイトにアクセス
• コンテンツは WorkLink がHTML
の要素に応じてレンダリングして
おり、テキストや画像はコピーで
きない
• 認証は SAML 2.0 で実施
- 45.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
サービス構成
1. 必要なもの
1. SAML 2.0 対応 IdP (AWS SSO や Okta など)
1. AWS SSO を利用すると ADFS を利用しなくても AD 連携できる
2. 内部向け Web サイト
2. 利用可能なリージョン
1. バージニア北部、オハイオ、オレゴン、アイルランド
2. AWS SSO と連携する場合、現状 WorkLink はバージニア北部で作成が必
要
3. 料金
1. 1アクティブユーザーあたり 5 USD/月
2. 通信量には依存しない
- 46.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
併用できるサービス
• Direct Connect / VPN
• オンプレミスのコンテンツへのアクセス
• Transit Gateway
• Kinesis Data Stream : 下記の使用状況メトリクスの取得
• BrowsingSessionId / UserId / DeviceId / DomainName /
ErrorMessage / HTTPStatusCode / URI
• CloudTrail : API ログ
- 47.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
半分まで来たよ
←投票サイトはこちら
(この中にすでに投票した人がいます)
- 48.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
48
- 49.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway
VP
N
Route Destination
10.1.0.0/16 vpc-att-1xxxxxxx
10.2.0.0/16 vpc-att-2xxxxxxx
10.3.0.0/16 vpc-att-3xxxxxxx
10.0.0.0/8 VPN
0.0.0.0/0 vpc-att-4xxxxxx
Default
routing domain
VPC
- 50.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
VPC
NAT Gateway
VPC
Instance Instance
VPC
Instance
VPN
VPC
Instance
VPN Router
Auto Scaling group
Instance Instance
Instance Instance
Transit Gateway
Route Destination
10.1.0.0/16 vpc-att-1xxxxxxx
10.2.0.0/16 vpc-att-2xxxxxxx
10.3.0.0/16 vpc-att-3xxxxxxx
10.0.0.0/8 VPN
0.0.0.0/0 vpc-internet
Default
routing domain
VPN) AWS
AWS
- 52.
- 53.
- 54.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
Well-Architected Lead(Japan)
AWS Well-Architected Framework
…の一番好きなところを伝えたい(•ө•)♡
- 55.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
- 56.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
- 57.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
- 58.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
必ずしも全てがベストプラクティスに則っている必要は無い
- 59.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
必ずしも全てがベストプラクティスに則っている必要は無い
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
- 60.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
必ずしも全てがベストプラクティスに則っている必要は無い
で[検索]AWS Well-Architected black belt
- 61.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
“AWS Well-Architected Frameworkホワイトペーパー”の
一番好きなところ(•ө•)♡
(注:個人の見解です)
- 62.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
- 63.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
一番大事だけどココじゃない💔
(注:個人の見解です)
- 64.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
- 65.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
もちろん大事だけどココでもない💔
(注:個人の見解です)
- 66.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
“AWS Well-Architected Frameworkホワイトペーパー”の
一番好きなところ(•ө•)♡は
(注:個人の見解です)
- 67.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
“AWS Well-Architected Frameworkホワイトペーパー”の
一番好きなところ(•ө•)♡は
(注:個人の見解です)
🎉レビューの進め方🎉
- 68.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
[OPS4] デプロイのリスクをどのように軽減していますか?
[SEC3] AWSサービスへのプログラムによるアクセスをどのように制御していますか?
[REL7] システムがコンポーネントのエラーに耐えるようにどのように設計していますか?
[PER2] コンピューティングソリューションをどのように選択していますか?
[COST6] AWS使用量とコストをどのようにモニタリングしていますか?
…
- 69.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
[OPS4] デプロイのリスクをどのように軽減していますか?
[SEC3] AWSサービスへのプログラムによるアクセスをどのように制御していますか?
[REL7] システムがコンポーネントのエラーに耐えるようにどのように設計していますか?
[PER2] コンピューティングソリューションをどのように選択していますか?
[COST6] AWS使用量とコストをどのようにモニタリングしていますか?
…
全項目ベストプラクティスに
則っていないとダメなのか?
- 70.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
[OPS4] デプロイのリスクをどのように軽減していますか?
[SEC3] AWSサービスへのプログラムによるアクセスをどのように制御していますか?
[REL7] システムがコンポーネントのエラーに耐えるようにどのように設計していますか?
[PER2] コンピューティングソリューションをどのように選択していますか?
[COST6] AWS使用量とコストをどのようにモニタリングしていますか?
……
全項目ベストプラクティスに
則っていないとダメなのか?
ベストプラクティスを理解いただいた上で、
皆様が「(ビジネス的な)判断をする」ことが重要
→ギャップの把握/リスクや改善点の”顕在化”
- 71.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
😍
- 72.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
レビューは「誰も責めない」アプローチで
行う必要があります。これは話し合いであり、
監査ではありません
😊
- 73.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
レビューはワークロードのライフサイクル中
に複数回実施する必要があります。まず変更
が困難な一方通行のドア (のような決定) を避
けるため、設計の初期段階におけるレビュー
を実施します。
😅
- 74.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
レビューを実施する場合は、全ての適切な関
係者がその対話に参加できるよう手配してく
ださい。何を実装しているのかチームが完全
に理解したのは、レビュー時が初めてだった
ということがよくあります。
😆
- 75.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
アーキテクチャの構築に携わったチームメン
バーが W-Aフレームワークを使用して継続的
にアーキテクチャをレビューすることをお勧
めします
😤
- 76.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
AWS Well-Architected Frameworkとは?
• 10年以上の経験、数多くのお客様と作りあげた
クラウド設計・運用のベストプラクティス集
• ベストプラクティスをご理解いただいた上で、
ビジネス的な判断を実施いただくための材料
• 定期的なレビューとKAIZENにより、
Well-Architected(クラウドにより最適化された)な
システムに
必ずしも全てがベストプラクティスに則っている必要は無い
で[検索]AWS Well-Architected black belt
- 77.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
残り10分…?
・・・の予定でした
- 78.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
残り10分…?
・・・の予定でした
投票の準備もよろしくお願いします!!
- 79.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
アマゾン ウェブ サービス ジャパン株式会社
ソリューションアーキテクト 塚越啓介
2019/02/23
GraphQL がどれだけすばらしいかを
わかってほしい
- 80.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Who am I ?
塚越 啓介(つかごし けいすけ)
Specialist Solution Architect
@Amazon Web Services Japan
Mobile / DevOps / Serverless / Microservices
好きなサービス: AppSync
好きな動物 : うさぎ
- 81.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
GraphQL
- 82.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
GraphQL って
イマイチ良さが
わからんのよね
- 83.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 84.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ぼくが思う GeaphQL のかわいいところ2選
1. リアルタイム処理の実装がめちゃくちゃ楽
2. フロントエンドエンジニアの心が安らぐ
- 85.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ぼくが思う GeaphQL のかわいいところ2選
1. リアルタイム処理の実装がめちゃくちゃ楽
2. フロントエンドエンジニアの心が安らぐ
- 86.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ぼくが思う GeaphQL のかわいいところ2選
1. チャットの実装がめちゃくちゃ楽
2. フロントエンドエンジニアの心が安らぐ
- 87.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Amazon Elasticsearch
Amazon DynamoDB
Browser
Mobile
device WebSocket
servers
Web servers
PubSub
servers
Subscription
/search
/taps
/taps/:id
/m_search
AWS Lambda
Third-party service
…
Before graphql
- 88.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
/graphql
AWS AppSync
Subscription Amazon Elasticsearch
Amazon DynamoDB
AWS Lambda
Third-party service
After graphql
- 89.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
もう一回
- 90.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Amazon Elasticsearch
Amazon DynamoDB
Browser
Mobile
device WebSocket
servers
Web servers
PubSub
servers
Subscription
/search
/taps
/taps/:id
/m_search
AWS Lambda
Third-party service
…
これが
- 91.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
/graphql
AWS AppSync
Subscription Amazon Elasticsearch
Amazon DynamoDB
AWS Lambda
Third-party service
こうなる
- 92.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ぼくが思う GeaphQL のかわいいところ2選
1. リアルタイム処理の実装がめちゃくちゃ楽
2. フロントエンドエンジニアの心が安らぐ
- 93.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
フロントエンドの実装って大変
• ユーザーとのインターフェース
• ユーザーが求めるエクスペリエンスは上昇傾向
• かっこいいデザイン、アニメーションの実装
• 細かいバグが目につきやすい
• フロントエンド実装の増加
• SPAとか PWA で複雑さは増す
• 大量の api endpoint
- 94.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
心がざわつく
ランキング1位
そんなフロントエンドエンジニアに聞いてみた
- 95.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
心がざわつく
ランキング1位
フロントエンドエンジニアに聞いてみた
※個人の見解です
- 96.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
API 仕様書が
間違ってる
- 97.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
API 仕様書が間違ってる (わかりづらい)
• エクセル仕様書
• メンテされてない仕様書
• Typo のある仕様書
• サンプルレスポンスの書いてない仕様書
- 98.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
GraphQL だと
• GraphQL 使うと補完でクエリかける
• 間違いがない
• わかりづらいエクセル仕様書ともおさらば
- 99.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
subscription {
onCreateComment{
id
}
}
mutation {
createEvent(name:”Dinner”){
id
}
}
query {
getEvent(id: 1){
id
name
}
}
Queries
Read Data
Mutations
Write Data
Subscriptions
Receive Data in Real-Time
GraphQL Operations
- 100.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
subscription {
onCreateComment{
id
}
}
mutation {
createEvent(name:”Dinner”){
id
}
}
query {
getEvent(id: 1){
id
name
}
}
Queries
Read Data
Mutations
Write Data
Subscriptions
Receive Data in Real-Time
GraphQL Operations
- 101.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
- 102.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
フロントエンドが意識することがすくなくなる
/posts /comments /authors
REST API
posts comments authors
GraphQL API
- 103.
© 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
AWS AppSync まとめ
1. リアルタイムの実装がめちゃくちゃ楽
2. フロントエンドエンジニアの心が安らぐ
簡単&平和
- 104.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
AWS Loft Tokyo の
ASK AN EXPERT ブースにおける
ご相談/ご対応ログ を
AWS Cloud9 を使って分析してみました :)
- 105.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
篠原 英治(しのはら えいじ)
Twitter: @shinodogg
Blog: https://shinodogg.com
2013年8月: AWS Japan入社
2017年4月: 筑波MBA-IB入学
神奈川県海老名市出身です。
AWS Loft Tokyoをよろしくお願いします
- 106.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
AWS Loft Tokyo? ASK AN EXPERT?
- 107.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ASK AN EXPERT @ AWS Loft Tokyo
🚀- 2018年10月のオープン以降、毎月平均 200件 以上
のご相談を承っています!
AWSの中の人的にも、
ナレッジの宝庫!
StartupもしくはDeveloperの
方は是非お気軽に技術なお
話をしにきてください
- 108.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9
- 109.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Analyzing ASK AN EXPERT Logs 🚀
Tokenization Word2Vec
- 110.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Analyzing ASK AN EXPERT Logs 🚀
Tokenization
from janome.tokenizer import Tokenizer
〜略〜
t = Tokenizer("userdic.csv", udic_enc="utf8")
f = io.open('./sodan.txt', 'r', encoding='utf-8’)
〜略〜
tokens = t.tokenize(line)
for token in tokens:
partOfSpeech = token.part_of_speech.split(',')[0]
if partOfSpeech == u'名詞’:
if token.surface == ‘https’: pass
elif token.surface.isnumeric(): pass
else: sodan_words.append(token.surface)
https://github.com/mocobeta/janome
- 111.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
Analyzing ASK AN EXPERT Logs 🚀
Word2Vec
from gensim.models import word2vec
〜略〜
sodan_sentences = word2vec.Text8Corpus('./sodan_words.txt')
sodan_model = word2vec.Word2Vec(sodan_sentences, size=200,
min_count=20, window=15)
〜略〜
results = sodan_model.wv.most_similar(positive=[u'相談'])
for result in results:
print(result)
https://github.com/RaRe-Technologies/gensim
- 112.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ASK AN EXPERT Logs 🚀
- ご相談 Word Count
1. AWS: 102
2. サービス: 75
3. データ: 73
4. EC2: 72
5. S3: 69
6. 方法: 69
7. Lambda: 65
8. RDS: 63
9. API: 58
10. ECS: 54
- “相談” Word2Vec
1. RDS: 0.99983555078
2. AWS: 0.99983465671
3. Lambda: 0.99982690
4. S3: 0.9998263120651
5. ECS: 0.999825358390
6. 接続: 0.9998191595
7. サービス: 0.99981522560
8. 方法: 0.9998108744
9. コンテナ: 0.9998096227
10. アクセス: 0.99980700016
- 113.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
ASK AN EXPERT Logs 🚀
- ご対応 Word Count
1. 案内 : 197
2. 説明: 132
3. S3: 102
4. 確認: 101
5. 紹介: 90
6. AWS: 88
7. Lambda: 86
8. aws: 84
9. 必要: 80
10. 設定: 77
- “案内” Word2Vec
1. 説明: 0.99997127056
2. 確認: 0.99996846914
3. Lambda: 0.99996554851
4. 対応: 0.99996536970
5. amazon: 0.99996304512
6. AWS: 0.9999612569
7. サポート: 0.99996078014
8. 利用: 0.99995958805
9. ため: 0.99995875358
10. 必要: 0.99995803833
- 114.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
AWS Loft Tokyo - ASK AN EXPERT
Logs• EC2/RDS/S3といったベーシックなサービスに関するご相談
も数多く寄せられている ⇒ 大丈夫、怖くない!
• もちろんLambdaやコンテナ技術の活用に関する実践的でハ
イレベルなご相談も! ⇒ 嬉しい
• AWSの人間からはAWSサポートのご活用も含めて誠意ある
ご対応をさせていただいております(*´∀`*)
よろず承りますので、お気軽にAWS Loft Tokyoの
“ASK AN EXPERT”ブースへお越しください
- 115.
- 116.
© 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
投票開始!!
http://etc.ch/Xr47