Upload
amazon-web-services
View
1.097
Download
1
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
© 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
Tradeoffs
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
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
Benefits of Amazon AppStream
Removes Device
Constraints
Saves Development
Time
Instant-On Delivery
Simplifies Updates
Improves Security
Deploying an Application
Benefits of Amazon AppStream
Removes Device
Constraints
Saves Development
Time
Instant-On Delivery
Simplifies Updates
Improves Security
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
Saves Development Time
Write complex code once, deploy to:
Instant-On Delivery
• Users can start using application immediately
• No large file downloads
• No time-consuming installations
• A 700MB application can become 5MB
Simplifies Updates
• Provide a new application version to AppStream
• Immediately upgrade all users
• No action on users’ part
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
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
Customer Use Cases
3D CAD Design
Medical Imaging
MediaVideo
GamesConsumer Electronics
Productivity Applications
Let’s check on that Deployment…
Customer Use Cases
3D CAD Design
Medical Imaging
MediaVideo
GamesConsumer Electronics
Productivity Applications
• Only runs on high-end hardware, Expensive per-seat software licenses
Use Case: CAD / 3D Design
Use Case: Video Games• Best game experience requires high-end hardware
• Large upfront download hurts adoption
• Device Portability, Immediate Collaboration
Use Case: Medical Imaging
Use Case: Consumer Electronics• Less capable hardware limits creativity
• Video / Film Production applications require high-end hardware & Bandwidth constraints limit
creative UI
Use Cases: Media
Use Cases: Productivity Applications
• Running Custom Applications on broader sets of hardware.
STX Protocol
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
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
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
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
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
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
What About Latency?
Latency =
Time for your application
to react to user input
Tolerance of latency varies by individual and
by the type of application.
Deployment…
Putting it all together
Streaming Your Application
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
Request Authorization
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
Create a Session
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
Create a Session
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
Redeem Entitlement
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
Start Streaming Your Application
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
Demo…
To Recap…
Removes Device
Constraints
Saves Development
Time
Instant-On Delivery
Simplifies Updates
Improves Security
Generally available. Free to try.