Score:0

AWS AppStream is unable to push session script logs to s3

fj flag
MPP

I have configured session scripts to log stdout and stderr to s3 bucket as described in https://docs.aws.amazon.com/appstream2/latest/developerguide/use-session-scripts.html#enable-S3-bucket-storage-session-script-logs & https://docs.aws.amazon.com/appstream2/latest/developerguide/create-session-scripts.html .

The log files are created successfully on a running appstream instance at /opt/appstream/SessionScripts/logs , but they are not pushed to s3 buckets.

Based on the article above, we do not need to perform any additional settings to make this happen.

  • I assigned a policy to the fleet that has full access to s3 (AmazonS3FullAccess).
  • There is no error about permissions or failure etc logged in CloudWatch or in /var/logs/ on a running instance.

What could be causing this issue? Anything else to be checked?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.