getting started with amazon appstream
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.TRANSCRIPT
![Page 1: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/1.jpg)
© 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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/2.jpg)
Tradeoffs
![Page 3: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/4.jpg)
![Page 5: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/6.jpg)
Benefits of Amazon AppStream
Removes Device
Constraints
Saves Development
Time
Instant-On Delivery
Simplifies Updates
Improves Security
![Page 7: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/7.jpg)
Deploying an Application
![Page 8: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/8.jpg)
Benefits of Amazon AppStream
Removes Device
Constraints
Saves Development
Time
Instant-On Delivery
Simplifies Updates
Improves Security
![Page 9: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/10.jpg)
Saves Development Time
Write complex code once, deploy to:
![Page 11: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/11.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/12.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/13.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/14.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/15.jpg)
Customer Use Cases
3D CAD Design
Medical Imaging
MediaVideo
GamesConsumer Electronics
Productivity Applications
![Page 16: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/16.jpg)
Let’s check on that Deployment…
![Page 17: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/17.jpg)
Customer Use Cases
3D CAD Design
Medical Imaging
MediaVideo
GamesConsumer Electronics
Productivity Applications
![Page 18: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/18.jpg)
• Only runs on high-end hardware, Expensive per-seat software licenses
Use Case: CAD / 3D Design
![Page 19: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/19.jpg)
Use Case: Video Games• Best game experience requires high-end hardware
• Large upfront download hurts adoption
![Page 20: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/20.jpg)
• Device Portability, Immediate Collaboration
Use Case: Medical Imaging
![Page 21: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/21.jpg)
Use Case: Consumer Electronics• Less capable hardware limits creativity
![Page 22: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/22.jpg)
• Video / Film Production applications require high-end hardware & Bandwidth constraints limit
creative UI
Use Cases: Media
![Page 23: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/23.jpg)
Use Cases: Productivity Applications
• Running Custom Applications on broader sets of hardware.
![Page 24: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/24.jpg)
STX Protocol
![Page 25: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/25.jpg)
![Page 26: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/26.jpg)
![Page 27: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/27.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/28.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/29.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/30.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/31.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/32.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/33.jpg)
What About Latency?
![Page 34: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/34.jpg)
Latency =
Time for your application
to react to user input
![Page 35: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/35.jpg)
Tolerance of latency varies by individual and
by the type of application.
![Page 36: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/36.jpg)
Deployment…
![Page 37: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/37.jpg)
Putting it all together
![Page 38: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/38.jpg)
Streaming Your Application
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
![Page 39: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/39.jpg)
Request Authorization
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
![Page 40: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/40.jpg)
Create a Session
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
![Page 41: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/41.jpg)
Create a Session
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
![Page 42: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/42.jpg)
Redeem Entitlement
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
![Page 43: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/43.jpg)
Start Streaming Your Application
Your Client
AppStream Host
AppStream Service
Your Entitlement Service
![Page 44: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/44.jpg)
Demo…
![Page 45: Getting Started with Amazon AppStream](https://reader034.vdocuments.us/reader034/viewer/2022051323/54973295ac7959092e8b52c5/html5/thumbnails/45.jpg)
To Recap…
Removes Device
Constraints
Saves Development
Time
Instant-On Delivery
Simplifies Updates
Improves Security
Generally available. Free to try.