Cannot use session scripts to mount an s3 bucket in a linux appstream elastic fleet

0

Hello,

I have set up an elastic fleet to run linux instances in a vpc with two public subnets. The fleet is associated to an application with a statistical analysis software and I would like to use session scripts to mount an s3 bucket where data is stored. Mounting the external bucket works in the image builder. The elastic application launches correctly, but so far I am having troubles:

  • loading the scripts on the instance - I cannot see them in /opt/appstream/SessionScripts/
  • having the .sh script run

Has anyone attempted anything like this or can provide help?

Thanks

1 個回答
0

Elastic fleet session scripts are stored in S3. For the fleet instances to be able to download and execute the session script you need to ensure your fleet has 1) connectivity to S3 via internet or VPC Endpoint 2) The fleet is in the same region as the S3 bucket the script is stored in 3) The fleet has permissions to download the script from the S3 bucket. Please see the relevant section of the admin guide for more details. You may also want to enable Session Script logging to see if you can capture any errors.

已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南