Dynamic provision of user / authentication via API?

0

We're interested in using AppStream to provide something like the free trial that AppStream already provides, but for our own application and for arbitrary numbers of users that are not necessarily known beforehand.

For example, someone wants to try our software, we send them a link and they can simply click and try in the browser.

I've had a browse of the docs and I'm not yet sure I see a way to assemble this kind of system with AppStream. I guess we'd need a pool of instances where we start new instances in the background when no more are available so that we don't have to have a huge number 'always on'. We'd also need a way to allocate users as I think a single user can only run one application right?

How possible is this to achieve with AppStream as it stands today?

fineman
질문됨 5년 전312회 조회
1개 답변
0

Hi fineman -

Apologies for the delay in response. AppStream's CreateStreamingURL API provides a signed URL, similar to S3's Presigned URL capability. This API enables you to provide a similar experience to AppStream's try it now.

So the basic architecture is this: An AppStream stack/fleet that has your application(s) installed and configured. The fleet should use autoscaling so that you're not maintaining a large pool of instances when no one is using them, but instead scaling up/down as needed. For help with setting this up, check out our Getting Started guide: https://aws.amazon.com/appstream2/getting-started/

Once you have that, you can use AWS API Gateway and Lambda to trigger the CreateStreamingURL API call, and redirecting the user to the AppStream streaming session. Essentially, your web portal uses Javascript to execute a Lambda function through API Gateway to generate a URL.

AppStream will have a blog and materials soon to help with this very use case. Keep your eye on the Desktop and Application Streaming blog: https://aws.amazon.com/blogs/desktop-and-application-streaming/

Hope this helps.

Murali

전문가
답변함 5년 전

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

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

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

관련 콘텐츠