Successfully reported this slideshow.
Your SlideShare is downloading. ×

Anchors Aweigh!! - re:Invent報告@re:Port 2016 大阪

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
AWS Serverless++
AWS Serverless++
Loading in …3
×

Check these out next

1 of 28 Ad

More Related Content

Slideshows for you (20)

Viewers also liked (11)

Advertisement

Similar to Anchors Aweigh!! - re:Invent報告@re:Port 2016 大阪 (20)

More from 真吾 吉田 (20)

Advertisement

Recently uploaded (20)

Anchors Aweigh!! - re:Invent報告@re:Port 2016 大阪

  1. 1. 2016.12.13 株式会社セクションナイン 吉田真吾 Anchors Aweigh !!
  2. 2. 吉田真吾 n バックグラウンド 証券システム基盤開発 p 基盤開発、Oracleチューニングなど エバンジェリスト p 講演年間113回(2013年実績) p AWS設計・構築・移行(2014-2015) n 現在のしごと (株) セクションナイン 代表取締役社長 p AWSコンサルティング〜実装まで (株) Cloud Payment p 技術顧問 n 実績等 p AWSウルトラクイズ 初代チャンピオン (2012年) p AWS Samurai 2014 p AWSエキスパート養成読本 執筆 p AWS認定全資格(5種類)保持 p Oracle Database 11g認定 (OCP, Performance Tuning)保持
  3. 3. The Moment 💕 Elastic Beanstalk Applications Environment Prod
  4. 4. The Moment 💕 Elastic Beanstalk Applications Environment Environment Prod Dev Swap URL
  5. 5. The Moment 💕 Elastic Beanstalk Applications Environment Environment Prod Dev _⼈⼈⼈⼈⼈⼈⼈⼈⼈⼈⼈⼈_ > なんてダイナミック! <  ̄Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄
  6. 6. Amazon Lightsail https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/
  7. 7. https://aws.amazon.com/blogs/aws/aws-managed-services-infrastructure-operations-management-for-the-enterprise/ エンタープライズ向けの MSP (ITILに基づくITサー ビスマネジメントを行う ような)
  8. 8. AWS re:Invent 2016 • 2016/12/5(月)-9(金):5日間 • 参加者 32000人 • 2012年は6000人でした • 開催5回目 • 私皆勤賞です • 400〜500のセッション • 29の新発表 • Martin Garrix @ re:Play (No.1 DJ @TOP 100 DJs 2016) https://aws.amazon.com/jp/about-aws/events/reinvent2016-1129/
  9. 9. AWS売上高 $0 $5,000 $10,000 2013 2014 2015 2016 百万 (x100万) 予測 サービス数 l 2006 : 4 l 2007 : 5 l 2008 : 6 l 2009 : 11 l 2010 : 13 l 2011 : 20 l 2012 : 27 l 2013 : 35 l 2014 : 46 l 2015 : 61 l 2016:90くらい ※サービスとしてカウントするかどうかで数字は変わります APNプレミアコンサルティングパートナー 2013 17 2014 22 2015 28 2016 46 AWS Shield Amazon Athena AWS Glue AWS Batch AWS Step Functions Amazon Lex Amazon Polly Amazon Rekognition Amazon Lightsail AWS CodeBuild New Services & Enhancement 2017 55 AWS X-Ray AWS Snowmobile Amazon Pinpoint Amazon EC2 F1: FPGA Elastic GPU C5/R4/I3 T2: xlarge/2xlarge Systems Manager Lambda C# Lambda@Edge AWS Greengrass AWS Snowball Edge VMware on AWS Cloud AWS Personal Health Dashboard AWS OpsWorks for Chef Automate
  10. 10. Lambdaはあらゆるアーキテクチャにおける 実行環境つきのコンポーネントになる May the FaaS be with us! AWS re:Invent 2016 感想
  11. 11. サーバーレス関連アップデート • AWS Lambda が環境変数をサポート • AWS Serverless Application Model (SAM) リリース • [New] AWS Greengrass • [New] AWS Snowball Edge • [New] AWS Step Functions • [New] Lambda@Edge • Amazon Kinesis Firehose が Lambda に対応(予定) • AWS Lambda が C# をサポート • AWS Lambda Dead Letter Queue
  12. 12. AWS Serverless Application Model (SAM) • サーバーレスアプリケーション全体 を CloudFormation テンプレートで 管理できる • Lambda、API Gateway、 DynamoDB がサポートされている • 個人的には今後チーム開発はこれが もっともやりやすく(Serverless FrameworkやChaliceより)なるん じゃないかと想定 https://github.com/awslabs/serverless-application-model
  13. 13. AWS Serverless Application Model (SAM) functions app-spec (template) functions.zip Lambda bucket DynamoDB stack CloudFormation API Gateway SAM http://yoshidashingo.hatenablog.com/entry/2016/12/05/024120
  14. 14. Why NOT CodeBuild ?? machine: timezone: Asia/Tokyo dependencies: override: - sudo pip install awscli post: - aws configure set region $REGION test: override: - echo "Nothing to do here” deployment: production: branch: master commands: - zip app.zip index.js - aws cloudformation package --template-file app-spec.yml --output-template-file app-spec.deploy --s3-bucket $S3_BUCKET_NAME - aws cloudformation deploy --template-file app-spec.deploy --stack-name $STACK_NAME --capabilities CAPABILITY_IAM circle.yml 環境変数がないとお話にならない…
  15. 15. Lambda Everywhere!! Snowball Edge Greengrass AWS IoT Greengrass Core IoT SDK Gateway edge location edge location Origin Lambda@Edge Step Functions Inline processing for Kinesis Firehose
  16. 16. AWS Lambda Dead Letter Queues (DLQ) • 非同期でLambda Functionを呼び出す場合 のリトライはデフォルト で2回(計3回) • SQSあるいはSNSトピッ クにエラーイベントを送 信することで、メール通 知やリトライの継続など を制御できるように https://aws.amazon.com/jp/blogs/compute/robust-serverless-application-design-with-aws-lambda-dlq/
  17. 17. Amazon Lightsail • みんな大好きVPS • ミドルウェアセット アップ済みも選択可能 • WordPress、Nginx、 Node.jsなど https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/ • 3クリックで起動 • ポート(Security Groups 相当)編集可能
  18. 18. Amazon Lightsail • 今のところUS-EASTのみ https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/ • ブラウザで簡単にSSH (クライアントからも可)
  19. 19. Amazon Lightsail https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/
  20. 20. Amazon Lightsail https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/
  21. 21. Amazon Lightsail https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/
  22. 22. https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/
  23. 23. Amazon Lightsail https://aws.amazon.com/jp/blogs/news/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/ $ ab -c 100 -n 10000 http://54.86.210.133/ Server Software: nginx/1.10.2 Server Hostname: 54.86.210.133 Server Port: 80 Document Path: / Document Length: 3966 bytes Concurrency Level: 100 Time taken for tests: 200.566 seconds Complete requests: 10000 Failed requests: 0 Total transferred: 42520000 bytes HTML transferred: 39660000 bytes Requests per second: 49.86 [#/sec] (mean) Time per request: 2005.659 [ms] (mean) Time per request: 20.057 [ms] (mean, across all concurrent requests) Transfer rate: 207.03 [Kbytes/sec] received : : でも結構弱そう
  24. 24. (1)サバ缶のジョークが通じない (2)サーバーレスへのパラダイムシフト (3)3クリックでセットアップできるVPS (3)AWS謹製MSP MSPの行く末 つらみ この先生きのこるには →こっそり教えます

×