Q: What is Amazon AppStream?

Amazon AppStream is an application streaming service that lets you stream resource-intensive applications from the cloud. You can stream your existing applications as-is without code modification or use the SDK to build unique streaming experiences for your customers. You can deploy your application on AWS infrastructure and the output can be streamed to mass-market devices, such as personal computers, tablets, and mobile phones. Because your application is running in the cloud, it can scale to handle vast computational and storage needs, enabling use cases for applications that wouldn’t be possible to run natively on mass-market devices.

Amazon AppStream currently supports streaming applications from Microsoft Windows Server 2008 R2 and includes a SDK to build clients for devices running FireOS, Android, Chrome, iOS, Mac OS X, and Microsoft Windows.

Get Started with AWS for Free

Try Amazon Appstream for Free

AWS Free Tier includes 20 hours per month free for one year.

View AWS Free Tier Details »

Q: What are the benefits of streaming over rendering content locally?

Interactively streaming your application from the cloud provides several benefits:

Remove Device Constraints: You can leverage the compute power of AWS to deliver experiences that wouldn’t normally be possible due to the GPU, CPU, memory or physical storage constraints of local devices. 

Multi-Platform Support: You can write your application once and stream it to multiple device platforms. To support a new device, just write a small client to connect to your application.

Easy Updates: Because your application is centrally managed by Amazon AppStream, updating your application is as simple as providing a new version of your application to Amazon AppStream. That's all you need to do to immediately upgrade all of your customers without any action on their part.

Instant On: Streaming your application with AppStream lets your customers start using your application or game immediately, without the delays associated with large file downloads and time-consuming installations.

Improved Security: Unlike traditional boxed software and digital downloads, where your application is available for theft or reverse engineering, Amazon AppStream stores your application binary securely in AWS datacenters.

 

Q: Do some applications work better with Amazon AppStream than others?

Many types of applications work well as streaming applications: CAD, 3D modeling, simulation, games, video and photo-editing software, medical imaging, and life sciences applications. These applications benefit most from streaming because the application runs on the vast computational resources of AWS, yet your customers can interact with the application using low-powered devices, with very little noticeable change in application performance.

You can also consider a hybrid scenario, in which you stream part of an application from Amazon AppStream and host part of the application natively on the device. For example, a game could stream a portion of the visuals, such as rendering a detailed background and render character animations natively on the device.

Applications that have extremely low tolerance for latency are not recommended for streaming. Examples include first person shooters or player vs. player fighting games. 

Any application that can benefit from the additional CPU, GPU, memory, or storage available in AWS can use Amazon AppStream.  You can stream an existing application or game, invent new types of applications for Amazon AppStream, or build an ecosystem of streamed applications.  You should design your input and response model around the expected latency.  All platforms, whether console or PC, experience unexpected latency in some of their components, and creating applications for Amazon AppStream is no different.  You can read more about AppStream use cases here.

 

Q: Can my Amazon AppStream applications run offline?

No. Amazon AppStream requires a sustained Internet connection to stream your application. You can, however, provide your customers an off-line experience by hosting part of your application on Amazon AppStream and running part of your application natively on the device.  When your customers are connected to the Internet, your application can benefit from the additional resources AppStream offers.



Q: How do I get started with Amazon AppStream?

You can begin using AppStream by visiting the AWS Management console and following the simple instructions.


Q: What does Amazon AppStream manage on my behalf?

Amazon AppStream launches and manages AWS resources to host your application, deploys your application on those resources, scales your application to meet client demand, and dynamically adjusts the video that is streamed to a client to match the network conditions experienced by that client.


Q: How is streamed video quality managed?

Amazon AppStream’s STX Protocol measures and adapts to changing network conditions to maintain a fluid experience. If the network conditions are such that Amazon AppStream is unable to deliver a quality video stream, the protocol will inform your client application so you can respond with the best experience for your customers.


Q: How does the Amazon AppStream Host capture the video stream?

When you deploy your application through the AWS Management Console, you will be prompted to provide the file that launches the application. AppStream will use the launcher file to automatically capture the video stream from the corresponding application. Alternatively, you can modify your application to render video to APIs provided by the Amazon AppStream Application and Client SDKs instead of a local render target. For more information, see Stream Video to a Client in the Amazon AppStream Developer Guide.


Q: How does the Amazon AppStream server capture Audio?

Amazon AppStream provides two ways to stream audio: you can modify your application to send audio to APIs provided by the Amazon AppStream Application and Client SDKs or you can configure Amazon AppStream to automatically capture system audio. For more information, see Stream Audio to a Client in the Amazon AppStream Developer Guide.


Q: How are user inputs captured, mapped and sent to the Amazon AppStream application?

AppStream example clients provide default mappings for mouse, keyboard and touch events that can be used to interactive with your streaming application. Your application should be capable of processing these events through the standard Windows message pump.

You can also use APIs provided by the Amazon AppStream Application and Client SDKs from your client application to stream user input back to your application hosted on Amazon AppStream. Amazon AppStream also includes support for HID-compliant controllers such as the Xbox 360 controller for Microsoft Windows and MOGA Android Game Controller. The Amazon AppStream Application and Client SDKs also provide an API to capture raw input, which you can use to handle other types of input such as accelerometer or global positioning system (GPS) data.  For more information, see Build a Client Application and Receive Raw User Input From a Client in the Amazon AppStream Developer Guide.


Q: What else do I need to consider when building my Application for Amazon AppStream?

Because your application is no longer hosted on the client device, there are several things to consider:

Persistent storage: Your streaming application is hosted on a virtual server that does not persist data after the client session ends. Any state information your application needs to save between sessions should be persisted to an external store such as Amazon S3 or Amazon DynamoDB.  There is also an opportunity here.  Traditionally log collection and other insights are very difficult to gather from native client applications.  Since your application runs in AWS you can collect these directly and learn about your customers’ experiences more easily.

Hybrid applications: You need to consider whether you will you stream the entire application, or run part of it natively on the client device.

User authorization: You need to plan for how will you authorize customers for access to your streaming application. Amazon AppStream provides a sample entitlement service to get you started.

Network availability:  You need to think about how you want your client application to handle situations where a network connection is degraded or unavailable.  There are many ways to handle this, but the best mechanism will depend on your use case and your customers.

For more information, see the Amazon AppStream Developer's Guide.


Q: While streaming my application using AppStream, can I log application performance data?

You can log performance data for your streaming application using the AWS Management Console. With AppStream tools, you can collect different logs pertaining to your application streaming session and submit a zip file containing these logs to any specified S3 bucket in your account. The log types are (i) custom logs generated by your application (ii) standard streams (stdin, stdout) (iii) Windows mini dumps in case of application crashes (iv) utilization logs that specify CPU, Memory, and Disk Consumption. Logs will be available in your specified S3 bucket after the end of a streaming session. Learn more about setting up log collection for your application.



Q: What client operating systems are supported?

Amazon AppStream supports client applications running on Kindle FireOS, Android 2.3 (Gingerbread) and higher, Chrome version 37 and higher (for Chrome desktop browsers and Chromebooks), iOS 7.0 and higher, Mac OS X Mountain Lion (10.8.5) or higher, and Windows 7 and higher. For more information on building clients for these operating systems, see Build a Client Application in the Amazon AppStream Developer Guide.

 

Q: What server operating system is supported?

Amazon AppStream supports streaming applications developed for Windows Server 2008 R2. Windows Server 2008 is a 64-bit operating system. You can add support for 32-bit applications by using the WoW64 extensions. If your application has other dependencies, such as the .NET framework, include those dependencies in your application installer. For more information on building streaming applications for Amazon AppStream, see Build an Amazon AppStream Streaming Application in the Amazon AppStream Developer Guide.

 

Q: What regions will my application be streamed from?

AppStream is available in US East (N.Virginia) and Asia Pacific (Tokyo). AppStream will stream the application from the region in which it has been deployed to.

 

Q: What EC2 instance types does Amazon AppStream support?

Amazon AppStream is available on the g2.2xlarge instance type. Additional instance types will be added in later releases.  Please send us feedback to suggest new instance types for Amazon AppStream. For more information about EC2 instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

 

Q. Does use of AppStream require third-party licenses?

AppStream utilizes the H.264/AVC video format for encoding streamed video, and the open-source Opus audio format for encoding streamed audio. The operation of your content, including the transmission of internet video of your content and your distribution of any associated video decoder in your client application, may require that you obtain license rights from third parties. In addition, AppStream components, including client binary components, include certain open source packages which carry attribution requirements. For more information, see Build an Amazon AppStream Application in the Amazon AppStream Developer Guide.


Q: How does Amazon AppStream scale?

Amazon AppStream uses Amazon Elastic Cloud Compute (EC2) and Auto Scaling to launch virtual servers running your application and to adjust the number of servers to match the demand for client connections. Each client session runs on a separate virtual server.  You can use Amazon AppStream to specify capacity needs, and then the service automatically scales your streamed application and connects customers’ devices to it.


Q: How do I monitor my application using Amazon AppStream?

The Amazon AppStream console displays information about your application's current capacity, such as the number of current client sessions and the number of unused application servers available for connections.


Q: Can I use other AWS services from my Amazon AppStream application?

Yes.  You can call other AWS services from your application by using the AWS SDK or by sending HTTP query requests.



Q: What is the Amazon AppStream STX Protocol?

The Amazon AppStream STX Protocol is a proprietary protocol used to stream high quality application video over varying network conditions. It streams video and audio encoded using standard H.264 encoding over the UDP transport layer. The protocol also captures user input and sends it over TCP back to the application being streamed from the cloud. Network conditions are constantly measured during this process and information is sent back to the encoder on the server. The server dynamically responds by altering the video and audio encoding in real-time to produce a high quality stream for a wide variety of applications and network conditions.

Unlike other remote-access services which provide access to the operating system, an end user uses your client software to connect directly to the AppStream application. This cuts latency and improves performance.

Q: What is latency and how does it affect my application?

Latency is the time it takes your application to react to user input, such as a mouse click, key press or touch gesture. The ability of humans to perceive latency varies by individual and by the type of application they are using. For example, applications that have few user interactions or which do not redraw often can tolerate more latency than applications that continuously respond to user interaction, such as a driving game. When you host your application on Amazon AppStream, the service adds a small amount of latency as part of the process to capture and encode the video stream. This process is highly optimized to minimize this latency. In addition, the Amazon AppStream STX Protocol and encoding process has been tuned to minimize latency over a variety of network conditions.

Any application running over the Internet is subject to latency introduced by network conditions: the distance between Internet servers, local network configurations, switch hardware, and the connection technology (wired, wireless, or 4G cellular). To mitigate the effects of latency introduced by network conditions, the Amazon AppStream STX Protocol dynamically adjusts the data streamed to a client to match the network conditions experienced by that client.

Latency is also determined by the region from which your application is streamed. You can provide the best experience for your users by deploying the application in a region closest to them. Know more about the region in which AppStream is available. Another source of latency is the client device. This latency depends on factors such as whether video is rendered by hardware or software and the latency of the input device (keyboard, mouse, or touchscreen.)

The total latency experienced by your customers depends on all of these factors. For many applications, the overall latency of an application streamed over Amazon AppStream is low enough to provide a great customer experience.

The Amazon AppStream team is constantly evaluating ways to reduce total latency and improve the performance of applications hosted on Amazon AppStream.

 

Q: What are the minimum bandwidth requirements for AppStream?

A minimum of 3 Mbps is the minimum recommended bandwidth for running streaming applications. The STX protocol has been optimized to deliver high-quality streaming sessions in congested network environments.

 

Q: How is the quality of streaming sessions measured?

There are four main variables to consider when measuring the streaming quality for your end user: (1) the video fidelity, (2) the audio fidelity, (3) the round-trip latency between user inputs and rendered outputs, and (4) the synchronization between audio and video (A/V sync). Each of these quality variables are affected by conditions of the streaming ecosystem.

For example, the video quality is affected by frame resolution (the number of pixels rendered on the client) and frame rate (the number of times per second that a new frame is rendered on the client), while audio quality is affected by the digital sampling rate and the number of audio channels. Both video and audio quality are affected by digital compression (the format and the amount) and the data packet loss.

In order to monitor the streaming quality of each AppStream session, and provide feedback to your users about the quality, AppStream provides QoS (quality of service) APIs to monitor the PSNR (peak signal-to-noise ratio) of the video and streaming latency.


Q: How do I authenticate users to my Amazon AppStream application?

You control who has access to your streaming application by building an entitlement service. Your entitlement service should authenticate users, either with custom logic or by using a service such as Login with Amazon. After your entitlement service has authenticated a user, it calls into Amazon AppStream to entitle a new client session. The entitlement service then returns an entitlement URL to the client that the client uses to connect to your application.

The Amazon AppStream SDK provides a sample implementation of an entitlement service and a CloudFormation template that you can use to deploy the service on AWS. For more information about building an entitlement service, see Build an Entitlement Service in the Amazon AppStream Developer Guide.

 

Q: Who can access the management console for my Amazon AppStream application?

You can use Amazon Identity and Access Management (IAM) to add users to your AWS account and grant them access to view and manage your Amazon AppStream application. For more information about using IAM, see What is IAM? in AWS Identity and Access Management.

 

Q: Where can I find more information about security and running applications on AWS?

For more information about securing AWS resources, see the Amazon Web Services: Overview of Security Processes whitepaper and the AWS Security Center.

 

Q: How is the data from my streamed application encrypted to the client?

The streamed video and user inputs are not encrypted at this time.  Support for encrypted user input is coming in 2014.  You can encrypt communication to and from the entitlement service.

 


Q: How much does Amazon AppStream cost?

You will be charged for each hour that your customers stream your application, with no long-term commitments. This frees you from the costs and complexities of planning, purchasing, and maintaining hardware and transforms what are commonly large fixed costs into much smaller variable costs. Your costs include all of the compute resources needed to run your streaming application, applicable Windows license costs, and bandwidth used by the stream.

Usage time is calculated at the end of each individual streaming session run by your customers. You are billed each month for the total usage time of all streaming sessions combined (rounded to the second).

For example, if one user streams a session for 45 minutes and 30 seconds, and another user streams a session for 120 minutes and 20 seconds, the total amount billed will be for 165 minutes and 50 seconds, which is equivalent to 2.764 hours. At $0.830/hr, these two sessions will incur a charge of $2.29. View AppStream pricing.