What does this AWS Solution do?
This solution analyzes all of your Amazon WorkSpaces usage data and automatically converts the WorkSpace to the most cost-effective billing option (hourly or monthly), depending on your individual usage. This solution also helps you monitor your WorkSpace usage and optimize costs.
Benefits
Automatically convert your WorkSpaces to the most cost-effective billing option (hourly or monthly), depending on your individual usage.
Monitor your WorkSpace usage and optimize costs by using AWS CloudFormation to automatically provision and configure the necessary AWS services to convert individual WorkSpaces.
Provide a secure one-click deployment using an AWS CloudFormation template developed with the AWS Well-Architected Framework methodologies.
AWS Solution overview
The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

Cost Optimizer for WorkSpaces on AWS solution architecture
1. This solution deploys an Amazon CloudWatch Events rule that invokes an AWS Lambda function every 24 hours.
2. The Lambda function runs the Amazon Elastic Container Service (Amazon ECS) task, which gets the list of AWS Directories and Amazon WorkSpaces from the Regions where these services are available.
3. The Fargate task checks each WorkSpace for total usage for the month and converts the WorkSpace to the most efficient billing model depending on usage.
4. Amazon Simple Storage Service (Amazon S3) stores a log file with the conversions.
Cost Optimizer for WorkSpaces on AWS
Version 2.4.1
Last updated: 10/2021
Author: AWS
Estimated deployment time: 5 min
Related content

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Find AWS certified consulting and technology partners to help you get started.

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.