New Training: Automatically Benchmark Amazon EC2 Instances with PowerShell

In this 6-video skill, CBT Nuggets trainer Trevor Sullivan combines PowerShell and Amazon Web Services (AWS) to benchmark various workloads. Watch this new DevOps training.
Learn DevOps with one of these courses:
AWS Cloud Automation
This training includes:
6 videos
1.1 hours of training
You’ll learn these topics in this skill:
Introduction to Automated Benchmarking of Amazon EC2
Craft a Video Transcoding Benchmark Script with PowerShell
Develop AWS Systems Manager Automation Runbook for Benchmarking
Connect Amazon EventBridge to AWS CloudTrail and Systems Manager
Create Amazon EC2 Instance Profile and Test Benchmarking Workflow
Resolve Race Condition and Re-test Automation Workflow
How to Measure Processing Time of an AWS Script in PowerShell
Depending on the use case for an application or IT environment, it may be important to optimize automation tasks to perform as quickly as possible. This can become harder when working with AWS since IT resources are abstracted out of the general business IT system and located in the cloud. Likewise, it's common to automate tasks with AWS in a shell environment like PowerShell. Thankfully, there are a few ways that PowerShell can be used to benchmark scripting processes.
One of the tools developers can use with PowerShell to measure application performance is the 'Measure-Command'. This cmdlet measures how long an application takes to complete a process in milliseconds.
Developers can use this cmdlet to benchmark current scripts or pieces of scripts (e.g. – measuring how long it takes to upload a file to an AWS S3 bucket in one region as opposed to another). Though using the Measure-Command cmdlet may not offer information such as latency in a network connection or the amount of CPU resources used to complete a task, it can give a good general overview of how long the entire scope of a task takes to complete.
delivered to your inbox.
By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.