Questions tagged with Amazon AppStream

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Exact s3 Bucket settings for AppStream Elastic Fleet AppBlock

I am trying to get an Elastic AppStream Fleet running. I've followed the tutorials and workshop but the app has a blank screen on startup. It looks like the Instance is not downloading the files from my s3 bucket. I've set the fleet to desktop for troubleshooting. The "C:\AppStream\AppBlocks\my-app" folder is created, but it is empty. To create the s3 bucket I created a default bucket: Block all public access is On. Ownership is Bucket Owner Enforced. ACL has bucket owner List,Write/Read,Write I created a bucket policy as described: ``` { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowRetrievalPermissionsToS3AppsForAppStream", "Effect": "Allow", "Principal": { "Service": "appstream.amazonaws.com" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::my-app/*" } ] } ``` I then copied in the vhdx, script and icon files from my local PC (not from the ImageCreator instance) using the "Upload" button in the my-app bucket. If I create a presigned URL for an object, I can access it within the AppStream instance. If I try a direct connection to the object URL (https://my-app.s3.ap-southeast-2.amazonaws.com/icon.png) in the AppStream instance I get "Access Denied" XML error message. I turned on logging for the bucket, but I don't seem to get any logs. I desperately need to get this working for proof of concept testing. I've spent hours on this over the last few days and have recreated the entire setup multiple times to no avail. Can someone please help me with the correct permission settings for my bucket so this will work, or else tell me how I can view logs which will give me the exact error messages so I can follow on from there?
1
answers
0
votes
49
views
asked 5 months ago

AppStream2 User gets Blank Screen

I am completely new to AppStream and AWS having used MS Azure for everything up until now. Today I created an application using Elastic Fleet in AppStream2. I created a VHD file, uploaded it to a new S3 bucket and set JSON permissions from a document to allow the service to see the VHD file and script: ``` { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowAppStream2.0ToRetrieveObjects", "Effect": "Allow", "Principal": { "Service": "appstream.amazonaws.com" }, "Action": "s3:GetObject", "Resource": [ "arn:aws:s3:::my-app/appdrive2.vhdx", "arn:aws:s3:::my-app/mount-vhd.ps1", "arn:aws:s3:::my-app/icon.png" ] } ] } ``` When the user logs in via the web interface, they see the icon from the S3 storage. When they click on the icon there are messages about reserving the session, setting up, etc; but then after about 2-3 minutes the screen just goes black. As suggested on another post, I set up a new Fleet with Desktop access. There is no C:\AppStream folder, no mount points and I can't see the VHD being mounted or any errors about access or anything. I opened Firefox and tried to use the S3: uri and it cannot download the VHD. I have found various articles talking about different access settings for the S3 and VPC, but I can't understand where I'm supposed to set this up and how it relates to the issue I am experiencing. eg, this link - I can't see how it relates to the various objects in my setup? https://docs.aws.amazon.com/appstream2/latest/developerguide/managing-network-vpce-iam-policy.html
1
answers
0
votes
153
views
asked 5 months ago