Building PowerShell Applications that Operate on a Planetary Scale by Justin Sider

Channel:
Subscribers:
42,100
Published on ● Video Link: https://www.youtube.com/watch?v=DN5jFsBc3kg



Duration: 1:47:25
19 views
0


Building PowerShell Applications that Operate on a Planetary Scale by Justin Sider

Powershell is quickly taking over the IT world. With the new releases of PowerShell being platform agnostic you can now build Apps that can manage ANYTHING and run ANYWHERE! Combining PowerShell with open source web platforms allows you to build custom Apps to manage heterogeneous infrastructures.
There is no ‘out of the box’ perfect solution available on the market today that can help you manage your infrastructure your way. It costs too much, it's too complex, there is no way to customize it... we can always find things wrong, or have a better way of doing things... it's human nature. So, I say put your money where your mouth is, and build one yourself! You know your requirements better than anyone else! And, if you know PowerShell you are in luck! Let's continue this journey together.
I have worked with many tools in the past, and they have never been quite right. I’ve always wanted more information, and extra button, remove some piece of data that I didn't care about, but the problem is that I didn’t understand the language it was written in, or didn’t have access to the source code. So I quit. I quit waiting for someone to do what I needed done, and I started building PowerShell applications to help manage my Information systems.
The concept is simple, use powershell to collect data to be stored in a central location, a lightweight web application to display the data, and some business logic to apply relevant changes to the specific environments. The individual components break down into manageable pieces to include; A Queue Manager, Task Manager, Database, Web Application, and a Management service. A Task Manager can be deployed into any environment and is the workhorse of the application. It communicates with the database to input data and to get data to perform the specific workflows you have designed. All log files and related artifacts are securely stored on a CIFS share available for viewing in the User Interface.
With great success, comes more challenges! Having this great distributed system was great when starting, but quickly became a pain to manage! Manually updating scripts on VM’s halfway across the world is not fun, so I wrote a management service to keep all of my systems in sync. Runtime environments needed to be managed as well as source control on the executable files. Insert Docker to resolve the runtime environment, it’s a bit overkill, but does a fantastic job at creating an exact, repeatable workspace to execute scripts.
What other product will let you build and manage your complex environment of on premise, and cloud infrastructure across product lines like VMware, Active Directory, custom REST API’s, security scanning tools, and more?
In this talk I plan to break down all of the components that are used to construct a scaleable PowerShell application, as well as describe their roles. I will review some of the problems I have encountered as I have built my custom solution for my environment, as well as lead the audience to a path where they can get started. My hope is to have an engaging audience so we can discuss the importance of the CI/CD pipeline when managing this type of system, as well as the risks of introducing this level of automation into their environment.




Other Videos By Confreaks


2022-01-13PowerShell Team: Inventory Your Server Environment and Detect Change at Scale by Jenny Hunter
2022-01-13The Build Release Pipeline Model for Mere Mortals by Ryan Coates
2022-01-13PowerShell Team: Orchestrating Tasks across Hybrid Environments using ... by Eamon O'Reilly
2022-01-13Why you should embrace OpenSource. Jenkins-PowerShell-Containers by Gabriel Rojas
2022-01-13PowerShell Team: Managing Server State using Configuration as Code by Michael Greene
2022-01-13Defending against PowerShell attacks - in theory, and in practice by Lee holmes
2022-01-13OpenSSH Internals for PowerShell Pros by Anthony Nocentino
2022-01-13Writing Award Winning PowerShell Functions and Script Modules by Mike Robbins
2022-01-13Time to Use Regular Expressions More, Um, Regularly by Mark Minasi
2022-01-13Developing with PowerShell Classes: Here be Dragons by Brandon Olin
2022-01-13Building PowerShell Applications that Operate on a Planetary Scale by Justin Sider
2022-01-13Become a PowerShell Debugging Ninja by Kirk Munro
2022-01-13DSC vs. "The Others" - A Song of Configuration Management by Missy Januszko
2022-01-13Connecting the Dots with PowerShell by Warren Frame
2022-01-13Building cmdlets for a REST API with PowerShell classes, Azure-based ... by Jeremy Murrah
2022-01-13Deploy Infrastructure As A Service with Azure Resource Manager Templates by Will Anderson
2022-01-13PowerShell Team: PowerShell Core by Joey Aiello
2022-01-13One MOF to rule them all, and in the Azure bind them by Jacob Morrison
2022-01-13Team Leadership Session by Michael Greene & Joey Aiello
2022-01-13A Historical Architectural Tour of PowerShell by Bruce Payette
2022-01-13State of the Art by Jeffrey Snover