Service account support in AWS AppStream

0

We would like to use a service account in AWS AppStream, and we would not like to synchronize the users from our custom homegrown user management solution to AppStream. Is there a way to use AppStream with a service account, so that every app stream instance shall be unique with a different session. Any suggestion/direction on the same is appreciated

已提問 2 年前檢視次數 373 次
2 個答案
0

The NameID that is authenticated is passed through uniquely, so one name means on unique session. Therefore one account would never have multiple unique concurrent sessions, only one.

AWS
專家
已回答 2 年前
0

I think there's two parts to your question: 1/ how to use a homegrown user management solution to access AppStream 2.0, and 2/ using a service account within AppStream 2.0.

For 1/ - AppStream 2.0 supports 3 different access modes: 1/ User Pools, intended for proof of concepts and evaluations, 2/ SAML2.0 IdP-initiated federation when a customer has their own identity provider/user management solution that supports SAML2.0 federation, and 3/ Custom solutions through the use of the StreamingURL API. If your IdP doesn't support SAML2.0 federation, you can use the CreateStreamingURL API to generate a shortlived URL that users can use to access after authenticating them with your user management solution. Note that the CreateStreamingURL doesn't support accessing fleets that are joined to Active Directory Domains. AppStream 2.0 has a workshop that can help you visualize and deploy this workflow: https://aws.amazon.com/appstream2/getting-started/isv-workshops/. Specifically: Create a SaaS Portal with Amazon AppStream 2.0 (though replace Cognito with your user management solution.)

For 2/ - can you provide more details on what you mean by service account? Do you mean an Active Directory service account, or something else? AppStream 2.0 identifies users based on the NameID that is provided with the streaming URL or SAML (and automatically uses email address when using User Pools). Multiple users with the same NameID means they will all connect to the same instances, and have the same S3 home folder and app settings persistence, which is not supported. Providing unique nameid values gives every user their own instance when they connect with their own S3 home folder and app settings persistence.

Hope this helps.

Murali

專家
已回答 2 年前

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

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

回答問題指南