Questions tagged with Amazon AppStream
Content language: English
Sort by most recent
Appstream 2.0 Mac Microphone Crashes Appstream Connection and does not Work
We have been serving our application (which requires user microphone input) on appstream 2.0 for roughly a year now with few issues. However, at the beginning of November, Mac users began reporting microphone input had stopped functioning in appstream. Our build of our application and our setup in appstream has not changed. Upon testing, we discovered the following issues on Mac (Chrome and Firefox): In both imagebuilder and normal appstream access via user setup- **After enabling microphone(via settings in upper left), the input seems to be registered in Windows sound settings for a moment, then stops showing. Then the VM or Streaming performance rapidly degrades (laggier and laggier input) until finally the instance freezes. Eventually the screen shows the connecting swirl with "Reconnecting to your session…", and after a few seconds the Appstream instance re-appears *with top left Microphone disabled* and the Appstream functioning as normal.** This has been tested across 5 Macs running the latest Apple update. Our image/imagebuilder is running with the following specs: * Microsoft Windows Server 2019 Base * AppStream 2.0 agent version 10-13-2022 * Graphics design XL instance type We also tested a ‘general purpose XL’ instance type imagebuilder and received the same results. Is anyone having similar issues/does anyone know of a fix? Is this a known bug due to an apple update or otherwise?
Securing access to AppStream
Hi All, I am currently working on an AppStream POC with the intention of streaming a web based application. I have the fleet sat in a private subnet with the intention of only allowing connections from our SIG (Zscaler). I was just looking for some advice for the best way to only allow access to the fleet from a specific IP. I have tried applying security group rules which only allow connections from the relevent IPs but I find I can still connect to the streaming instances from external networks. Any advice / pointers would be appreciated!
Appstream Application mode - Office 365 issue
Hello, I am having an odd issue with activating my 365 products using Appstream in Application mode- at this time I have tried using office installations using a custom XML for RDS however when ever I enter my email (or a user their email) for activation, Excel locks up and we are unable to run reports. I am using azure sso for this configuration, anyone have ideas or encounter this issue? Help would be appreciated!
AppStream send custom logs to Cloudwatch using Cloudwatch agent
Hi I am trying to send a custom application log from an AppStream fleet to Cloudwatch. I decided to give it a try like on a regular Windows EC2. First thing: There is already a config file $Env:ProgramData\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent.json cofigure for AppStream itself. In a first run I tried editing this file and adding my own log file block. However strangely when I generate the AS Image and start a fleet, the config file no longer holds my edits (it seems to have reverted to the default config file) I then tried leaving the default config file alone and just add a custom config file under $Env:ProgramData\Amazon\AmazonCloudWatchAgent\Configs directory. I know that at the end these will get consolidated in the toml file and it works well with EC2. In this case again it seems as if everything is reset when I generate the AS Image. I did find this blog post: https://aws.amazon.com/blogs/desktop-and-application-streaming/creating-custom-logging-and-amazon-cloudwatch-alerting-in-amazon-appstream-2-0/ but it look overly complicated for such simple thing I'm trying to achieve meaning pushing logs from a log file to cloudwatch Any ideas how I can achieve this and why AS removes all customization I can make to the cloud watch config ?
How users can reconnect to an active AppStream session
Case Embedded: User connects to SPA and requests a new embedded AppStream session. This session is embedded as IFrame or as in the [AWS sample example](https://clients.amazonappstream.com/embed.html) in a container. Initially, a request to Streaming URL is sent, then after authentication the URL changes to the URL I called Active Session URL in the example below. That's where the AppStream session is actually streamed at. If a user closes down the browser and wishes to come back to his active session (within Disconnect Timeout) - we cannot send a new `create streaming url` request because this will lead to an attempt to open a new instance of our app that's already running on this session and crashes it. It's essential to allow the app to be kept running - this case assumes that the user has a work in progress and wants to return to it. ![reconnect](/media/postImages/original/IMTgOY0_oOTmW_A7vwm1PA3Q) Case Redirect to AppStream: Testing shows that if a user is instead redirected to that Streaming URL the URL changes to *Active Session URL*, but at this point, the user has left SPA which isn't the desired outcome. Redirecting to the Streaming URL and connecting to the session within AppStream gives us access to parameters created by AppStream in `localstorage` such as `sessionid`, something that's not available while embedding. **How can we get that user's *active session URL*?** Neither iFrame nor the sample container contains that URL. **Is there a way to store that URL used in iframe?** And then use it to reconnect to the same session without passing a request to start one more app instance?
Disable Cookie popup in AppStream Web client
I'm using AWS Appstream 2.0 to deliver windows applications through a browser to students in university (including Europe). To achieve this, we use the webclient embedded in another page. However, every time a student starts a session, they are presented with a Cookie popup from AWS. How do I disable cookies when embedding the AWS Appstream 2.0 web client?
Which service/process deems when to kill an ongoing AppStream session?
In some earlier answers, I've been told that there's an AppStream Agent running during the session. But I cannot find it in the Windows Task Manager. I've found PhotonWindowsCustomShell, PhotonAgent, and some other SSM and CloudWatch agents. 1. Which process evaluates if the session reached Disconnect or Idle Timeout? 2. Is there a way to communicate with that process and hinder it from killing the instance if our app is above a certain CPU utilization threshold?
Bug Report - AppStream 2.0 Usage Reports CloudFormation template link broken
In the us-east-2 region, AppStream 2.0 console, Usage Reports->Report Details, clicking the link to "CloudFormation template" results in the CloudFormation console reporting that the S3 bucket does not exist. Manually loading the template from us-east-1 works around the issue.
AppStream Latency Issue
I have a district that we have deployed Adobe Creative Cloud on AppStream (stream.graphics-design.xlarge instances). In a room of 20 students using Chromebooks, some students are just fine, and when they are typing, the application is responsive, and for a few students, when typing, there is a delay when they type before characters show up. If you go into the AppStream client and check the latency on these devices, it is only 46ms. The school district has a 1Gbps fiber connection, and their overall bandwidth usage is 40% - 50%, so I don't think their uplink is the issue. Any other thoughts or things to look at to troubleshoot the issue?
How do I disconnect from OneDrive in AppStream
When I connect to OneDrive the connection persists through logout/login. It even persists through remove/re-add the domain in stack settings. I'm guessing there is a simple way for a user to disconnect from OneDrive, but searching around have not found it. Anybody know how to do this?
Single VHDX with different application config per user
Hi, I am looking to see if this possible, i have a single application (C#) that works with a *.config file. Each config file needs to be different per site. What, if possible, would be the easiest/cleanest way of accomplishing this using AppStream 2.0? Preferably keeping a single VHDX. This will have a custom flow using Cognito and SQL database for users/sites with a streaming URL being produced for users to login. Or is it a case of a full (AppBlock, Application, Fleet and Stack, VHDX) per site with the config in the VHDX?