Managing Windows Server on Amazon EC2 with AWS Systems Manager and PowerShell Remoting
During this video, we'll explore how you can use AWS Systems Manager's Run Command feature, in conjunction with Windows PowerShell Remoting (available in PowerShell Desktop Edition), to manage Microsoft Windows Server instances running in Amazon Elastic Compute Cloud (EC2).
First, we'll spin up a fleet of 20 Windows Server instances, using EC2 Spot Pricing, which allows us to bid on extra, unused compute capacity in EC2. This helps us save money when running dev / test systems that aren't running critical production workloads.
Once we've spun up some new EC2 instances, we'll set up our EC2 Security Group and make sure Remote Desktop Protocol (RDP), Windows Remote Management (WinRM), and HTTP ports are opened up. Opening these network ports will allow us to manage the Windows Server instances once they've finished initializing.
One of the unique things we'll explore in this video, is how to bind custom properties to the EC2 instance objects in PowerShell, that simplify the process of decrypting and retrieving the auto-generated passwords for each EC2 instance, and establishing PowerShell Remoting sessions to the instances. This technique uses the Add-Member command in PowerShell, which works with PowerShell's Adaptive Type System (ATS), enabling us to add new, custom interfaces to existing objects of any type.
After the EC2 instances have finished provisioning, we'll use the AWS Systems Manager Run Command feature to deploy a PowerShell script that disables the Windows Firewall. Once the Windows Firewall has been disabled, that will open up the ability for us to connect to the EC2 instances from our on-premises management workstation using Visual Studio Code and PowerShell. We can establish PowerShell Remoting sessions to all of the EC2 instances, and send PowerShell commands to the remote systems.
I hope this video offers a unique perspective on managing cloud-based infrastructure using PowerShell.
Microsoft Visual Studio Code: https://code.visualstudio.com/
AWS Tools for PowerShell: https://aws.amazon.com/documentation/powershell/
AWS PowerShell Module: https://www.powershellgallery.com/items?q=awspowershell
PowerShell Core Edition: https://github.com/PowerShell/PowerShell/
Producer: Trevor Sullivan
Website: https://trevorsullivan.net
Twitter: https://twitter.com/pcgeek86
Gab: https://gab.ai/trevors
Amazon Web Services, the “Powered by AWS” logo, [and name any other AWS Marks used in such materials] are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.
#PowerShell #AWS #cloud
Видео Managing Windows Server on Amazon EC2 with AWS Systems Manager and PowerShell Remoting канала Trevor Sullivan
First, we'll spin up a fleet of 20 Windows Server instances, using EC2 Spot Pricing, which allows us to bid on extra, unused compute capacity in EC2. This helps us save money when running dev / test systems that aren't running critical production workloads.
Once we've spun up some new EC2 instances, we'll set up our EC2 Security Group and make sure Remote Desktop Protocol (RDP), Windows Remote Management (WinRM), and HTTP ports are opened up. Opening these network ports will allow us to manage the Windows Server instances once they've finished initializing.
One of the unique things we'll explore in this video, is how to bind custom properties to the EC2 instance objects in PowerShell, that simplify the process of decrypting and retrieving the auto-generated passwords for each EC2 instance, and establishing PowerShell Remoting sessions to the instances. This technique uses the Add-Member command in PowerShell, which works with PowerShell's Adaptive Type System (ATS), enabling us to add new, custom interfaces to existing objects of any type.
After the EC2 instances have finished provisioning, we'll use the AWS Systems Manager Run Command feature to deploy a PowerShell script that disables the Windows Firewall. Once the Windows Firewall has been disabled, that will open up the ability for us to connect to the EC2 instances from our on-premises management workstation using Visual Studio Code and PowerShell. We can establish PowerShell Remoting sessions to all of the EC2 instances, and send PowerShell commands to the remote systems.
I hope this video offers a unique perspective on managing cloud-based infrastructure using PowerShell.
Microsoft Visual Studio Code: https://code.visualstudio.com/
AWS Tools for PowerShell: https://aws.amazon.com/documentation/powershell/
AWS PowerShell Module: https://www.powershellgallery.com/items?q=awspowershell
PowerShell Core Edition: https://github.com/PowerShell/PowerShell/
Producer: Trevor Sullivan
Website: https://trevorsullivan.net
Twitter: https://twitter.com/pcgeek86
Gab: https://gab.ai/trevors
Amazon Web Services, the “Powered by AWS” logo, [and name any other AWS Marks used in such materials] are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.
#PowerShell #AWS #cloud
Видео Managing Windows Server on Amazon EC2 with AWS Systems Manager and PowerShell Remoting канала Trevor Sullivan
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Rust Generics and Traits: Define Common Struct Behaviors 🦀Elite DangerousSend E-mails From Low-Code Python Apps in @WindmillDev 🔥🐍 Developer | DevOps | Open SourcePackage Custom Linux Vagrant Boxes on Hyper-V | Open Source ToolsPowerShell v5 Classes :: Property Validation AttributesMicrosoft Windows PowerShell Workflow IntroductionPowerShell Splatting: OverviewUse LXD Profiles to Manage Virtual Machines on LinuxInstall Custom Linux Desktop Distributions Remotely on LXD Servers | DevOps | Virtualization 🐧Create and Restore Snapshots of LXD Linux Virtual MachinesMicrosoft Azure VM Extension for PowerShell DSCManage CPU and Memory Resources for LXD Linux VMsLearn PowerShell | Use the Open Source YouTube Module to Automate Activities 📺Control Permissions on LXD Linux Server Hosts With Projects 🐧 🔥 Ubuntu Server | DevOps | Open SourceAzure PowerShell Project Visualization (June 2015 - August 2015)Send Telegram Messages from Windmill Low-code Apps 🔥👨🏻💻 Developer | DevOps | AutomationRun Tasks on Timers in PowerShellBuild Static Web Content with PowerShellBeginner's Guide to Regular Expressions in Rust 🦀 Rust Programming Tutorial for DevelopersSt. Pauls Cathedral - Topmost ViewConfigure LXD Virtual Machine Disk Storage on Linux