SlideShare a Scribd company logo
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
ekman.rasmus
さて、自己紹介
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
AWS Rapid Pace of Innovation
2009
Amazon RDS
Amazon VPC
Auto Scaling
Elastic Load
Balancing
+48
2010
Amazon SNS
AWS Identity
& Access
Management
Amazon Route 53
+61
2011
Amazon
ElastiCache
Amazon SES
AWS
CloudFormation
AWS Direct
Connect
AWS Elastic
Beanstalk
GovCloud
+82
Amazon
CloudTrail
Amazon
CloudHSM
Amazon
WorkSpaces
Amazon Kinesis
Amazon Elastic
Transcoder
Amazon
AppStream
AWS OpsWorks
+280
2013
Amazon SWF
Amazon Redshift
Amazon Glacier
Amazon
Dynamo DB
Amazon
CloudSearch
AWS Storage
Gateway
AWS Data
Pipeline
+159
2012
• 1,111の新サービス/新機能をリリース
• 40以上のメジャーサービスを提供
• 45回の値下げ
• 100万以上のアクティブユーザー
• 2013 Q3から2014 Q3で
• EC2が年間 99%の成長
• S3が年間 137%の成長
2008
+24
Amazon EBS
Amazon
CloudFront
+454
2014
Amazon Cognito
Amazon Zocalo
Amazon Mobile
Analytics
*as of Nov 13, 2014
AWS Directory
Service
Amazon RDS for Aurora
AWS CodeDeploy
AWS Lambda
AWS Config
AWS Key Management
Service
AWS Service Catalog
Amazon EC2
Container Service
AWS CodePipeline
AWS CodeCommit
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
GameDay
IoTハッカソン
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
Skrillexによるライブ
様々なゲーム
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
1.Amazon RDS for Aurora
9.AWS Lambda
10.S3 Event Notification
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
クラウドのために再発明したリレーショナルデータベース
… ハイエンドな商用データベースが持つ高速性と信頼性
… オープンソースデータベースが持つシンプルさと優れた費用対効果
… すぐに切り替えできるMySQLとの互換性
… シンプルな pay as you go の価格体系
これらをマネージドサービスとして提供
スループット向上
安定した
スループット
同時実行性の改善
ブレのない
低レイテンシー
SQL
Transactions
Caching
StorageStorage
data page
generation
StorageStorage
AZ 1 AZ 2
DB logs
Aurora Master
30% Read
70% Write
Aurora Replica
100% New
Reads
Page cache
invalidation
Cross-AZ Data Volume
Auroraの読み取りスケール
 ログ適用不要
 マスターの負荷を軽減し、15レプリカま
で作成可能
 100ms未満のレプリカ遅延
 データ損失のないフェイルオーバー
MySQL Master
30% Read
70% Write
MySQL Replica
30% New Reads
70% Write
Single threaded
binlog apply
Data Volume Data Volume
Aurora
Node
StorageStorage
data page
generation
StorageStorage
AZ 1 AZ 2
DB logs
AuroraはMySQLよりも確実に高い可用性を実現
Customer VPC
AZ 1 AZ 2
MySQL App
JDBC/ODBC
Read
Node
Master
Node
Amazon S3 Backups
Internal
VPC
StorageStorageStorage Storage
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
• イベントをトリガーに、お客様独自のコードを稼働させる
Computeサービス
– Lambda実行環境はAWSが管理
• インスタンスやOS等インフラの管理不要
– Lambda function(Javascriptコード)をデプロイするだけで動作
– 毎日数件から毎秒数千件のリクエストまで自動的にスケール
– 実際にコードが稼働した時間に対してのお支払
• EC2インスタンス費用が不要
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
Lambda function
• JavaScript(Node.js)で記述
• コードはZip形式にしてアップロードか、コンソール上で直接記述
– 各種ライブラリはZipファイルに含めることで利用可能
• メモリ容量はデフォルトで128MB
– 64MBごとに設定可能。容量に応じてCPU能力も変動
• 実行時間のタイムアウトはデフォルトで3秒、最大60秒まで
• Lambda functionの起動と実行でそれぞれIAM Roleを設定
• /tmpに対してread/write可能
– 容量は512MBまで
Followers
構成例: Lambdaを用いた写真共有モバイルアプリ
2. メタデータを登録
• タイトル、コメント等
Post
1. 認証・認可
• FBアプリと連携
4. Push通知
• フレンドやフォロワーに通知
Cognito
Mobile Analytics
DynamoDB
S3
SNS
5. ログ
• 画像をポストしたことをAnalyticsに登録
3. Lambdaによる画像の取得とリサイズ、S3へのアップロード
• DynamoDBにメタデータが登録をトリガーに起動。
画像を取得してS3にアップ、結果をSNSに通知。
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
クラウドのインパクトを
歴史上の出来事に例えると・・・
発電機所有が差別化要因だった時代の終焉
「発電機を持つ」ことは
差別化要因ではなくなった
「電気を利用してて何を創造するか」が
大きな差別化要因に。
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
AWSトレーニングプロダクト
認定プログラム
aws.amazon.com/certification
AWSの知識レベルの
証明
セルフペースラボ
aws.amazon.com/training/self-paced-labs aws.amazon.com/training
トレーニング
自信を持ってAWS上で
設計、開発、運用ができるよう
になるAWS知識やスキルを習得
する。(集合研修)
自習(ハンズオン)を行うことで、
AWSサービスに慣れ、さらに
新しい知識を吸収し、AWS経
験値を上げる。
AWSトレーニングプロダクト
認定プログラム
aws.amazon.com/certification
AWSの知識レベルの
証明
セルフペースラボ
aws.amazon.com/training/self-paced-labs aws.amazon.com/training
トレーニング
自信を持ってAWS上で
設計、開発、運用ができるよう
になるAWS知識やスキルを習得
する。(集合研修)
自習(ハンズオン)を行うことで、
AWSサービスに慣れ、さらに
新しい知識を吸収し、AWS経
験値を上げる。
BIG NEWS!
つい今週北海道の認定試験会場が発表
されました!
https://reinvent.awsevents.com/
http://www.slideshare.net/AmazonWebServices
http://aws.amazon.com/jp/blogs/aws/
http://aws.typepad.com/aws_japan/
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ
http://www.slideshare.net/AmazonWebServices/bdt201
https://www.youtube.com/watch?v=JIQETrFC_SQ
http://www.slideshare.net/AmazonWebServices/spot301-
aws-innovation-at-scale-aws-reinvent-2014
https://www.youtube.com/watch?v=QVvFVwyElLY
https://www.youtube.com/watch?v=yHSu
K_k3dxU
http://www.slideshare.net/AmazonWebServices/
sdd415-new-launch-amazon-aurora-amazons-
new-relational-database-engine-aws-reinvent-
2014
http://www.slideshare.net/AmazonWebServices/
app315-cocacola-migrating-to-aws-aws-reinvent-
2014
https://www.youtube.com/watch?v=mP46FviScYQ
http://www.slideshare.net/AmazonWebServices/pfc308-how-
dropbox-scales-massive-workloads-using-amazon-sqs-aws-
reinvent-2014
http://www.slideshare.net/AmazonWebServices/bdt403-
netflixs-next-generation-big-data-platform-aws-reinvent-
2014
https://www.youtube.com/watch?v=F5uEGduzcmM
http://www.slideshare.net/AmazonWebServices/dev301-
advanced-usage-of-the-aws-cli-aws-reinvent-2014
Please give us your feedback on this
presentation

More Related Content

PPTX
AWS re:Invent 2018 参加報告
PPTX
Architectingforhighavailability 170629010328
PDF
Serverless Architecture on AWS (20151201版)
PDF
Serverless Architecture on AWS(20151023版)
PDF
Architecting+for+high+availability
PDF
AWS Update 2011/10
PDF
151219 第12回 JAWS-UG クラウド女子会 AWSサービス人気投票総選挙結果 #jawsug #cloudgirl @applebear_ayu
PDF
Serverless Architecture on AWS(20151121版)
AWS re:Invent 2018 参加報告
Architectingforhighavailability 170629010328
Serverless Architecture on AWS (20151201版)
Serverless Architecture on AWS(20151023版)
Architecting+for+high+availability
AWS Update 2011/10
151219 第12回 JAWS-UG クラウド女子会 AWSサービス人気投票総選挙結果 #jawsug #cloudgirl @applebear_ayu
Serverless Architecture on AWS(20151121版)

What's hot (20)

PDF
AWS Management Pack for Microsoft System Centerによるクラウド管理
PDF
Ops jaws meetup#3
PPTX
MTのスケールアップパターン with AWS
PDF
20160629 aws well-architected
PDF
AWS Summit New York 2016 Recap : AWS Application Load Balancer and Amazon ECS
PPTX
AWS最新アップデート(2019年4月版)
PDF
Programming AWS with Perl at YAPC::Asia 2013
PDF
AWS Search Services
PDF
OpsJAWS 20160128
PDF
まる見え、AWS!! - JAWS UG 2015 -
PDF
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
PDF
AWS Lambdaによるサーバレスアーキテクチャの基本に触れてみよう!【kintone & AWS ハンズオン祭り2015秋 B-2】
PDF
2013.12.10 Classmethod re:Grwoth
PDF
Redisへと至る、gumiデータストアの歴史
PDF
AWS Lambda のご紹介 2015 JAWS沖縄
PDF
20151016 soracom-araki-02
PPTX
2016年10月のAWSサービスアップデートまとめ
PDF
VIOPS09 AWSで実現するクラウドと物理製品の融合
PDF
AWSにおける モバイル向けサービス及び事例紹介(20151211)
PDF
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
AWS Management Pack for Microsoft System Centerによるクラウド管理
Ops jaws meetup#3
MTのスケールアップパターン with AWS
20160629 aws well-architected
AWS Summit New York 2016 Recap : AWS Application Load Balancer and Amazon ECS
AWS最新アップデート(2019年4月版)
Programming AWS with Perl at YAPC::Asia 2013
AWS Search Services
OpsJAWS 20160128
まる見え、AWS!! - JAWS UG 2015 -
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
AWS Lambdaによるサーバレスアーキテクチャの基本に触れてみよう!【kintone & AWS ハンズオン祭り2015秋 B-2】
2013.12.10 Classmethod re:Grwoth
Redisへと至る、gumiデータストアの歴史
AWS Lambda のご紹介 2015 JAWS沖縄
20151016 soracom-araki-02
2016年10月のAWSサービスアップデートまとめ
VIOPS09 AWSで実現するクラウドと物理製品の融合
AWSにおける モバイル向けサービス及び事例紹介(20151211)
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
Ad

Similar to JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ (20)

PDF
20140418 aws-casual-network
PDF
G tech2016 クラウド時代に必要とされる組織と人材育成について
PDF
AWS Black Belt Online Seminar 2016 AWS CloudFormation
PDF
[AWS Summit 2012] Intel presents ランチセッション 今更聞けないAWSクラウド入門
PPTX
201312クラウド女子会
PDF
アマゾンのクラウドサービス
PDF
拡がるクラウドの利用用途 - AWSの強みとクラウド活用最新事例 -
PDF
AWS re:Invent 2018 アップデート紹介 re:Invent Media & Entertainment Launches
PDF
aws mackerel twilio_handson_public
PDF
Amazon s3へのデータ転送における課題とその対処法を一挙紹介
KEY
AWSアップデート (2012-08-27 JAWS-UG 札幌 第7回 勉強会)
PPTX
NoSQL on AWSで作る最新ソーシャルゲームアーキテクチャ
PDF
AWS re:Invent レポート:AWS使いがいますぐすべき3つのこと
PDF
EC-CUBE & AWS Hands-on
PDF
AWSについて @ JAWS-UG 沖縄 CMS祭り!
PDF
Security Night #1 AWSのセキュリティアプローチとTLS
PDF
クラウド連携のキモは管理用API
PDF
Config rulesを1年ほど使い続けて分かったこと
PDF
AWS Black Belt Techシリーズ AWS IAM
PDF
PRD-008_クラウド ネイティブ ERP ~Dynamics AX のアーキテクチャ/環境構築から開発/運用まで~
20140418 aws-casual-network
G tech2016 クラウド時代に必要とされる組織と人材育成について
AWS Black Belt Online Seminar 2016 AWS CloudFormation
[AWS Summit 2012] Intel presents ランチセッション 今更聞けないAWSクラウド入門
201312クラウド女子会
アマゾンのクラウドサービス
拡がるクラウドの利用用途 - AWSの強みとクラウド活用最新事例 -
AWS re:Invent 2018 アップデート紹介 re:Invent Media & Entertainment Launches
aws mackerel twilio_handson_public
Amazon s3へのデータ転送における課題とその対処法を一挙紹介
AWSアップデート (2012-08-27 JAWS-UG 札幌 第7回 勉強会)
NoSQL on AWSで作る最新ソーシャルゲームアーキテクチャ
AWS re:Invent レポート:AWS使いがいますぐすべき3つのこと
EC-CUBE & AWS Hands-on
AWSについて @ JAWS-UG 沖縄 CMS祭り!
Security Night #1 AWSのセキュリティアプローチとTLS
クラウド連携のキモは管理用API
Config rulesを1年ほど使い続けて分かったこと
AWS Black Belt Techシリーズ AWS IAM
PRD-008_クラウド ネイティブ ERP ~Dynamics AX のアーキテクチャ/環境構築から開発/運用まで~
Ad

More from Rasmus Ekman (9)

PDF
クラウドが拓いたITの進化
PPTX
センサーからコグニティブまで、IoTの本当のフルスタックとは?
PPTX
APIエコノミー (金融編)
PPTX
APIエコノミーの現状と今後の期待
PPTX
金融業界におけるAPIエコノミー / Fintech meetup / IBM
PDF
APIエコノミーで日本をよくしましょう
PPTX
AWSでのバースト ― GP2 T2 ご紹介資料
PPTX
AWS - an introduction to bursting (GP2 - T2)
PPTX
Rethinking the database for the cloud (iJAWS)
クラウドが拓いたITの進化
センサーからコグニティブまで、IoTの本当のフルスタックとは?
APIエコノミー (金融編)
APIエコノミーの現状と今後の期待
金融業界におけるAPIエコノミー / Fintech meetup / IBM
APIエコノミーで日本をよくしましょう
AWSでのバースト ― GP2 T2 ご紹介資料
AWS - an introduction to bursting (GP2 - T2)
Rethinking the database for the cloud (iJAWS)

JAWS札幌 re:Invent 2014レポート ― サーバレスの時代へ

Editor's Notes

  • #4: :30
  • #5: :15 The first step in moving to the cloud is to make the business case. You have to be able to communicate the benefits and offset those with the investment needed to make the move and risks associated with change.
  • #6: :30
  • #16: :15 The first step in moving to the cloud is to make the business case. You have to be able to communicate the benefits and offset those with the investment needed to make the move and risks associated with change.
  • #19: :15 The first step in moving to the cloud is to make the business case. You have to be able to communicate the benefits and offset those with the investment needed to make the move and risks associated with change.
  • #21: So let’s talk a little about these benefits… Our goal with Aurora is to delivery 5x the read and write throughput of vanilla MySQL on the same hardware. We accomplish this in two ways: Eliminating performance bottles so we can consume all the resources (RAM, CPU, Network) Refactor MySQL into layers by scaling out the lowest quarter of the database Talk about quorums, micro benchmarks, lock manager improvements, caching improvements, heat management, log based writes Storage 10GB chunk 6 replicated six ways across three Azs Each 10GB chunk of your database volume is replicated six ways, across three Availability Zones. Amazon Aurora storage is fault-tolerant, transparently handling the loss of up to two copies of data without affecting database write availability and up to three copies without affecting read availability. Amazon Aurora storage is also self-healing. Data blocks and disks are continuously scanned for errors and replaced automatically.
  • #22: Use cases
  • #24: Theft and corruption
  • #34: Charged based on the number of requests for your functions the time your code executes Requests (all regions) First 1 million requests per month are free $0.20 per 1 million requests thereafter ($0.0000002 per request) Duration (all regions) Calculated as runtime of your function Price depends on the amount of memory allocated Charged for each 100ms your function executes, rounded up to the nearest 100ms.
  • #44: :15 The first step in moving to the cloud is to make the business case. You have to be able to communicate the benefits and offset those with the investment needed to make the move and risks associated with change.
  • #51: :15 The first step in moving to the cloud is to make the business case. You have to be able to communicate the benefits and offset those with the investment needed to make the move and risks associated with change.