Introducing Serverless Computing (20160802)

  • Published on
    16-Apr-2017

  • View
    3.405

  • Download
    1

Embed Size (px)

Transcript

<ul><li><p>Introducing Serverless ComputingKeisuke Nishitani (@Keisuke69)</p><p>Amazon Web Services Japan K.K.Aug 2, 2016</p></li><li><p>ProfileKeisuke NishitaniSolutions Architect, Amazon Web Service Japan K.K</p><p>@Keisuke69 Keisuke69</p><p> 1 REST Lambda Wizards</p><p> : http://keisuke69.hatenablog.jp/</p><p>Keisuke69 Keisuke69Keisuke69x</p></li><li><p>What is Serverless Computing?</p></li><li><p>AWSCompute</p><p>Amazon EC2 Amazon ECS AWS Lambda</p><p> OS </p></li><li><p>AWSCompute</p><p>Amazon EC2 Amazon ECS AWS Lambda</p><p> OS </p><p> OS</p><p> OS</p><p> OS</p></li><li><p>AWSCompute</p><p>Amazon EC2 Amazon ECS AWS Lambda</p><p> OS </p><p> OS</p><p> OS</p><p> OS</p><p>Serverless</p></li><li><p>AWS Lambda</p></li><li><p>Real-time File Processing</p><p>1</p><p>2</p><p>31.</p><p>Amazon S32.</p><p>AWS Lambda</p></li><li><p>Real-time Stream Processing </p><p>1.Amazon Kinesis</p><p>2.AWS Lambda</p></li><li><p>Extract, Transform and Load</p><p>1.NoSQLAmazon DynamoDB</p><p>2.Amazon Lambda</p><p>3.DWHAmazon Redshift</p></li><li><p>Serverless Web and Mobile ApplicationsAmazon S3AWS Lambda HTTPAmazon API Gateway NoSQLAmazon DynamoDB</p><p>AWS Lambda</p><p>Amazon DynamoDB</p><p>API Gateway</p><p>Amazon S3 </p></li><li><p>:Alexa + Slack = Serveless bot!</p><p>Alexa""Slack</p><p>Kevin"!"</p><p>Slack API</p><p>Slack</p></li><li><p>Real-Time Message Handling</p><p>New message published</p><p>Amazon SNS AWS Lambda</p><p>Amazon SNS</p><p>Amazon Kinesis</p></li><li><p>Audit CloudTrail Activity</p><p>AWS Lambda</p><p>Amazon S3Amazon CloudTrail</p><p>Amazon SNS</p><p>AWS IAM</p></li><li><p>Automated Infrastructure Management</p><p>AWS Lambda</p><p>Amazon SNS</p><p>Amazon CloudWatch Alarm</p><p>ec2runInstance</p><p>ecsstartTask</p><p>beanstalkupdateApp</p><p>kinesissplitShard</p><p>Any API call</p><p>https://aws.amazon.com/blogs/compute/scaling-amazon-ecs-services-automatically-using-amazon-cloudwatch-and-aws-lambda/</p></li><li><p>Forward AWS Events to External Endpoints</p><p>http://danilop.net/aws/2015/07/26/sns2ifttt/ |https://github.com/danilop/SNS2IFTTT</p><p>AWS Lambda</p><p>Amazon SNS</p><p>IFTTT via the Maker channel</p><p>Amazon CloudWatch Events</p><p>Auto Scaling</p></li><li><p>Deploy Lambda Functions</p><p>https://aws.amazon.com/blogs/compute/dynamic-github-actions-with-aws-lambda/</p><p>AWS Lambda</p><p>Amazon SNS</p><p>GitHub Repo</p><p>lambda createFn ()</p></li><li><p>VidRoll EC2</p><p> IT</p><p> API Gateway</p><p>Lambda </p><p> 10</p></li><li><p>Legacy Architecture</p><p>Limelight Edge</p><p>Laptop Encoders</p><p>RTMPWowza Transmux </p><p>Servers</p><p>Wowza Transcode Servers</p><p>Wowza Record Servers</p><p>RTMP</p><p>RTMP</p><p>RTMP</p><p>Auto Uploader</p><p>MP4 HLS</p><p>S3 VOD bucket</p><p>CloudFront mobile client</p><p>Live Streaming</p><p>VOD</p><p>CloudFront mobile clientHLS</p><p>HLS</p></li><li><p>Current Architecture</p><p>Laptop Encoders</p><p>HLS</p><p>S3 Playback</p><p>VOD Stream mobile client</p><p>CloudFront Streaming</p><p>Live stream mobile client</p><p>CloudFront S3 Ingest</p><p>480p Transcode</p><p>HQ Copy</p><p>360p Transcode</p><p>Audio-only Transcode</p><p>Thumbnail</p><p>QOS Analytics</p><p>Cascading Lambda Functions</p></li><li><p>easy tenMobile app that helps you learn 10 new, foreign words a day</p><p>Users have learned</p><p>170 000 000+new words</p><p>1 200 000+downloads</p><p> Featured in 85+ countries Top 5 grossing apps overall (Russia) Top 8 grossing apps overall (Brazil)</p></li><li><p>EC2</p><p>/</p></li><li><p>Lambda consumer</p><p>S3</p><p>Mobile Analytics</p><p>DynamoDB</p><p>SQS</p><p>Amazon EMR</p><p>Amazon Cognito</p><p>Amazon Kinesis</p><p>Mobile app</p><p>Amazon Redshift</p><p>Lambda interface</p><p>S3 dump</p><p>DynamoDB log</p><p>Microservice Core</p></li><li><p> 819() Serverless 1457</p></li></ul>