1 / 17

In this session…

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

beverly
Download Presentation

In this session…

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. In this session…

  2. 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

  3. DemoGetting Started with the AWS Tools for PowerShell

  4. 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

  5. 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

  6. DemoUsing Parameter Store from PowerShell

  7. 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

  8. DemoWhat is a Run Command document?

  9. 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

  10. 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

  11. What are we going to build and manage today?

  12. DemoOur running system

  13. 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!

  14. How else could we have built the system?

  15. .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

  16. Thank You!

More Related