45
© 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc. Amazon AppStream Collin Davis & Jerry Heinz March 26, 2014

Getting Started with Amazon AppStream

Embed Size (px)

DESCRIPTION

Amazon AppStream is a new service that provides developers with the ability to stream resource intensive applications, such as 3D games or rich graphical applications, from the cloud. With Amazon AppStream, mobile and PC developers have the flexibility to stream their entire application or only parts of their application that need additional cloud resources. Learn how to build, upload, and deploy your first application, how to create clients for PC and mobile devices, and considerations for optimizing your application for Amazon AppStream.

Citation preview

Page 1: Getting Started with Amazon AppStream

© 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc.

Amazon AppStream

Collin Davis & Jerry Heinz

March 26, 2014

Page 2: Getting Started with Amazon AppStream

Tradeoffs

Page 3: Getting Started with Amazon AppStream

What is Amazon AppStream?

• Render Content in the Cloud

• Stream to any device

• Scale on Demand

• Enjoy Responsive, Fluid, HD-Experience

• Host Entire Application or Only Part

Page 4: Getting Started with Amazon AppStream
Page 5: Getting Started with Amazon AppStream

The EC2 G2.2XLarge Instance

• 15 GiB memory

• 8 vCPUs, 26 EC2 Compute Units

• 1 x NVIDIA GRID GPU

• 60 GB SSD

• 64-bit platform

Page 6: Getting Started with Amazon AppStream

Benefits of Amazon AppStream

Removes Device

Constraints

Saves Development

Time

Instant-On Delivery

Simplifies Updates

Improves Security

Page 7: Getting Started with Amazon AppStream

Deploying an Application

Page 8: Getting Started with Amazon AppStream

Benefits of Amazon AppStream

Removes Device

Constraints

Saves Development

Time

Instant-On Delivery

Simplifies Updates

Improves Security

Page 9: Getting Started with Amazon AppStream

Removes Device Constraints

• App development is not

limited by end-users’

hardware

• AppStream helps reach

broadest audience

• Users get rich experience

on broad device range

Page 10: Getting Started with Amazon AppStream

Saves Development Time

Write complex code once, deploy to:

Page 11: Getting Started with Amazon AppStream

Instant-On Delivery

• Users can start using application immediately

• No large file downloads

• No time-consuming installations

• A 700MB application can become 5MB

Page 12: Getting Started with Amazon AppStream

Simplifies Updates

• Provide a new application version to AppStream

• Immediately upgrade all users

• No action on users’ part

Page 13: Getting Started with Amazon AppStream

Improves Security

• Your application is never downloaded to the users

device

• Data is streamed as video

• Create Entitlement Service to authorize connections

• Clients connect to Entitlement Service for access

• Your application is secured in AWS Cloud

Page 14: Getting Started with Amazon AppStream

Automatic Scaling

• Based on the limits you set your application

• The AppStream service takes care of scaling

• AppStream uses the G2.2XLarge Instance

• You can focus on your application, not infrastructure

Page 15: Getting Started with Amazon AppStream

Customer Use Cases

3D CAD Design

Medical Imaging

MediaVideo

GamesConsumer Electronics

Productivity Applications

Page 16: Getting Started with Amazon AppStream

Let’s check on that Deployment…

Page 17: Getting Started with Amazon AppStream

Customer Use Cases

3D CAD Design

Medical Imaging

MediaVideo

GamesConsumer Electronics

Productivity Applications

Page 18: Getting Started with Amazon AppStream

• Only runs on high-end hardware, Expensive per-seat software licenses

Use Case: CAD / 3D Design

Page 19: Getting Started with Amazon AppStream

Use Case: Video Games• Best game experience requires high-end hardware

• Large upfront download hurts adoption

Page 20: Getting Started with Amazon AppStream

• Device Portability, Immediate Collaboration

Use Case: Medical Imaging

Page 21: Getting Started with Amazon AppStream

Use Case: Consumer Electronics• Less capable hardware limits creativity

Page 22: Getting Started with Amazon AppStream

• Video / Film Production applications require high-end hardware & Bandwidth constraints limit

creative UI

Use Cases: Media

Page 23: Getting Started with Amazon AppStream

Use Cases: Productivity Applications

• Running Custom Applications on broader sets of hardware.

Page 24: Getting Started with Amazon AppStream

STX Protocol

Page 25: Getting Started with Amazon AppStream
Page 26: Getting Started with Amazon AppStream
Page 27: Getting Started with Amazon AppStream

STX: Real-Time Adaptive Video/Audio Protocol

TCP / TLS for Control & Input

UDP / RTP for Video, Audio, and FEC

UDP / RTCP for Video, Audio, and FEC

Assures a smooth, low-latency,

HD experience

Encoder

Developer Code

Input &

Control

API

Audio

API

Video

API

Adaptive Streaming

Controller

AppStream Host

Page 28: Getting Started with Amazon AppStream

STX: Real-Time Adaptive Video/Audio Protocol

TCP / TLS for Control & Input

UDP / RTP for Video, Audio, and FEC

UDP / RTCP for Video, Audio, and FEC

H.264 and OPUS Audio

Encoder

Developer Code

Input &

Control

API

Audio

API

Video

API

Adaptive Streaming

Controller

AppStream Host

Page 29: Getting Started with Amazon AppStream

STX: Real-Time Adaptive Video/Audio Protocol

TCP / TLS for Control & Input

UDP / RTP for Video, Audio, and FEC

UDP / RTCP for Video, Audio, and FEC

Adaptive Encoding

Encoder

Developer Code

Input &

Control

API

Audio

API

Video

API

Adaptive Streaming

Controller

AppStream Host

Page 30: Getting Started with Amazon AppStream

STX: Real-Time Adaptive Video/Audio Protocol

TCP / TLS for Control & Input

UDP / RTP for Video, Audio, and FEC

UDP / RTCP for Video, Audio, and FEC

Adapts to 70+ data points every second

Encoder

Developer Code

Input &

Control

API

Audio

API

Video

API

Adaptive Streaming

Controller

AppStream Host

Page 31: Getting Started with Amazon AppStream

STX: Real-Time Adaptive Video/Audio Protocol

TCP / TLS for Control & Input

UDP / RTP for Video, Audio, and FEC

UDP / RTCP for Video, Audio, and FEC

User input returned on over TCP

Encoder

Developer Code

Input &

Control

API

Audio

API

Video

API

Adaptive Streaming

Controller

AppStream Host

Page 32: Getting Started with Amazon AppStream

How Much Does it Cost?

• Free to try for up to 20 hours per month

• $0.83/hr including:– Compute Power of G2 in AWS

– Bandwidth

– Windows License

– Automatic Scaling

– STX Protocol

• No up front commitments

• Pay only for the time your customers stream

Page 33: Getting Started with Amazon AppStream

What About Latency?

Page 34: Getting Started with Amazon AppStream

Latency =

Time for your application

to react to user input

Page 35: Getting Started with Amazon AppStream

Tolerance of latency varies by individual and

by the type of application.

Page 36: Getting Started with Amazon AppStream

Deployment…

Page 37: Getting Started with Amazon AppStream

Putting it all together

Page 38: Getting Started with Amazon AppStream

Streaming Your Application

Your Client

AppStream Host

AppStream Service

Your Entitlement Service

Page 39: Getting Started with Amazon AppStream

Request Authorization

Your Client

AppStream Host

AppStream Service

Your Entitlement Service

Page 40: Getting Started with Amazon AppStream

Create a Session

Your Client

AppStream Host

AppStream Service

Your Entitlement Service

Page 41: Getting Started with Amazon AppStream

Create a Session

Your Client

AppStream Host

AppStream Service

Your Entitlement Service

Page 42: Getting Started with Amazon AppStream

Redeem Entitlement

Your Client

AppStream Host

AppStream Service

Your Entitlement Service

Page 43: Getting Started with Amazon AppStream

Start Streaming Your Application

Your Client

AppStream Host

AppStream Service

Your Entitlement Service

Page 44: Getting Started with Amazon AppStream

Demo…

Page 45: Getting Started with Amazon AppStream

To Recap…

Removes Device

Constraints

Saves Development

Time

Instant-On Delivery

Simplifies Updates

Improves Security

Generally available. Free to try.