SlideShare a Scribd company logo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PowerShell on AWS
Martin Beeby
@thebeebs
mbeeby@amazon.com
© 2019, Amazon Web Services, Inc. or its Affiliates.
@ t h e b e e b s
A software developer since I was 16
Developer for 20 years
Work at Amazon Web Services
MARTIN BEEBY
@THEBEEBS
THEBEEBS.CO.UK/INCEPTION
© 2019, Amazon Web Services, Inc. or its Affiliates.
Session topics
• Overview of PowerShell at AWS
• Finding your way around
• PowerShell with AWS Systems Manager
• DSC and AWS Systems Manager
• Serverless PowerShell
https://infrastructure.aws
AWS Command Line Interface (CLI)
Visual Studio 2017, 2019
© 2019, Amazon Web Services, Inc. or its Affiliates.
Overview of PowerShell at AWS
© 2019, Amazon Web Services, Inc. or its Affiliates.
AWS Tools for Windows PowerShell
• Module named AWSPowerShell
• V1.0.0 released December 5, 2012
• PowerShell Gallery support announced May 14, 2015
• Module pre-installed on Amazon-provided Windows images in EC2
v1.0:
approx. 550 cmdlets across 20 or so services
v3.3.498.0 released April 24, 2019
5,510 cmdlets across 160+ services
© 2019, Amazon Web Services, Inc. or its Affiliates.
AWS Tools for PowerShell Core (v6)
• Module named AWSPowerShell.NetCore
• Announced August 18, 2016
• Launch partner with Microsoft J
• Released to PowerShell Gallery August 23, 2016 (v3.2.7.0)
• 100% compatibility with AWS Tools for Windows PowerShell
• Now targets PowerShell Standard
© 2019, Amazon Web Services, Inc. or its Affiliates.
Release progression
0
1000
2000
3000
4000
5000
6000
7000
5/8/2015
6/8/2015
7/8/2015
8/8/2015
9/8/2015
10/8/2015
11/8/2015
12/8/2015
1/8/2016
2/8/2016
3/8/2016
4/8/2016
5/8/2016
6/8/2016
7/8/2016
8/8/2016
9/8/2016
10/8/2016
11/8/2016
12/8/2016
1/8/2017
2/8/2017
3/8/2017
4/8/2017
5/8/2017
6/8/2017
7/8/2017
8/8/2017
9/8/2017
10/8/2017
11/8/2017
12/8/2017
1/8/2018
2/8/2018
3/8/2018
4/8/2018
5/8/2018
6/8/2018
7/8/2018
8/8/2018
9/8/2018
10/8/2018
11/8/2018
12/8/2018
1/8/2019
2/8/2019
3/8/2019
4/8/2019
© 2019, Amazon Web Services, Inc. or its Affiliates.
Other significant releases
• 31 May 2017: updates to some cmdlet and parameter names
• Responding to community feedback and latest PowerShell standards
• 22 March 2018: Amazon EC2 AMIs with PowerShell Core installed by
default on Amazon Linux 2 and Ubuntu
• 20 August 2018: PowerShell Core added to CodeBuild .NET Docker images
• 11 September 2018: AWS Lambda launches PowerShell Core Language
support
• 18 September 2018: PowerShell code samples added to .NET Developer
Center
© 2019, Amazon Web Services, Inc. or its Affiliates.
Demo Install PowerShell
© 2019, Amazon Web Services, Inc. or its Affiliates.
Install Module
Install-Module -Name AWSPowerShell.NetCore -AllowClobber
© 2019, Amazon Web Services, Inc. or its Affiliates.
Import Module
if (Get-Module -Name 'AWSPowerShell.NetCore' -ListAvailable)
{
Import-Module -Name 'AWSPowerShell.NetCore'
}
elseif (Get-Module -Name 'AWSPowerShell' -ListAvailable)
{
Import-Module -Name 'AWSPowerShell'
}
else
{
throw 'Please install an AWS PowerShell Module.'
}
© 2019, Amazon Web Services, Inc. or its Affiliates.
Create a Bucket
$region = 'us-east-1'
Set-DefaultAWSRegion -Region $region
$s3BucketName = 'powershellsummit2019-beeby-us-east-1'
# Create Bucket
New-S3Bucket -BucketName $s3BucketName
© 2019, Amazon Web Services, Inc. or its Affiliates.
Create a few Buckets
@(
'dscdemo-report-bucket-beeby',
'dscdemo-status-bucket-beeby',
'dscdemo-ssmoutput-bucket-beeby'
) | ForEach-Object {
$null = New-S3Bucket -BucketName $_
}
© 2019, Amazon Web Services, Inc. or its Affiliates.
What’s in the modules?
• Almost all cmdlets map 1:1 to AWS service APIs
• Some cmdlets wrap multiple APIs (eg Write-S3Object)
• Cmdlets sit atop the public AWS SDK for .NET
If you can code something in an SDK, you can script it in PowerShell!
© 2019, Amazon Web Services, Inc. or its Affiliates.
Create a VPC
# Deploy the VPC
$stackName = 'VPC'
$zones = ((Get-EC2AvailabilityZone -Region $awsRegion).ZoneName | Select-Object
-First 2) -join ','
dotnet lambda deploy-serverless $stackName --template vpc.yml --region
$awsRegion --s3-bucket $global:s3BucketName --profile $awsProfileName --
template-parameters AvailabilityZones="$zones"
© 2019, Amazon Web Services, Inc. or its Affiliates.
Create a Fleet
# Deploy the DSC Demo SpotFleet
$stackName = 'AWSDSCDemoInstances'
dotnet lambda deploy-serverless $stackName --template ec2-spot-fleet.yml --
region $awsRegion --s3-bucket $global:s3BucketName --profile $awsProfileName
© 2019, Amazon Web Services, Inc. or its Affiliates.
Cloud Formation
© 2019, Amazon Web Services, Inc. or its Affiliates.
Cloud Formation
© 2019, Amazon Web Services, Inc. or its Affiliates.
© 2019, Amazon Web Services, Inc. or its Affiliates.
PowerShell and AWS Systems
Manager
© 2019, Amazon Web Services, Inc. or its Affiliates.
What is AWS Systems Manager?
• “Single pane of glass” to give you visibility and control of your
infrastructure
• View operational data from multiple services
• Automate operational tasks across your resources
• Supports Amazon EC2 and on-premises systems
• Simplified resource and application management
• Easy to operate and manage your infrastructure securely at scale
© 2019, Amazon Web Services, Inc. or its Affiliates.
Get-AWSCmdletName -ApiOperation describeinstances
© 2019, Amazon Web Services, Inc. or its Affiliates.
Get-AWSPowerShellVersion -ListServices
© 2019, Amazon Web Services, Inc. or its Affiliates.
Get-AWSCmdletName -Service "Systems Manager"
© 2019, Amazon Web Services, Inc. or its Affiliates.
Where can I use PowerShell with Systems Manager?
• Run Command – October 2015: automate common administrative
tasks and ad-hoc configuration at scale
• State Manager – November 2016: automate configurations to keep
systems in a defined state
• Session Manager – September 2018: secure, interactive browser-
based or AWS CLI shell sessions without opening inbound ports
• Compliance / Inventory – November 2016: custom scripts to publish
your own compliance or inventory data
© 2019, Amazon Web Services, Inc. or its Affiliates.
Demo
Parameter Store
Run Command
Session Manager
© 2019, Amazon Web Services, Inc. or its Affiliates.
DSC and AWS Systems Manager
© 2019, Amazon Web Services, Inc. or its Affiliates.
PowerShell DSC support in AWS Systems Manager
• Launched 15 November 2018
• Public Systems Manager Document: AWS-ApplyDSCMofs
• Execute via Run Command or State Manager
• Integrates with AWS:
• AWS Systems Manager - Parameter Store
• AWS Systems Manager - Compliance
• AWS Secrets Manager
• Amazon S3
© 2019, Amazon Web Services, Inc. or its Affiliates.
AWS Lambda meets PowerShell
• PowerShell Core Language Support launched 11 September 2018
• Open Sourced: https://github.com/aws/aws-lambda-dotnet
• New Module: AWSLambdaPSCore
• Also contains ‘new project’ blueprints
• Uses the AWS Lambda .NET Core 2.1 runtime
© 2019, Amazon Web Services, Inc. or its Affiliates.
What is AWS Lambda?
© 2019, Amazon Web Services, Inc. or its Affiliates.
Benefits of AWS Lambda
• Run code without provisioning or managing servers
• Scales automatically
• Invoked directly through API calls, or in response to events
• Only pay for the compute time you consume
• Don’t pay for idle!
© 2019, Amazon Web Services, Inc. or its Affiliates.
What about PowerShell in
AWS Lambda?
© 2019, Amazon Web Services, Inc. or its Affiliates.
PowerShell Lambda: Input
• Two pre-defined variables are made available…
• $LambdaInput
• PSObject containing the Lambda function input data.
• $LambdaContext
• An Amazon.Lambda.Core.ILambdaContext object that contains
information about the currently running Lambda environment.
• Eg: FunctionName, RemainingTime, LogGroupName, LogStreamName
• Variables are positional parameters for PowerShell Function support
© 2019, Amazon Web Services, Inc. or its Affiliates.
PowerShell Lambda: Logging
• PowerShell streams are sent to Amazon CloudWatch Logs
• Includes:
• Write-Host
• Write-Verbose
• Write-Information
• Write-Warning
• Write-Error
© 2019, Amazon Web Services, Inc. or its Affiliates.
PowerShell Lambda: Output
• Last object added to the Output stream is the return data
• If object is a string -> Returned as is.
• Anything else -> ConvertTo-Json is used to convert into a string.
@ t h e b e e b s
Import-Module -Name AWSLambdaPSCore
Get-Command -Module AWSLambdaPSCore
Get-AWSPowerShellLambdaTemplate
@ t h e b e e b s
Using a Blueprint (Template)
$functionName = 'demo-basics'
New-AWSPowerShellLambda -Template 'Basic' -ScriptName $functionName
@ t h e b e e b s
Publishing Direct
$publishAWSPowerShellLambdaSplat = @{
Name = $functionName
ScriptPath = ".$functionName$functionName.ps1"
}
Publish-AWSPowerShellLambda @publishAWSPowerShellLambdaSplat
@ t h e b e e b s
Publishing To Zip
$zipfile =
[System.IO.Path]::Combine([System.IO.Path]::GetTempPath(),
"$functionName.zip")
$package = New-AWSPowerShellLambdaPackage -ScriptPath
".$functionName$functionName.ps1" -OutputPackage $zipfile
@ t h e b e e b s
Invoke
$response = Invoke-LMFunction -FunctionName $functionName
"`n$($response.Payload | ConvertTo-String)`n"
@ t h e b e e b s
Our Function Just Writes to Log
#Requires -Modules
@{ModuleName='AWSPowerShell.NetCore';ModuleVersion='3.3.522.0'}
# Uncomment to send the input event to CloudWatch Logs
Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)
© 2019, Amazon Web Services, Inc. or its Affiliates.
Serverless and Event Driven
Computing
© 2019, Amazon Web Services, Inc. or its Affiliates.
How does Event Driven Computing differ?
• Code is triggered in response to an event
• Direct invocation through an API
• Service Events
• Loosely coupled systems
• Asynchronous
• Automatic scaling
• Don’t pay for idle!
© 2019, Amazon Web Services, Inc. or its Affiliates.
Meaning of Life, the Universe, and Everything
© 2019, Amazon Web Services, Inc. or its Affiliates.
The Almighty Answer to the Meaning of Life, the
Universe, and Everything. Was calculated by the
computer Deep Thought for seven million years.
The answer was “42”
Hitchhickers Guide to The Galaxy
© 2019, Amazon Web Services, Inc. or its Affiliates.
© 2019, Amazon Web Services, Inc. or its Affiliates.
© 2019, Amazon Web Services, Inc. or its Affiliates.
© 2019, Amazon Web Services, Inc. or its Affiliates.
© 2019, Amazon Web Services, Inc. or its Affiliates.
Amazon S3 Event -> AWS Lambda
Users /
Service S3 Bucket Lambda
Function
Put Object S3 Event Trigger
© 2019, Amazon Web Services, Inc. or its Affiliates.
? -> Event -> AWS Lambda
Lambda
Function
Event
?
© 2019, Amazon Web Services, Inc. or its Affiliates.
AWS Integrations
Lambda
Function
Event
Amazon Kinesis
Amazon Simple
Notification Service
Amazon Simple Queue
Service
AWS Step Functions
Amazon DynamoDB
AWS CodeBuild
AWS CodeCommit
AWS CodeDeploy
AWS CodePipeline
AWS IoT Button
Amazon CloudWatch
AWS CloudFormation
AWS CloudTrail Amazon API Gateway
Amazon Cognito
Amazon CloudFront
© 2019, Amazon Web Services, Inc. or its Affiliates.
Amazon CloudWatch Event Types
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html
• AWS Batch
• Amazon CloudWatch Events
• AWS CodeBuild
• AWS CodeCommit
• AWS CodeDeploy
• AWS CodePipeline
• Amazon EBS
• Amazon EC2 Auto Scaling
• Amazon EC2 Spot Instance Interruption
• Amazon EC2 State Change
• Amazon ECS
• Amazon EMR
• Amazon GameLift
• AWS Glue
• Amazon GuardDuty
• AWS Health
• AWS KMS
• Amazon Macie
• AWS Management Console Sign-in
• AWS OpsWorks Stacks
• Amazon SageMaker
• AWS Server Migration Service
• AWS Systems Manager
• AWS Systems Manager Configuration
Compliance
• AWS Systems Manager Maintenance
Windows
• AWS Systems Manager Parameter Store
• Tag Change Events on AWS Resources
• AWS Trusted Advisor
• Amazon WorkSpaces
• Any AWS API Call logged by AWS
CloudTrail
© 2019, Amazon Web Services, Inc. or its Affiliates.
Amazon CloudWatch Events
Lambda
Function
Event
Amazon
CloudWatch
Scheduled:
• 1 minute
• 5 minutes
• 1 day
• cron expression
© 2019, Amazon Web Services, Inc. or its Affiliates.
© 2019, Amazon Web Services, Inc. or its Affiliates.
Demo in Console
© 2019, Amazon Web Services, Inc. or its Affiliates.
Recap: What have we learnt so far…
• Demonstrated PowerShell Lambda
• It’s just PowerShell running in AWS
• Serverless
• Focus on your customer
• Event driven computing
• Stop paying for idle
© 2019, Amazon Web Services, Inc. or its Affiliates.
Resources
GitHub links:
https://github.com/aws/aws-tools-for-powershell
https://github.com/aws/aws-lambda-dotnet
PowerShell Gallery links:
https://www.powershellgallery.com/packages/AWSPowerShell/
https://www.powershellgallery.com/packages/AWSPowerShell.NetCore/
AWS Developer Blog:
https://aws.amazon.com/blogs/developer/
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Martin Beeby
@thebeebs

More Related Content

What's hot

Serverless-AWS SAM CLI Session: Developer Meet Up
Serverless-AWS SAM CLI Session: Developer Meet UpServerless-AWS SAM CLI Session: Developer Meet Up
Serverless-AWS SAM CLI Session: Developer Meet Up
Amazon Web Services
 
Serverless DevOps to the Rescue
Serverless DevOps to the RescueServerless DevOps to the Rescue
Serverless DevOps to the Rescue
Amazon Web Services
 
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS)  | AWS Summit Tel Aviv 2019Deep Dive on Amazon Elastic Container Service (ECS)  | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
AWS Summits
 
Deep Dive on Serverless Application Development
Deep Dive on Serverless Application DevelopmentDeep Dive on Serverless Application Development
Deep Dive on Serverless Application Development
Amazon Web Services
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Amazon Web Services
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
Amazon Web Services
 
Intro to AWS Developer Tools, featuring AWS CodeStar
Intro to AWS Developer Tools, featuring AWS CodeStarIntro to AWS Developer Tools, featuring AWS CodeStar
Intro to AWS Developer Tools, featuring AWS CodeStar
Amazon Web Services
 
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Amazon Web Services
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
Amazon Web Services
 
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Amazon Web Services
 
Unlocking Agility with the AWS Serverless Application Model (SAM)
Unlocking Agility with the AWS Serverless Application Model (SAM)Unlocking Agility with the AWS Serverless Application Model (SAM)
Unlocking Agility with the AWS Serverless Application Model (SAM)
Amazon Web Services
 
Beginning Serverless Applications with AWS SAM
Beginning Serverless Applications with AWS SAMBeginning Serverless Applications with AWS SAM
Beginning Serverless Applications with AWS SAM
harprits10
 
Deep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep DiveDeep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep Dive
Amazon Web Services
 
CloudFormation Best Practices
CloudFormation Best PracticesCloudFormation Best Practices
CloudFormation Best Practices
Amazon Web Services
 
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
Amazon Web Services
 
Serverless Applications with AWS SAM
Serverless Applications with AWS SAMServerless Applications with AWS SAM
Serverless Applications with AWS SAM
Chris Munns
 
Building CI-CD Pipelines for Serverless Applications
Building CI-CD Pipelines for Serverless ApplicationsBuilding CI-CD Pipelines for Serverless Applications
Building CI-CD Pipelines for Serverless Applications
Amazon Web Services
 
Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
Amazon Web Services
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
Amazon Web Services
 
Getting Started with Docker On AWS
Getting Started with Docker On AWSGetting Started with Docker On AWS
Getting Started with Docker On AWS
Amazon Web Services
 

What's hot (20)

Serverless-AWS SAM CLI Session: Developer Meet Up
Serverless-AWS SAM CLI Session: Developer Meet UpServerless-AWS SAM CLI Session: Developer Meet Up
Serverless-AWS SAM CLI Session: Developer Meet Up
 
Serverless DevOps to the Rescue
Serverless DevOps to the RescueServerless DevOps to the Rescue
Serverless DevOps to the Rescue
 
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS)  | AWS Summit Tel Aviv 2019Deep Dive on Amazon Elastic Container Service (ECS)  | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
 
Deep Dive on Serverless Application Development
Deep Dive on Serverless Application DevelopmentDeep Dive on Serverless Application Development
Deep Dive on Serverless Application Development
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
 
Intro to AWS Developer Tools, featuring AWS CodeStar
Intro to AWS Developer Tools, featuring AWS CodeStarIntro to AWS Developer Tools, featuring AWS CodeStar
Intro to AWS Developer Tools, featuring AWS CodeStar
 
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
 
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
 
Unlocking Agility with the AWS Serverless Application Model (SAM)
Unlocking Agility with the AWS Serverless Application Model (SAM)Unlocking Agility with the AWS Serverless Application Model (SAM)
Unlocking Agility with the AWS Serverless Application Model (SAM)
 
Beginning Serverless Applications with AWS SAM
Beginning Serverless Applications with AWS SAMBeginning Serverless Applications with AWS SAM
Beginning Serverless Applications with AWS SAM
 
Deep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep DiveDeep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep Dive
 
CloudFormation Best Practices
CloudFormation Best PracticesCloudFormation Best Practices
CloudFormation Best Practices
 
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
 
Serverless Applications with AWS SAM
Serverless Applications with AWS SAMServerless Applications with AWS SAM
Serverless Applications with AWS SAM
 
Building CI-CD Pipelines for Serverless Applications
Building CI-CD Pipelines for Serverless ApplicationsBuilding CI-CD Pipelines for Serverless Applications
Building CI-CD Pipelines for Serverless Applications
 
Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 
Getting Started with Docker On AWS
Getting Started with Docker On AWSGetting Started with Docker On AWS
Getting Started with Docker On AWS
 

Similar to "Automating AWS Infrastructure with PowerShell", Martin Beeby, AWS Dev Day Kyiv 2019 "

AWS Serverless Development
AWS Serverless DevelopmentAWS Serverless Development
AWS Serverless Development
Amazon Web Services
 
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit SydneyIntegrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Amazon Web Services
 
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as CodeAWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
Cobus Bernard
 
The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...
The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...
The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...Amazon Web Services
 
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
Chris Munns
 
Building serverless applications (April 2018)
Building serverless applications (April 2018)Building serverless applications (April 2018)
Building serverless applications (April 2018)
Julien SIMON
 
Devops on serverless
Devops on serverlessDevops on serverless
Devops on serverless
Sébastien ☁ Stormacq
 
AWS Serverless Workshop
AWS Serverless WorkshopAWS Serverless Workshop
AWS Serverless Workshop
Mikael Puittinen
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
Amazon Web Services
 
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summit Singapore 2019 | Microsoft DevOps on AWSAWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summits
 
Serverless Functions Deep Dive
Serverless Functions Deep DiveServerless Functions Deep Dive
Serverless Functions Deep Dive
Amazon Web Services
 
SRV313 Introduction to Building Web Apps on AWS
 SRV313 Introduction to Building Web Apps on AWS SRV313 Introduction to Building Web Apps on AWS
SRV313 Introduction to Building Web Apps on AWS
Amazon Web Services
 
CON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWSCON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWS
Amazon Web Services
 
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Amazon Web Services
 
Serverless Development Deep Dive
Serverless Development Deep DiveServerless Development Deep Dive
Serverless Development Deep Dive
Amazon Web Services
 
Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...
Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...
Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...
Amazon Web Services
 
Developing applications on AWS with .NET core - AWS Cape Town Summit 2018
Developing applications on AWS with .NET core - AWS Cape Town Summit 2018Developing applications on AWS with .NET core - AWS Cape Town Summit 2018
Developing applications on AWS with .NET core - AWS Cape Town Summit 2018
Amazon Web Services
 
An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)
Julien SIMON
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Amazon Web Services
 
Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...
Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...
Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...
Amazon Web Services
 

Similar to "Automating AWS Infrastructure with PowerShell", Martin Beeby, AWS Dev Day Kyiv 2019 " (20)

AWS Serverless Development
AWS Serverless DevelopmentAWS Serverless Development
AWS Serverless Development
 
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit SydneyIntegrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
 
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as CodeAWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
 
The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...
The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...
The Best Practices and Hard Lessons Learned of Serverless Applications - AWS ...
 
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
AWS Startup Day - Boston 2018 - The Best Practices and Hard Lessons Learned o...
 
Building serverless applications (April 2018)
Building serverless applications (April 2018)Building serverless applications (April 2018)
Building serverless applications (April 2018)
 
Devops on serverless
Devops on serverlessDevops on serverless
Devops on serverless
 
AWS Serverless Workshop
AWS Serverless WorkshopAWS Serverless Workshop
AWS Serverless Workshop
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summit Singapore 2019 | Microsoft DevOps on AWSAWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
 
Serverless Functions Deep Dive
Serverless Functions Deep DiveServerless Functions Deep Dive
Serverless Functions Deep Dive
 
SRV313 Introduction to Building Web Apps on AWS
 SRV313 Introduction to Building Web Apps on AWS SRV313 Introduction to Building Web Apps on AWS
SRV313 Introduction to Building Web Apps on AWS
 
CON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWSCON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWS
 
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
 
Serverless Development Deep Dive
Serverless Development Deep DiveServerless Development Deep Dive
Serverless Development Deep Dive
 
Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...
Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...
Build end-to-end IT lifecycle management on AWS - FND301-R - AWS re:Inforce 2...
 
Developing applications on AWS with .NET core - AWS Cape Town Summit 2018
Developing applications on AWS with .NET core - AWS Cape Town Summit 2018Developing applications on AWS with .NET core - AWS Cape Town Summit 2018
Developing applications on AWS with .NET core - AWS Cape Town Summit 2018
 
An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
 
Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...
Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...
Hands-On with Advanced AWS CloudFormation Techniques and New Features (DEV335...
 

More from Provectus

Choosing the right IDP Solution
Choosing the right IDP SolutionChoosing the right IDP Solution
Choosing the right IDP Solution
Provectus
 
Intelligent Document Processing in Healthcare. Choosing the Right Solutions.
Intelligent Document Processing in Healthcare. Choosing the Right Solutions.Intelligent Document Processing in Healthcare. Choosing the Right Solutions.
Intelligent Document Processing in Healthcare. Choosing the Right Solutions.
Provectus
 
Choosing the Right Document Processing Solution for Healthcare Organizations
Choosing the Right Document Processing Solution for Healthcare OrganizationsChoosing the Right Document Processing Solution for Healthcare Organizations
Choosing the Right Document Processing Solution for Healthcare Organizations
Provectus
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionMLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in Production
Provectus
 
AI Stack on AWS: Amazon SageMaker and Beyond
AI Stack on AWS: Amazon SageMaker and BeyondAI Stack on AWS: Amazon SageMaker and Beyond
AI Stack on AWS: Amazon SageMaker and Beyond
Provectus
 
Feature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine LearningFeature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine Learning
Provectus
 
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMakerMLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
Provectus
 
Cost Optimization for Apache Hadoop/Spark Workloads with Amazon EMR
Cost Optimization for Apache Hadoop/Spark Workloads with Amazon EMRCost Optimization for Apache Hadoop/Spark Workloads with Amazon EMR
Cost Optimization for Apache Hadoop/Spark Workloads with Amazon EMR
Provectus
 
ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...
ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...
ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...
Provectus
 
"Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K...
"Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K..."Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K...
"Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K...
Provectus
 
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ..."How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
Provectus
 
"Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2...
"Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2..."Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2...
"Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2...
Provectus
 
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma..."Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
Provectus
 
"Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ...
"Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ..."Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ...
"Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ...
Provectus
 
"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019
"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019
"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019
Provectus
 
"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019
"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019
"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019
Provectus
 
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti..."Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
Provectus
 
"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019
"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019
"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019
Provectus
 
How to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAMHow to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAM
Provectus
 
Yurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC Meetup
Yurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC MeetupYurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC Meetup
Yurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC Meetup
Provectus
 

More from Provectus (20)

Choosing the right IDP Solution
Choosing the right IDP SolutionChoosing the right IDP Solution
Choosing the right IDP Solution
 
Intelligent Document Processing in Healthcare. Choosing the Right Solutions.
Intelligent Document Processing in Healthcare. Choosing the Right Solutions.Intelligent Document Processing in Healthcare. Choosing the Right Solutions.
Intelligent Document Processing in Healthcare. Choosing the Right Solutions.
 
Choosing the Right Document Processing Solution for Healthcare Organizations
Choosing the Right Document Processing Solution for Healthcare OrganizationsChoosing the Right Document Processing Solution for Healthcare Organizations
Choosing the Right Document Processing Solution for Healthcare Organizations
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionMLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in Production
 
AI Stack on AWS: Amazon SageMaker and Beyond
AI Stack on AWS: Amazon SageMaker and BeyondAI Stack on AWS: Amazon SageMaker and Beyond
AI Stack on AWS: Amazon SageMaker and Beyond
 
Feature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine LearningFeature Store as a Data Foundation for Machine Learning
Feature Store as a Data Foundation for Machine Learning
 
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMakerMLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
 
Cost Optimization for Apache Hadoop/Spark Workloads with Amazon EMR
Cost Optimization for Apache Hadoop/Spark Workloads with Amazon EMRCost Optimization for Apache Hadoop/Spark Workloads with Amazon EMR
Cost Optimization for Apache Hadoop/Spark Workloads with Amazon EMR
 
ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...
ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...
ODSC webinar "Kubeflow, MLFlow and Beyond — augmenting ML delivery" Stepan Pu...
 
"Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K...
"Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K..."Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K...
"Building a Modern Data platform in the Cloud", Alex Casalboni, AWS Dev Day K...
 
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ..."How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
 
"Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2...
"Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2..."Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2...
"Analyzing your web and application logs", Javier Ramirez, AWS Dev Day Kyiv 2...
 
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma..."Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
"Resiliency and Availability Design Patterns for the Cloud", Sebastien Storma...
 
"Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ...
"Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ..."Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ...
"Architecting SaaS solutions on AWS", Oleksandr Mykhalchuk, AWS Dev Day Kyiv ...
 
"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019
"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019
"Developing with .NET Core on AWS", Martin Beeby, AWS Dev Day Kyiv 2019
 
"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019
"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019
"How to build real-time backends", Martin Beeby, AWS Dev Day Kyiv 2019
 
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti..."Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
 
"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019
"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019
"Scaling ML from 0 to millions of users", Julien Simon, AWS Dev Day Kyiv 2019
 
How to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAMHow to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAM
 
Yurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC Meetup
Yurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC MeetupYurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC Meetup
Yurii Gavrilin | ML Interpretability: From A to Z | Kazan ODSC Meetup
 

Recently uploaded

一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
theahmadsaood
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
AlejandraGmez176757
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
correoyaya
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar
 

Recently uploaded (20)

一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
 

"Automating AWS Infrastructure with PowerShell", Martin Beeby, AWS Dev Day Kyiv 2019 "

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. PowerShell on AWS Martin Beeby @thebeebs mbeeby@amazon.com
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. @ t h e b e e b s A software developer since I was 16 Developer for 20 years Work at Amazon Web Services MARTIN BEEBY @THEBEEBS THEBEEBS.CO.UK/INCEPTION
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. Session topics • Overview of PowerShell at AWS • Finding your way around • PowerShell with AWS Systems Manager • DSC and AWS Systems Manager • Serverless PowerShell
  • 5.
  • 6.
  • 7.
  • 8. AWS Command Line Interface (CLI)
  • 9.
  • 10.
  • 12.
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. Overview of PowerShell at AWS
  • 14. © 2019, Amazon Web Services, Inc. or its Affiliates. AWS Tools for Windows PowerShell • Module named AWSPowerShell • V1.0.0 released December 5, 2012 • PowerShell Gallery support announced May 14, 2015 • Module pre-installed on Amazon-provided Windows images in EC2 v1.0: approx. 550 cmdlets across 20 or so services v3.3.498.0 released April 24, 2019 5,510 cmdlets across 160+ services
  • 15. © 2019, Amazon Web Services, Inc. or its Affiliates. AWS Tools for PowerShell Core (v6) • Module named AWSPowerShell.NetCore • Announced August 18, 2016 • Launch partner with Microsoft J • Released to PowerShell Gallery August 23, 2016 (v3.2.7.0) • 100% compatibility with AWS Tools for Windows PowerShell • Now targets PowerShell Standard
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. Release progression 0 1000 2000 3000 4000 5000 6000 7000 5/8/2015 6/8/2015 7/8/2015 8/8/2015 9/8/2015 10/8/2015 11/8/2015 12/8/2015 1/8/2016 2/8/2016 3/8/2016 4/8/2016 5/8/2016 6/8/2016 7/8/2016 8/8/2016 9/8/2016 10/8/2016 11/8/2016 12/8/2016 1/8/2017 2/8/2017 3/8/2017 4/8/2017 5/8/2017 6/8/2017 7/8/2017 8/8/2017 9/8/2017 10/8/2017 11/8/2017 12/8/2017 1/8/2018 2/8/2018 3/8/2018 4/8/2018 5/8/2018 6/8/2018 7/8/2018 8/8/2018 9/8/2018 10/8/2018 11/8/2018 12/8/2018 1/8/2019 2/8/2019 3/8/2019 4/8/2019
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. Other significant releases • 31 May 2017: updates to some cmdlet and parameter names • Responding to community feedback and latest PowerShell standards • 22 March 2018: Amazon EC2 AMIs with PowerShell Core installed by default on Amazon Linux 2 and Ubuntu • 20 August 2018: PowerShell Core added to CodeBuild .NET Docker images • 11 September 2018: AWS Lambda launches PowerShell Core Language support • 18 September 2018: PowerShell code samples added to .NET Developer Center
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. Demo Install PowerShell
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. Install Module Install-Module -Name AWSPowerShell.NetCore -AllowClobber
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. Import Module if (Get-Module -Name 'AWSPowerShell.NetCore' -ListAvailable) { Import-Module -Name 'AWSPowerShell.NetCore' } elseif (Get-Module -Name 'AWSPowerShell' -ListAvailable) { Import-Module -Name 'AWSPowerShell' } else { throw 'Please install an AWS PowerShell Module.' }
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. Create a Bucket $region = 'us-east-1' Set-DefaultAWSRegion -Region $region $s3BucketName = 'powershellsummit2019-beeby-us-east-1' # Create Bucket New-S3Bucket -BucketName $s3BucketName
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. Create a few Buckets @( 'dscdemo-report-bucket-beeby', 'dscdemo-status-bucket-beeby', 'dscdemo-ssmoutput-bucket-beeby' ) | ForEach-Object { $null = New-S3Bucket -BucketName $_ }
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. What’s in the modules? • Almost all cmdlets map 1:1 to AWS service APIs • Some cmdlets wrap multiple APIs (eg Write-S3Object) • Cmdlets sit atop the public AWS SDK for .NET If you can code something in an SDK, you can script it in PowerShell!
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. Create a VPC # Deploy the VPC $stackName = 'VPC' $zones = ((Get-EC2AvailabilityZone -Region $awsRegion).ZoneName | Select-Object -First 2) -join ',' dotnet lambda deploy-serverless $stackName --template vpc.yml --region $awsRegion --s3-bucket $global:s3BucketName --profile $awsProfileName -- template-parameters AvailabilityZones="$zones"
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. Create a Fleet # Deploy the DSC Demo SpotFleet $stackName = 'AWSDSCDemoInstances' dotnet lambda deploy-serverless $stackName --template ec2-spot-fleet.yml -- region $awsRegion --s3-bucket $global:s3BucketName --profile $awsProfileName
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. Cloud Formation
  • 27. © 2019, Amazon Web Services, Inc. or its Affiliates. Cloud Formation
  • 28. © 2019, Amazon Web Services, Inc. or its Affiliates.
  • 29. © 2019, Amazon Web Services, Inc. or its Affiliates. PowerShell and AWS Systems Manager
  • 30. © 2019, Amazon Web Services, Inc. or its Affiliates. What is AWS Systems Manager? • “Single pane of glass” to give you visibility and control of your infrastructure • View operational data from multiple services • Automate operational tasks across your resources • Supports Amazon EC2 and on-premises systems • Simplified resource and application management • Easy to operate and manage your infrastructure securely at scale
  • 31. © 2019, Amazon Web Services, Inc. or its Affiliates. Get-AWSCmdletName -ApiOperation describeinstances
  • 32. © 2019, Amazon Web Services, Inc. or its Affiliates. Get-AWSPowerShellVersion -ListServices
  • 33. © 2019, Amazon Web Services, Inc. or its Affiliates. Get-AWSCmdletName -Service "Systems Manager"
  • 34. © 2019, Amazon Web Services, Inc. or its Affiliates. Where can I use PowerShell with Systems Manager? • Run Command – October 2015: automate common administrative tasks and ad-hoc configuration at scale • State Manager – November 2016: automate configurations to keep systems in a defined state • Session Manager – September 2018: secure, interactive browser- based or AWS CLI shell sessions without opening inbound ports • Compliance / Inventory – November 2016: custom scripts to publish your own compliance or inventory data
  • 35. © 2019, Amazon Web Services, Inc. or its Affiliates. Demo Parameter Store Run Command Session Manager
  • 36. © 2019, Amazon Web Services, Inc. or its Affiliates. DSC and AWS Systems Manager
  • 37. © 2019, Amazon Web Services, Inc. or its Affiliates. PowerShell DSC support in AWS Systems Manager • Launched 15 November 2018 • Public Systems Manager Document: AWS-ApplyDSCMofs • Execute via Run Command or State Manager • Integrates with AWS: • AWS Systems Manager - Parameter Store • AWS Systems Manager - Compliance • AWS Secrets Manager • Amazon S3
  • 38. © 2019, Amazon Web Services, Inc. or its Affiliates. AWS Lambda meets PowerShell • PowerShell Core Language Support launched 11 September 2018 • Open Sourced: https://github.com/aws/aws-lambda-dotnet • New Module: AWSLambdaPSCore • Also contains ‘new project’ blueprints • Uses the AWS Lambda .NET Core 2.1 runtime
  • 39. © 2019, Amazon Web Services, Inc. or its Affiliates. What is AWS Lambda?
  • 40. © 2019, Amazon Web Services, Inc. or its Affiliates. Benefits of AWS Lambda • Run code without provisioning or managing servers • Scales automatically • Invoked directly through API calls, or in response to events • Only pay for the compute time you consume • Don’t pay for idle!
  • 41. © 2019, Amazon Web Services, Inc. or its Affiliates. What about PowerShell in AWS Lambda?
  • 42. © 2019, Amazon Web Services, Inc. or its Affiliates. PowerShell Lambda: Input • Two pre-defined variables are made available… • $LambdaInput • PSObject containing the Lambda function input data. • $LambdaContext • An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment. • Eg: FunctionName, RemainingTime, LogGroupName, LogStreamName • Variables are positional parameters for PowerShell Function support
  • 43. © 2019, Amazon Web Services, Inc. or its Affiliates. PowerShell Lambda: Logging • PowerShell streams are sent to Amazon CloudWatch Logs • Includes: • Write-Host • Write-Verbose • Write-Information • Write-Warning • Write-Error
  • 44. © 2019, Amazon Web Services, Inc. or its Affiliates. PowerShell Lambda: Output • Last object added to the Output stream is the return data • If object is a string -> Returned as is. • Anything else -> ConvertTo-Json is used to convert into a string.
  • 45. @ t h e b e e b s Import-Module -Name AWSLambdaPSCore
  • 48. @ t h e b e e b s Using a Blueprint (Template) $functionName = 'demo-basics' New-AWSPowerShellLambda -Template 'Basic' -ScriptName $functionName
  • 49.
  • 50. @ t h e b e e b s Publishing Direct $publishAWSPowerShellLambdaSplat = @{ Name = $functionName ScriptPath = ".$functionName$functionName.ps1" } Publish-AWSPowerShellLambda @publishAWSPowerShellLambdaSplat
  • 51. @ t h e b e e b s Publishing To Zip $zipfile = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), "$functionName.zip") $package = New-AWSPowerShellLambdaPackage -ScriptPath ".$functionName$functionName.ps1" -OutputPackage $zipfile
  • 52. @ t h e b e e b s Invoke $response = Invoke-LMFunction -FunctionName $functionName "`n$($response.Payload | ConvertTo-String)`n"
  • 53.
  • 54. @ t h e b e e b s Our Function Just Writes to Log #Requires -Modules @{ModuleName='AWSPowerShell.NetCore';ModuleVersion='3.3.522.0'} # Uncomment to send the input event to CloudWatch Logs Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)
  • 55. © 2019, Amazon Web Services, Inc. or its Affiliates. Serverless and Event Driven Computing
  • 56. © 2019, Amazon Web Services, Inc. or its Affiliates. How does Event Driven Computing differ? • Code is triggered in response to an event • Direct invocation through an API • Service Events • Loosely coupled systems • Asynchronous • Automatic scaling • Don’t pay for idle!
  • 57. © 2019, Amazon Web Services, Inc. or its Affiliates. Meaning of Life, the Universe, and Everything
  • 58. © 2019, Amazon Web Services, Inc. or its Affiliates. The Almighty Answer to the Meaning of Life, the Universe, and Everything. Was calculated by the computer Deep Thought for seven million years. The answer was “42” Hitchhickers Guide to The Galaxy
  • 59. © 2019, Amazon Web Services, Inc. or its Affiliates.
  • 60. © 2019, Amazon Web Services, Inc. or its Affiliates.
  • 61. © 2019, Amazon Web Services, Inc. or its Affiliates.
  • 62. © 2019, Amazon Web Services, Inc. or its Affiliates.
  • 63. © 2019, Amazon Web Services, Inc. or its Affiliates. Amazon S3 Event -> AWS Lambda Users / Service S3 Bucket Lambda Function Put Object S3 Event Trigger
  • 64. © 2019, Amazon Web Services, Inc. or its Affiliates. ? -> Event -> AWS Lambda Lambda Function Event ?
  • 65. © 2019, Amazon Web Services, Inc. or its Affiliates. AWS Integrations Lambda Function Event Amazon Kinesis Amazon Simple Notification Service Amazon Simple Queue Service AWS Step Functions Amazon DynamoDB AWS CodeBuild AWS CodeCommit AWS CodeDeploy AWS CodePipeline AWS IoT Button Amazon CloudWatch AWS CloudFormation AWS CloudTrail Amazon API Gateway Amazon Cognito Amazon CloudFront
  • 66. © 2019, Amazon Web Services, Inc. or its Affiliates. Amazon CloudWatch Event Types https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html • AWS Batch • Amazon CloudWatch Events • AWS CodeBuild • AWS CodeCommit • AWS CodeDeploy • AWS CodePipeline • Amazon EBS • Amazon EC2 Auto Scaling • Amazon EC2 Spot Instance Interruption • Amazon EC2 State Change • Amazon ECS • Amazon EMR • Amazon GameLift • AWS Glue • Amazon GuardDuty • AWS Health • AWS KMS • Amazon Macie • AWS Management Console Sign-in • AWS OpsWorks Stacks • Amazon SageMaker • AWS Server Migration Service • AWS Systems Manager • AWS Systems Manager Configuration Compliance • AWS Systems Manager Maintenance Windows • AWS Systems Manager Parameter Store • Tag Change Events on AWS Resources • AWS Trusted Advisor • Amazon WorkSpaces • Any AWS API Call logged by AWS CloudTrail
  • 67. © 2019, Amazon Web Services, Inc. or its Affiliates. Amazon CloudWatch Events Lambda Function Event Amazon CloudWatch Scheduled: • 1 minute • 5 minutes • 1 day • cron expression
  • 68. © 2019, Amazon Web Services, Inc. or its Affiliates.
  • 69. © 2019, Amazon Web Services, Inc. or its Affiliates. Demo in Console
  • 70. © 2019, Amazon Web Services, Inc. or its Affiliates. Recap: What have we learnt so far… • Demonstrated PowerShell Lambda • It’s just PowerShell running in AWS • Serverless • Focus on your customer • Event driven computing • Stop paying for idle
  • 71. © 2019, Amazon Web Services, Inc. or its Affiliates. Resources GitHub links: https://github.com/aws/aws-tools-for-powershell https://github.com/aws/aws-lambda-dotnet PowerShell Gallery links: https://www.powershellgallery.com/packages/AWSPowerShell/ https://www.powershellgallery.com/packages/AWSPowerShell.NetCore/ AWS Developer Blog: https://aws.amazon.com/blogs/developer/
  • 72. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Martin Beeby @thebeebs