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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠