180 likes | 405 Views
In this session…. AWS Tools for PowerShell. AWSPowerShell module Supports PowerShell v2-v5 on Windows AWSPowerShell.NetCore module Supports PowerShell v6 on Windows, MacOS and Linux Both support over 4400+ APIs across 125 AWS services Both available on the PowerShell Gallery
E N D
AWS Tools for PowerShell • AWSPowerShell module • Supports PowerShell v2-v5 on Windows • AWSPowerShell.NetCore module • Supports PowerShell v6 on Windows, MacOS and Linux • Both support over 4400+ APIs across 125 AWS services • Both available on the PowerShell Gallery • NEW! PowerShell module for use with AWS Lambda: AWSLambdaPSCore
AWS Systems Manager • AWS Systems Manager is an operational control tool built to help you manage infrastructure both in AWS and on premises. • Tools target work around: • Automation • State management • Security and auditing • Data visualization
AWS Systems Manager: Parameter Store • Allows you to collect and store configuration in one secure location • Includes some configuration management tools like tagging and hierarchies. • Integrated with AWS KMS for automatic encryption of configuration data at rest • Quickly discover latest Windows image (AMI) ID
AWS Systems Manager: Run Command • Replaces the need for SSH, bastion hosts, or remote PowerShell • All actions recorded by AWS CloudTrail • Automate and execute Bash and PowerShell scripts across your fleet of servers
AWS Systems Manager: State Manager • Provides tools to maintain configuration consistency across your fleet of servers • Supports using Ansible playbooks directly from GitHub or Amazon S3, scripts, PowerShell modules, or configuration through the AWS Console • You can set the frequency and time at which State Manager will apply your configurations
AWS Systems Manager: Automation • Create documents defining a collection of operation or management tasks to apply to your fleet of servers • Automate execution of these tasks based on Amazon CloudWatch events or through the AWS Console, CLI, SDK, or Tools for PowerShell • Optionally track and require approval for each step of your automation
How it was built • Parameter Store to get the ID of the latest EC2 Windows image (AMI) to start from • Collection of Automation documents perform the configuration • Workflow triggered from Lambda function written in PowerShell • State Manager used to control configuration drift over time Let’s get started!
.NET on AWS: https://aws.amazon.com/net Summary PowerShell Gallery https://www.powershellgallery.com/packages/AWSPowerShell/ https://www.powershellgallery.com/packages/AWSPowerShell.NetCore/ AWS Systems Manager Documents on GitHub https://github.com/awslabs/aws-systems-manager/tree/master/Documents/ Blog:https://aws.amazon.com/blogs/developer/category/programing-language/dot-net/ Follow us on Twitter! @awscloud @awsfornet @amsxbg @bellevuesteve