AppStream 2.0 VHD mount fail

0

Hello,

For past few days I'm trying to work with AppStream 2.0 app blocks and app builder and I'm running into issues which I can't solve. I created a test vhd called myapp.vhdx which contains my c++ compiled app that I would like to mount to my fleet machines to be able to run in it in background via script.

Myapp.vhdx and mount-vhd.ps1 is stored in S3 bucket eg. "mybucket" with below permissions

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowRetrievalPermissionsToS3AppsForAppStream",
            "Effect": "Allow",
            "Principal": {
                "Service": "appstream.amazonaws.com"
            },
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::mybucket/*"
        }
    ]
}

I created an appblock called "test" with specified path to mount script, vhdx file, post setup script executable (powershell) and arguments (-ExecutionPolicy Bypass -file C:\AppStream\AppBlocks\test\mount-vhd.ps1). When I'm associating an app block builder to test if the VHD is properly mounted I'm getting such error

"Error during application deployment
The app block activation failed due to invalid volume type. Please use AppStream packaged VHD to create app block."  

and I'm running out of ideas what causes this issue.

MP
已提问 7 个月前212 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则