![]() Graphic desktop capacity (M10) – $6,400 per host per month.This capacity has a standard host type and includes one vCPU, 2GB of vRAM, and 30GB HD.Standard capacity – $2,950 per host per month.These are the starting prices for each license type and data capacity: VMware Licenses Pricing for VMware Horizon Cloud depends on the license type, infrastructure and data capacity. Horizon Cloud on IBM Cloud delivers hosted desktops and applications from a VMware managed infrastructure, while Horizon Cloud on Microsoft Azure delivers from a Microsoft Azure managed infrastructure. Horizon 7 delivers on-premises hosted desktops and applications from your own data center. Throw in customizability and detailed reporting and you almost can’t afford not to install it.VMware offers several versions of its DaaS, including Horizon 7, Horizon Cloud on IBM Cloud, and Horizon Cloud on Microsoft Azure. The Workspaces Cost Optimizer is a handy free tool to have in your belt that can really make a difference in your We’ve used a similar solution to send reports directly to Slack for one of our customers, allowing them to keep a Once the information is in a table, it becomes much easier to visualize usage patterns and In this solution we’re enriching the original data with potentially relevant information, such as user names, Using Pandas makes our lives easier when manipulating csv files or dealing with Downloads an object from a s3 bucket (the cost optimizer csv in this case).The three API calls used in this solution are: Pushes the transformed data into the DynamoDB table.Enriches and transforms that data using API calls and the Pandas library.Imports data from the csv file generated by the cost optimizer.The workspace cost optimizer template deployed and running.for index, row in df.iterrows():ĭesc = workspaces_scribe_workspaces(WorkspaceIds=]) tag = workspaces_scribe_tags(ResourceId=row) # base tag var states tag_country_found = False tag_office_found = False for t in tags: csv_obj = s3_client.get_object(Bucket=bucket, Key=obj_key) body = csv_obj df = pd.read_csv(body,skipinitialspace=True, usecols=) # Build arrays for the current month and user of each workstation in the csv. Print('Couldn\'t read bucket and obj_key from event.') # Get current date tz = ().astimezone().tzinfo currentTime = (tz) currentDate = currentTime.date() # Read columns WorkspaceID and Billable Hours from the cost optimizer csv. # get bucket name and object key bucket = event obj_key = event except: # declare empty lists users = report_dates = directories = ws_office = ws_country = computer_names = try: def get_data(s3_client, workspaces_client, event): ) # Get data from a csv uploaded to the workspaces bucket and parse it into a data frame object. # start clients s3_client = boto3.client('s3') workspaces_client = boto3.client('workspaces') dynamo_client = boto3.client('dynamodb') #get csv contents into data frame df = get_data(s3_client, workspaces_client, event) # push df to DynamoDB put_items(dynamo_client, df) # Populate the DynamoDB table with the parsed values in the df def put_items(client, df):Ĭlient.put_item( TableName='WorkspacesReportTable', Item= Import boto3 import json import pandas as pd import datetime from botocore.exceptions import ClientError def lambda_handler(event, context): Once you deploy this stack, it will create a Lambda function and s3 buckets for logging and ![]() With a set of parameters, allowing you to customize billing thresholds and deployment VPCs, however, the solution To deploy it, download the template, then create a new stack using that template. Overspending on both underused and overused workspaces. With this running, you’ll be able to limit To your billing structure and the monthly usage of your workstations. ![]() The function runs every 24 hours and generates a report detailing the changes made This premade CloudFormation stack provided by AWS sets up a lambdaįunction that checks the usage of each workspace on your account, then updates the billing method for that workstation Workspaces to your employees, but how can you be sure that you’re getting the most out of it?Įnter the AWS Workspace Cost Optimizer. AWS Workspaces is a convenient way to provide digital Workstations, and many are turning to cloud providers. Given the current situation, it’s fair to say that most IT departments have experienced a jump in demand for remote
0 Comments
Leave a Reply. |