Streaming of Desktop Applications Securely on Web Browser Using Amazon AppStream 2.0

bhatnagargargee

GargeeBhatnagar

Posted on November 17, 2024

Streaming of Desktop Applications Securely on Web Browser Using Amazon AppStream 2.0

“ I have checked the documents of AWS to get into streaming of desktop applications securely on web browser using amazon appstream 2.0. In terms of cost, need to pay for amazon appstream 2.0, s3 buckets and cloudwatch alarms.”

Amazon AppStream 2.0 is a fully managed AWS End User Computing service designed to stream software-as-a-service applications and convert desktop applications to saas without rewriting code or refactoring the application.

With AppStream 2.0, you can quickly scale your applications to users across the globe without having to manage any infrastructure. It offers multi-session capability, allowing you to provision multiple user sessions on a single appstream 2.0 instance. This gives you the ability to optimize resource utilization and helps lower cost, supporting a wide range of user types without over provisioning.

In this post, you will experience how to do streaming of desktop applications securely on web browser using amazon appstream 2.0. Here I have created an amazon appstream streaming stack and fleet with s3 bucket and cloudwatch alarms.

Architecture Overview

Image description
The architecture diagram shows the overall deployment architecture with data flow, amazon appstream 2.0, s3 bucket and cloudwatch alarms.

Solution overview

The blog post consists of the following phases:

  1. Create of Amazon AppStream 2.0 Stack and Fleet with Required Configurations
  2. Output of Application in Browser

Phase 1: Create of Amazon AppStream 2.0 Stack and Fleet with Required Configurations

  1. Open the console of Amazon AppStream 2.0, create a stack with the app and fill the stack details with name, description, redirect and feedback url, vpc endpoints as streaming endpoint, host domain and tags. Choose an image, instance fleet: instance type, fleet type, user session details, fleet capacity, stream view details, iam roles and scaling details. Configure network, enable storage and set up the user settings.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

  1. Once the stack is successfully created and the fleet comes into running status. We can further create a streaming url with user id and url expiration. Also we can give user access using the user pool feature for application stack access.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Phase 2: Output of Application in Browser

Image description

Image description

Image description

Image description

Clean-up

Delete of Amazon AppStream 2.0, S3 Bucket, Cloudwatch Alarms.

Pricing

I review the pricing and estimated cost of this example.

Cost of Amazon AppStream Streaming = $0.1 per hour for running a stream.standard.medium Fleet instance in AWS = $0.1 x 1hour = $0.10

Cost of Cloudwatch Alarms = $0.0

Cost of Simple Storage Service = $0.02

Total Cost = $0.12

Summary

In this post, I showed “how to do streaming of desktop applications securely on web browser using amazon appstream 2.0”.

For more details on Amazon AppStream 2.0, Checkout Get started Amazon AppStream 2.0, open the Amazon AppStream 2.0 console. To learn more, read the Amazon AppStream 2.0 documentation.

Thanks for reading!

Connect with me: Linkedin
Image description

💖 💪 🙅 🚩
bhatnagargargee
GargeeBhatnagar

Posted on November 17, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related