What Is Amazon Appstream?
Total Page:16
File Type:pdf, Size:1020Kb
Amazon AppStream Developer Guide Amazon AppStream Developer Guide Amazon AppStream: Developer Guide Copyright © 2014 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, Cloudfront, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. Amazon©s trademarks and trade dress may not be used in connection with any product or service that is not Amazon©s, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon AppStream Developer Guide Table of Contents What is Amazon AppStream? .......................................................................................................... 1 Advantages of Streaming Your Application ................................................................................. 1 What Can You Do with Amazon AppStream? .............................................................................. 2 How Does Amazon AppStream Work? ...................................................................................... 2 Amazon AppStream Components .................................................................................... 3 Architectural Overview of Amazon AppStream .................................................................... 4 Amazon AppStream Application Lifecycle .......................................................................... 6 Can My Application Run on Amazon AppStream? ....................................................................... 6 Supported Operating Systems ......................................................................................... 7 Hardware Specifications ................................................................................................. 7 Video Input Specifications ............................................................................................... 7 Audio Specifications ....................................................................................................... 7 Bandwidth Requirements ................................................................................................ 7 Persistent Data ............................................................................................................. 8 User Input .................................................................................................................... 8 Regions ....................................................................................................................... 8 Tools for Amazon AppStream .................................................................................................. 8 Amazon AppStream SDK ................................................................................................ 8 Amazon AppStream SDK for Java .................................................................................... 9 Amazon AppStream Console ........................................................................................... 9 Downloads ................................................................................................................................. 10 Amazon AppStream SDK ...................................................................................................... 10 Amazon AppStream SDK for Java .......................................................................................... 10 Other Files to Download ........................................................................................................ 10 Get Started ................................................................................................................................. 12 Service Requirements .......................................................................................................... 14 Sign Up for AWS ................................................................................................................. 14 Option 1: Preview Amazon AppStream .................................................................................... 14 Step 1: Create a key pair ............................................................................................... 15 Step 2: Create the standalone mode ............................................................................... 16 Step 3: Stream ............................................................................................................ 18 Option 2: Preview Your Application .......................................................................................... 19 Step 1: Integrate the SDK .............................................................................................. 20 Step 2: Create a key pair ............................................................................................... 20 Step 3: Create the standalone mode ............................................................................... 21 Step 4: Copy your application ......................................................................................... 25 Step 5: Stream ............................................................................................................ 26 Option 3: Deploy a Streaming Application ................................................................................. 27 Step 1: Build ............................................................................................................... 28 Step 2: Deploy ............................................................................................................. 28 Step 3: Stream ............................................................................................................ 48 Where to Go Next ................................................................................................................ 50 Build an Application ..................................................................................................................... 51 Build a Streaming Application ................................................................................................ 51 Design Considerations .................................................................................................. 52 Add Streaming to Your Application .................................................................................. 52 Test Your Streaming Application ..................................................................................... 65 Build an Installer .................................................................................................................. 73 Build an Entitlement Service .................................................................................................. 73 Design Considerations .................................................................................................. 74 Build the Entitlement Web Service .................................................................................. 74 Publish Your Entitlement Service .................................................................................... 79 Sample Entitlement Request and Response ..................................................................... 80 Build a Client ...................................................................................................................... 80 Design Considerations .................................................................................................. 81 iii Amazon AppStream Developer Guide Build a Client for Android ............................................................................................... 81 Build a Client for iOS .................................................................................................... 89 Build a Client for OS X ................................................................................................ 101 Build a Client for Windows ........................................................................................... 112 Codec and Open Source Licensing ............................................................................... 121 Deploy Your Application ............................................................................................................... 123 Prerequisites ..................................................................................................................... 123 Upload the Application Installer to Amazon Simple Storage Service ............................................ 123 Create a Pre-signed URL .................................................................................................... 124 Deploy Your Streaming Application ........................................................................................ 126 Manage Your Application ............................................................................................................. 135 View All Applications .........................................................................................................