SlideShare a Scribd company logo
1 of 39
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lior Pollack, Solutions Architect
21/06/2017
Operations and Security at Cloud Scale
With Amazon EC2 Systems Manager
What to expect from the session
• Learn how to perform 4 common tasks:
• Streamline instance management at scale
• Automate AMI building and deployment
• Monitor fleet configuration and inventory
• Ensure instances are patch compliant
Key challanges
Secure Scalable
Integrated
Built for the Cloud
Hybrid
Managing cloud and hybrid environments using a
traditional toolset can be complex and costly
Our customers told us:
Traditional IT toolset
not built for cloud
scale infrastructure
Maintaining
enterprise-wide
visibility is challenging
Deploying multiple
products is a
significant overhead
Licensing costs &
complexity
Managing cloud and hybrid environments using
a traditional toolset can be complex and costly
AWS Management Services
Introducing Amazon EC2 Systems Manager
A set of capabilities that enable automated configuration and
ongoing management of systems at scale, across all of your
Windows and Linux workloads,
running in Amazon EC2 or on-premises.
Systems Manager - Capabilities
Run Command Maintenance
Window
Inventory
State Manager Parameter Store
Patch Manager
Automation
Configuration and
Administration
Update and
Track
Shared
Capabilities
How do I…
Execute commands on multiple instances?
Run Command
Run Command - Scale
--max-concurrency
--max-errors Access
Control
API
Run Command Example: Replacing a Bastion
Redefined Architecture (eliminate SSH and ..)
Cloudwatch
Event
Config
Rule
SNS
How it works
Select a document from the bank of available documents,
author new ones, share them
Select managed instances from your Amazon EC2
instances or on-premises instances by tag or id
Set the parameters for command customization
Save the output to Amazon S3 for traceability
1
2
3
4
Wait, what’s a document?
{
"schemaVersion": "2.0",
"description": "Installs a Windows Feature",
"parameters": {
"feature": {
"type”: "String",
"description": "Specify a package to install"
}
},
"mainSteps": [ {
"action": "aws:runPowerShellScript",
"name": "run",
"inputs": { "commands": "Install-WindowsFeature {{feature}}" }
} ]
}
And what’s a managed instance?
Setup instances for Management
- Instance Role
- The AmazonEC2RoleforSSM managed policy –
Enables an instance to communicate with the System
Manager API).
- Bootstrap/Install Agent (Windows AMI pre-installed)
DEMO
Run Command
Run Command
• Important Benefits:
• Delegate access, perform audit, receive notifications.
• Allow users to run only specific commands with granular permissions.
• Helps improve security posture by eliminating the need to SSH or RDP
• Leverage Documents built by AWS and the broader community or
create your own.
• Use API endpoint to interface with other processes.
Perform common administrative tasks remotely at scale
Many use cases:
Bootstrap, Configure and Manage Software
- Example: CM Tools, 3rd party agents.
Diagnostics and Monitoring
- Example: Start or stop a service, run file system monitoring..
Operating System Configuration
- Example: Add/Remove user, Change local files.
Centrally Gather Configuration Information
- Example: Check software updates, gather logs.
How do I…
Secure my secrets?
Parameter Store
Parameter Store
• Parameters reference-able via a Run Command, State Manager,
and Automation Service
• Granular access control limits unwanted data access
• Encrypt sensitive information using your own KMS keys
• Eliminates on-going maintenance challenge of critical enterprise
assets
Centralized management of IT assets such as passwords
and connection strings
Use Case: Secure Domain Join
Administrator sets the join parameters:
Parameters used on the script:
PowerShellAWS CLI
Requires an IAM
Policy to grant access to the
key in KMS
How do I…
Standardize and Maintain by OS Images?
Automation
Automating AMI Maintenance
Companies maintain ‘Golden Images’
• Triggers: patching, hardening, application bake-in
• Never-ending
• Time consuming, especially when builds fail
• Overhead of maintaining build service
Automation Service
• Optimized for building and maintaining Amazon Machine Images
(AMIs)
• Start with an AMI à perform automation steps like OS patching and
drive updates à produce a new AMI
• Pro-Active event notifications.
• Support for Run Command, Lambda functions
• Parameter Store integration
Automate common tasks using simplified workflows
How it works
Run an automation document directly in the console or
via API from a document
Leverage Maintenance Windows to have regular (or
event-based) automation documents executed
1
2
Demo
Automation
How do I…
Know what’s installed on my instances?
Inventory
Inventory
• Example: Instance and OS details, network configuration, list
of files, installed software and patches
• Simplifies management scenarios, such as licensing usage tracking
and identifying software versions vulnerable to zero-day attacks.
Scalable way of collecting, querying, and auditing detailed
software inventory information
Inventory
• End-to-End inventory collection (EC2/on-prem/Workspaces)
• Windows/Linux
• Powerful query
• Extensible inventory schema using JSON Document
• Integrated with AWS services
DEMO
Inventory
How do I…
Ensure patch compliance for my instances?
Patch Manager
Patch Manager
• End-to-End patching
• Easy to automate
• Integrated with other AWS Services
• Eliminates manual intervention and reduces time-to-deploy for critical
updates and zero-day vulnerabilities
Roll out Windows OS patches using custom-defined rules
and pre-scheduled maintenance windows
How it works
Create a baseline for your patches
Select a patch group from your Amazon EC2 instances by
tag
Create a Maintenance Window for applying your patches
(by tag)
1
2
3
How it works
Instance A
Patch Group:Prod
Patch Baseline
- Critical, High
- 5 days or older
1
Maintenance Window
- Sundays @ 1AM
- 2 hrs. long
- Task: Patching
2 3
Patch Compliance
2
up to
date
0
missing
updates
1
error
4
Instance B
Patch Group:Prod Patch Group:Prod
Patch Manager – Patch Baseline
• Auto-approval rules for patches
• Rule criteria
• Product (WS2012 R2)
• MSRC Classification (Critical)
• Approve After (5 days)
• Approved and Rejected patches (KB2032276, KB2124261)
• Register target instances using Patch Group tags
• Example: For Patch Group:Prod instances, approve all Critical
updates for Windows Server 2012 R2 5 days after release, except for
KB2032276
DEMO
Patch Manager
To summarize
• We covered how to:
• Streamline instance management at scale
• Automate AMI building and deployment
• Monitor fleet configuration and inventory
• Ensure instances are patch compliant
Run Command
Automation
Inventory
Patch Manager
How to get started
Create an AWS Account
Oh, EC2 Systems Manager is free! Try it!
Management Tools Blog:
https://aws.amazon.com/blogs/mt/
Come meet our experts and partners!
Thank you!
Lior Pollack, Solutions Architect

More Related Content

What's hot

What's hot (20)

Leveraging AWS Systems Manager for your hybrid Microsoft Workloads - Pop-up L...
Leveraging AWS Systems Manager for your hybrid Microsoft Workloads - Pop-up L...Leveraging AWS Systems Manager for your hybrid Microsoft Workloads - Pop-up L...
Leveraging AWS Systems Manager for your hybrid Microsoft Workloads - Pop-up L...
 
Microsoft SQL Server on AWS
Microsoft SQL Server on AWS Microsoft SQL Server on AWS
Microsoft SQL Server on AWS
 
React Fast by Processing Streaming Data in Real-Time
React Fast by Processing Streaming Data in Real-TimeReact Fast by Processing Streaming Data in Real-Time
React Fast by Processing Streaming Data in Real-Time
 
Apache Spark Clusters for Everyone | AWS Public Sector Summit 2016
Apache Spark Clusters for Everyone | AWS Public Sector Summit 2016Apache Spark Clusters for Everyone | AWS Public Sector Summit 2016
Apache Spark Clusters for Everyone | AWS Public Sector Summit 2016
 
AWS Service Drill Downs
AWS Service Drill DownsAWS Service Drill Downs
AWS Service Drill Downs
 
ENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems ManagerENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems Manager
 
Vancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam ElmalakVancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam Elmalak
 
Automated Compliance and Governance with AWS Config and AWS CloudTrail - June...
Automated Compliance and Governance with AWS Config and AWS CloudTrail - June...Automated Compliance and Governance with AWS Config and AWS CloudTrail - June...
Automated Compliance and Governance with AWS Config and AWS CloudTrail - June...
 
Introducing AWS CodeStar and the AWS CI:CD workflow - AWS Summit Tel Aviv 2017
Introducing AWS CodeStar and the  AWS CI:CD workflow - AWS Summit Tel Aviv 2017Introducing AWS CodeStar and the  AWS CI:CD workflow - AWS Summit Tel Aviv 2017
Introducing AWS CodeStar and the AWS CI:CD workflow - AWS Summit Tel Aviv 2017
 
Getting started with Public Cloud and AWS
Getting started with Public Cloud and AWSGetting started with Public Cloud and AWS
Getting started with Public Cloud and AWS
 
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
 
ENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems ManagerENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems Manager
 
Announcing Amazon EC2 Systems Manager - Hybrid Cloud Management at Scale
Announcing Amazon EC2 Systems Manager - Hybrid Cloud Management at ScaleAnnouncing Amazon EC2 Systems Manager - Hybrid Cloud Management at Scale
Announcing Amazon EC2 Systems Manager - Hybrid Cloud Management at Scale
 
Deliver Managed, Secure Desktop and Productivity Capabilities on Amazon Web S...
Deliver Managed, Secure Desktop and Productivity Capabilities on Amazon Web S...Deliver Managed, Secure Desktop and Productivity Capabilities on Amazon Web S...
Deliver Managed, Secure Desktop and Productivity Capabilities on Amazon Web S...
 
Windows and .NET on AWS
Windows and .NET on AWSWindows and .NET on AWS
Windows and .NET on AWS
 
AWS Workshop Series: Microsoft licensing and active directory on AWS
AWS Workshop Series: Microsoft licensing and active directory on AWSAWS Workshop Series: Microsoft licensing and active directory on AWS
AWS Workshop Series: Microsoft licensing and active directory on AWS
 
Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)
 
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New UnicornWKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
 
AWS re:Invent 2016: Tips for Passing APN Technical Validations (GPSISV2)
AWS re:Invent 2016: Tips for Passing APN Technical Validations (GPSISV2)AWS re:Invent 2016: Tips for Passing APN Technical Validations (GPSISV2)
AWS re:Invent 2016: Tips for Passing APN Technical Validations (GPSISV2)
 
Deep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems ManagerDeep Dive on Amazon EC2 Systems Manager
Deep Dive on Amazon EC2 Systems Manager
 

Similar to Operations and Security at Cloud Scale with Amazon EC2 System Manager - AWS Summit Tel Aviv 2017

How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...
How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...
How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...
Amazon Web Services
 
(CMP406) Amazon ECS at Coursera: A general-purpose microservice
(CMP406) Amazon ECS at Coursera: A general-purpose microservice(CMP406) Amazon ECS at Coursera: A general-purpose microservice
(CMP406) Amazon ECS at Coursera: A general-purpose microservice
Amazon Web Services
 
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
Craeg Strong
 

Similar to Operations and Security at Cloud Scale with Amazon EC2 System Manager - AWS Summit Tel Aviv 2017 (20)

NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at ScaleNEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
 
AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...
AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...
AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...
 
Secure Management of Fleet at Scale
Secure Management of Fleet at ScaleSecure Management of Fleet at Scale
Secure Management of Fleet at Scale
 
Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
Amazon EC2 Systems Manager for Hybrid Cloud Management at ScaleAmazon EC2 Systems Manager for Hybrid Cloud Management at Scale
Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
 
Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
Amazon EC2 Systems Manager for Hybrid Cloud Management at ScaleAmazon EC2 Systems Manager for Hybrid Cloud Management at Scale
Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
 
Secure Management of Fleet at Scale
Secure Management of Fleet at ScaleSecure Management of Fleet at Scale
Secure Management of Fleet at Scale
 
How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...
How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...
How to Manage Inventory, Patching, and System Images for Your Hybrid Cloud wi...
 
Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)
 
Infrastructure Provisioning & Automation For Large Enterprises
Infrastructure Provisioning & Automation For Large EnterprisesInfrastructure Provisioning & Automation For Large Enterprises
Infrastructure Provisioning & Automation For Large Enterprises
 
ENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems ManagerENT401 Deep Dive with Amazon EC2 Systems Manager
ENT401 Deep Dive with Amazon EC2 Systems Manager
 
Inventory and Patch Management Using AWS Systems Manager (ARC332) - AWS re:In...
Inventory and Patch Management Using AWS Systems Manager (ARC332) - AWS re:In...Inventory and Patch Management Using AWS Systems Manager (ARC332) - AWS re:In...
Inventory and Patch Management Using AWS Systems Manager (ARC332) - AWS re:In...
 
Amazon ECS at Coursera: A unified execution framework while defending against...
Amazon ECS at Coursera: A unified execution framework while defending against...Amazon ECS at Coursera: A unified execution framework while defending against...
Amazon ECS at Coursera: A unified execution framework while defending against...
 
(CMP406) Amazon ECS at Coursera: A general-purpose microservice
(CMP406) Amazon ECS at Coursera: A general-purpose microservice(CMP406) Amazon ECS at Coursera: A general-purpose microservice
(CMP406) Amazon ECS at Coursera: A general-purpose microservice
 
Aws meetup ssm
Aws meetup ssmAws meetup ssm
Aws meetup ssm
 
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
 
Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
Amazon EC2 Systems Manager for Hybrid Cloud Management at ScaleAmazon EC2 Systems Manager for Hybrid Cloud Management at Scale
Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
 
GPSTEC307_Too Many Tools
GPSTEC307_Too Many ToolsGPSTEC307_Too Many Tools
GPSTEC307_Too Many Tools
 
AWS Deployment Best Practices
AWS Deployment Best PracticesAWS Deployment Best Practices
AWS Deployment Best Practices
 
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
Integrating Security into DevOps and CI / CD Environments - Pop-up Loft TLV 2017
 
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
 

More from Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Operations and Security at Cloud Scale with Amazon EC2 System Manager - AWS Summit Tel Aviv 2017

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lior Pollack, Solutions Architect 21/06/2017 Operations and Security at Cloud Scale With Amazon EC2 Systems Manager
  • 2. What to expect from the session • Learn how to perform 4 common tasks: • Streamline instance management at scale • Automate AMI building and deployment • Monitor fleet configuration and inventory • Ensure instances are patch compliant
  • 3. Key challanges Secure Scalable Integrated Built for the Cloud Hybrid Managing cloud and hybrid environments using a traditional toolset can be complex and costly
  • 4. Our customers told us: Traditional IT toolset not built for cloud scale infrastructure Maintaining enterprise-wide visibility is challenging Deploying multiple products is a significant overhead Licensing costs & complexity Managing cloud and hybrid environments using a traditional toolset can be complex and costly
  • 6. Introducing Amazon EC2 Systems Manager A set of capabilities that enable automated configuration and ongoing management of systems at scale, across all of your Windows and Linux workloads, running in Amazon EC2 or on-premises.
  • 7. Systems Manager - Capabilities Run Command Maintenance Window Inventory State Manager Parameter Store Patch Manager Automation Configuration and Administration Update and Track Shared Capabilities
  • 8. How do I… Execute commands on multiple instances? Run Command
  • 9. Run Command - Scale --max-concurrency --max-errors Access Control API
  • 10. Run Command Example: Replacing a Bastion
  • 11. Redefined Architecture (eliminate SSH and ..) Cloudwatch Event Config Rule SNS
  • 12. How it works Select a document from the bank of available documents, author new ones, share them Select managed instances from your Amazon EC2 instances or on-premises instances by tag or id Set the parameters for command customization Save the output to Amazon S3 for traceability 1 2 3 4
  • 13. Wait, what’s a document? { "schemaVersion": "2.0", "description": "Installs a Windows Feature", "parameters": { "feature": { "type”: "String", "description": "Specify a package to install" } }, "mainSteps": [ { "action": "aws:runPowerShellScript", "name": "run", "inputs": { "commands": "Install-WindowsFeature {{feature}}" } } ] }
  • 14. And what’s a managed instance?
  • 15. Setup instances for Management - Instance Role - The AmazonEC2RoleforSSM managed policy – Enables an instance to communicate with the System Manager API). - Bootstrap/Install Agent (Windows AMI pre-installed)
  • 17. Run Command • Important Benefits: • Delegate access, perform audit, receive notifications. • Allow users to run only specific commands with granular permissions. • Helps improve security posture by eliminating the need to SSH or RDP • Leverage Documents built by AWS and the broader community or create your own. • Use API endpoint to interface with other processes. Perform common administrative tasks remotely at scale
  • 18. Many use cases: Bootstrap, Configure and Manage Software - Example: CM Tools, 3rd party agents. Diagnostics and Monitoring - Example: Start or stop a service, run file system monitoring.. Operating System Configuration - Example: Add/Remove user, Change local files. Centrally Gather Configuration Information - Example: Check software updates, gather logs.
  • 19. How do I… Secure my secrets? Parameter Store
  • 20. Parameter Store • Parameters reference-able via a Run Command, State Manager, and Automation Service • Granular access control limits unwanted data access • Encrypt sensitive information using your own KMS keys • Eliminates on-going maintenance challenge of critical enterprise assets Centralized management of IT assets such as passwords and connection strings
  • 21. Use Case: Secure Domain Join Administrator sets the join parameters: Parameters used on the script: PowerShellAWS CLI Requires an IAM Policy to grant access to the key in KMS
  • 22. How do I… Standardize and Maintain by OS Images? Automation
  • 23. Automating AMI Maintenance Companies maintain ‘Golden Images’ • Triggers: patching, hardening, application bake-in • Never-ending • Time consuming, especially when builds fail • Overhead of maintaining build service
  • 24. Automation Service • Optimized for building and maintaining Amazon Machine Images (AMIs) • Start with an AMI à perform automation steps like OS patching and drive updates à produce a new AMI • Pro-Active event notifications. • Support for Run Command, Lambda functions • Parameter Store integration Automate common tasks using simplified workflows
  • 25. How it works Run an automation document directly in the console or via API from a document Leverage Maintenance Windows to have regular (or event-based) automation documents executed 1 2
  • 27. How do I… Know what’s installed on my instances? Inventory
  • 28. Inventory • Example: Instance and OS details, network configuration, list of files, installed software and patches • Simplifies management scenarios, such as licensing usage tracking and identifying software versions vulnerable to zero-day attacks. Scalable way of collecting, querying, and auditing detailed software inventory information
  • 29. Inventory • End-to-End inventory collection (EC2/on-prem/Workspaces) • Windows/Linux • Powerful query • Extensible inventory schema using JSON Document • Integrated with AWS services
  • 31. How do I… Ensure patch compliance for my instances? Patch Manager
  • 32. Patch Manager • End-to-End patching • Easy to automate • Integrated with other AWS Services • Eliminates manual intervention and reduces time-to-deploy for critical updates and zero-day vulnerabilities Roll out Windows OS patches using custom-defined rules and pre-scheduled maintenance windows
  • 33. How it works Create a baseline for your patches Select a patch group from your Amazon EC2 instances by tag Create a Maintenance Window for applying your patches (by tag) 1 2 3
  • 34. How it works Instance A Patch Group:Prod Patch Baseline - Critical, High - 5 days or older 1 Maintenance Window - Sundays @ 1AM - 2 hrs. long - Task: Patching 2 3 Patch Compliance 2 up to date 0 missing updates 1 error 4 Instance B Patch Group:Prod Patch Group:Prod
  • 35. Patch Manager – Patch Baseline • Auto-approval rules for patches • Rule criteria • Product (WS2012 R2) • MSRC Classification (Critical) • Approve After (5 days) • Approved and Rejected patches (KB2032276, KB2124261) • Register target instances using Patch Group tags • Example: For Patch Group:Prod instances, approve all Critical updates for Windows Server 2012 R2 5 days after release, except for KB2032276
  • 37. To summarize • We covered how to: • Streamline instance management at scale • Automate AMI building and deployment • Monitor fleet configuration and inventory • Ensure instances are patch compliant Run Command Automation Inventory Patch Manager
  • 38. How to get started Create an AWS Account Oh, EC2 Systems Manager is free! Try it! Management Tools Blog: https://aws.amazon.com/blogs/mt/ Come meet our experts and partners!
  • 39. Thank you! Lior Pollack, Solutions Architect