SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Optimize Performance and Reduce Risk Using
AWS Support Tools
Stephen Salim
Solutions Architect
Amazon Web Services
E N T 3 1 6 - R
Ramanuja (Ram) Atur
Sr. Product Manager
Amazon Web Services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Introduction to AWS Trusted Advisor
Learn how to automatically optimize your AWS environment based on
Trusted Advisor best practice recommendations
Introduction to AWS Health and AWS Personal Health Dashboard
Learn how to automate actions and customize AWS Health alerts using
Amazon CloudWatch Events and other AWS services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Workshop repeats
Tuesday, Nov 27
Optimize Performance and Reduce Risk Using AWS Support Tools - ENT316-R1
11:30 AM – 1:45 PM | Mirage, Mirage Event Center C3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Related builders sessions
Tuesday, November 27
Build Automated Actions Using AWS Support Tools
8:30AM – 9:30AM | Mirage, Grand Ballroom D, Table 2
Tuesday, November 27
Build Automated Actions Using AWS Support Tools
1:00PM – 2:00PM | Aria West, Level 3, Starvine 10, Table 5
Wednesday, November 28
Build Automated Actions Using AWS Support Tools
5:30PM – 6:30PM | Mirage, Grand Ballroom B, Table 3
Thursday, November 29
Build Automated Actions Using AWS Support Tools
1:00PM – 2:00PM | Aria West, Level 3, Starvine 10, Table 1
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Complexity brings challenges / risks
This is heavy…
• Unexpected bills and unused resources
• Service disruption, events and maintenance
• Lack of fault-tolerance
• Security vulnerabilities
• Performance gaps
• Lots of heavy lifting for monitoring resources and implementing best practices
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Trusted Advisor
• Taking away the heavy lifting of monitoring best practices
• Trusted Advisor provides best practices (or checks)
Red (action recommended)
Yellow (investigation recommended)
Green (no problem detected)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What else is coming in Trusted Advisor?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to automate optimization of your AWS
environment?
Amazon
CloudWatch
AWS Trusted
Advisor
Amazon
EC2
AWS
Lambda
Amazon
Kinesis
AWS Step
FunctionsAmazon ECS
AWS Batch
AWS
CodePipeline
AWS
CodeBuild
Amazon
SQS
Amazon
SNS
Amazon EC2
Systems
Manager
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon CloudWatch Events
Amazon
CloudWatch
Amazon
EC2
AWS
Lambda
Amazon
Kinesis
AWS Step
FunctionsAmazon ECS
AWS Batch
AWS
CodePipeline
AWS
CodeBuild
Amazon
SQS
Amazon
SNS
Amazon EC2
Systems
Managerrule
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda
AWS
Lambda
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Systems Manager
AWS
Systems
Manager
State ManagerMaintenance
Windows
InventoryAutomation documents
Parameter
Store
Run
Command
Patch
Manager
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SNS
Amazon
SNS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation best practices
Define context
Principle of least privilege
Think event driven
Think serverless
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 instances overutilized
Amazon EC2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Resize EC2 instance type (with approval)
ResizeAutomation
When an EC2 instance is reported to be overutilized, trigger an SSM Automation
Document to request approval to resize the instance to a larger instance type
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Download the GitHub repositories
https://github.com/aws/Trusted-Advisor-Tools/
https://github.com/aws/aws-health-tools
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitHub repository link for Scenario 1
https://github.com/aws/Trusted-Advisor-
Tools/tree/master/HighUtilizationEC2Instances
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Health and Personal Health Dashboard
Visibility and transparency
into your resources
Custom notifications and
automated actions
Remediation guidance
and knowledge articles
AWS Health Amazon
CloudWatch
Events
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Service Health Dashboard
• Generic
• Updates are not fast enough to
help troubleshooting
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Get started with AWS Health
• Increased transparency into underlying infrastructure
• AWS Health API for easy integration
• Integration for notifications and automated actions
x
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Personal Health
Dashboard
Health API
Amazon
CloudWatch
Events
Amazon
Elasticsearch
How does AWS Health work?
AWS
Health
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New: PagerDuty integration with AWS Health
• Escalation policies
• Executive
communication
• Priority and urgency
for engagement
• Correlation
• Aggregation
26
Rule
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How does automation work?
Amazon
CloudWatch
AWS Health
Amazon
EC2
AWS
Lambda
Amazon
Kinesis
AWS Step
FunctionsAmazon ECS
AWS Batch
AWS
CodePipeline
AWS
CodeBuild
Amazon
SQS
Amazon
SNS
Amazon EC2
Systems
Manager
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What else is coming in AWS Health?
• Content improvements in the form of more event types
• Automation to reduce time to first post events to AWS Health
• Personalization improvements to provide resource-specific impact
• Customer-defined logical grouping of events
• Multi-account and resource group views
• Expand automation toolkit in the AWS Health GitHub repository
• More AWS Partner integrations
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Health abuse events
Programmatically capture Abuse events to notify relevant parties and
take automation action for following types in AWS Health:
• Sending email spam
• Spamming online forums or other websites
• Hosting a site advertised in spam
• Excessive web crawling
• Intrusion attempts (e.g., SSH or FTP)
• Exploit attacks (e.g., SQL injections)
• Hosting unlicensed copyright-protected material
• Phishing website
• Website hosting viruses/malware
• Credit card fraud
• Open proxy
• Port scanning
• IRC botnet activity
https://aws.amazon.com/blogs/mt/automating-processes-for-handling-and-
remediating-aws-abuse-alerts/
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Health DoS abuse report automation
When Denial of Service incidents are reported for resources in AWS account, AWS
Health notifies you of them. You can notify relevant teams about the incident and
take automated actions, such as stopping/terminating problematic EC2 instances.
EC2 Instances
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitHub repository link for Scenario 2
https://github.com/aws/aws-health-tools/tree/master/dos-report-
notifier/stepbystep
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EBS lost volume recovery automation
When an EBS volume is reported as lost by AWS Health, you can automatically
recover the affected EC2 instance from a recent Amazon Machine Image backup
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitHub repository link for Scenario 3
https://github.com/aws/aws-health-tools/tree/master/automated-
actions/AWS_EBS_VOLUME_LOST/stepbystep
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Conclusion
You can leverage Trusted Advisor and AWS Health to automate best
practices and operational health
The samples in the following open-source repos make it easy:
https://github.com/aws/Trusted-Advisor-Tools/
https://github.com/aws/aws-health-tools
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Stephen Salim
sssalim@amazon.com
Ramanuja (Ram) Atur
atur@amazon.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

VMware Cloud on AWS – Technical Deep Dive.pdf
VMware Cloud on AWS – Technical Deep Dive.pdfVMware Cloud on AWS – Technical Deep Dive.pdf
VMware Cloud on AWS – Technical Deep Dive.pdf
 
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
 
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
Securing Machine Learning Deployments for the Enterprise (SEC369-R1) - AWS re...
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQL
 
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
 
Set Up Compliance Automation Using AWS Management Tools (SEC317) - AWS re:Inv...
Set Up Compliance Automation Using AWS Management Tools (SEC317) - AWS re:Inv...Set Up Compliance Automation Using AWS Management Tools (SEC317) - AWS re:Inv...
Set Up Compliance Automation Using AWS Management Tools (SEC317) - AWS re:Inv...
 
Deep dive - AWS Fargate
Deep dive - AWS FargateDeep dive - AWS Fargate
Deep dive - AWS Fargate
 
NFL and Forwood Safety Deploy Business Analytics at Scale with Amazon QuickSi...
NFL and Forwood Safety Deploy Business Analytics at Scale with Amazon QuickSi...NFL and Forwood Safety Deploy Business Analytics at Scale with Amazon QuickSi...
NFL and Forwood Safety Deploy Business Analytics at Scale with Amazon QuickSi...
 
Lessons Learned from Building an AWS Service on AWS Lambda (SRV327-R1) - AWS ...
Lessons Learned from Building an AWS Service on AWS Lambda (SRV327-R1) - AWS ...Lessons Learned from Building an AWS Service on AWS Lambda (SRV327-R1) - AWS ...
Lessons Learned from Building an AWS Service on AWS Lambda (SRV327-R1) - AWS ...
 
Moving 400 Engineers to AWS: Our Journey to Secure Adoption (SEC306-S) - AWS ...
Moving 400 Engineers to AWS: Our Journey to Secure Adoption (SEC306-S) - AWS ...Moving 400 Engineers to AWS: Our Journey to Secure Adoption (SEC306-S) - AWS ...
Moving 400 Engineers to AWS: Our Journey to Secure Adoption (SEC306-S) - AWS ...
 
Hitchhiker's Guide to Cloud Ops
Hitchhiker's Guide to Cloud Ops Hitchhiker's Guide to Cloud Ops
Hitchhiker's Guide to Cloud Ops
 
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
Continuous Integration Best Practices (DEV319-R1) - AWS re:Invent 2018
 
Governance at Scale (SEC349-R1) - AWS re:Invent 2018
Governance at Scale (SEC349-R1) - AWS re:Invent 2018Governance at Scale (SEC349-R1) - AWS re:Invent 2018
Governance at Scale (SEC349-R1) - AWS re:Invent 2018
 
A DIY Guide to Runbooks, Security Incident Reports, & Incident Response (SEC3...
A DIY Guide to Runbooks, Security Incident Reports, & Incident Response (SEC3...A DIY Guide to Runbooks, Security Incident Reports, & Incident Response (SEC3...
A DIY Guide to Runbooks, Security Incident Reports, & Incident Response (SEC3...
 
How Enterprises Are Modernizing Their Security, Risk Management, & Compliance...
How Enterprises Are Modernizing Their Security, Risk Management, & Compliance...How Enterprises Are Modernizing Their Security, Risk Management, & Compliance...
How Enterprises Are Modernizing Their Security, Risk Management, & Compliance...
 
Configure Your Cloud to Make It Rain on Threats (SEC335-R1) - AWS re:Invent 2018
Configure Your Cloud to Make It Rain on Threats (SEC335-R1) - AWS re:Invent 2018Configure Your Cloud to Make It Rain on Threats (SEC335-R1) - AWS re:Invent 2018
Configure Your Cloud to Make It Rain on Threats (SEC335-R1) - AWS re:Invent 2018
 
Monitoring for Operational Outcomes and Application Insights: Best Practices ...
Monitoring for Operational Outcomes and Application Insights: Best Practices ...Monitoring for Operational Outcomes and Application Insights: Best Practices ...
Monitoring for Operational Outcomes and Application Insights: Best Practices ...
 
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...
 
Come Out From Behind Your Firewall
Come Out From Behind Your FirewallCome Out From Behind Your Firewall
Come Out From Behind Your Firewall
 
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
 

Similar a Optimize Performance and Reduce Risk Using AWS Support Tools (ENT316-R1) - AWS re:Invent 2018

Similar a Optimize Performance and Reduce Risk Using AWS Support Tools (ENT316-R1) - AWS re:Invent 2018 (20)

Automated Monitoring of Operational Health in the Cloud - Mathew Green - AWS ...
Automated Monitoring of Operational Health in the Cloud - Mathew Green - AWS ...Automated Monitoring of Operational Health in the Cloud - Mathew Green - AWS ...
Automated Monitoring of Operational Health in the Cloud - Mathew Green - AWS ...
 
Enabling Governance, Compliance, Operational, and Risk Auditing with AWS Mana...
Enabling Governance, Compliance, Operational, and Risk Auditing with AWS Mana...Enabling Governance, Compliance, Operational, and Risk Auditing with AWS Mana...
Enabling Governance, Compliance, Operational, and Risk Auditing with AWS Mana...
 
Automated Monitoring of Best Practices and Operational Health of Your AWS Res...
Automated Monitoring of Best Practices and Operational Health of Your AWS Res...Automated Monitoring of Best Practices and Operational Health of Your AWS Res...
Automated Monitoring of Best Practices and Operational Health of Your AWS Res...
 
Automate Best Practices and Operational Health for AWS Resources with AWS Tru...
Automate Best Practices and Operational Health for AWS Resources with AWS Tru...Automate Best Practices and Operational Health for AWS Resources with AWS Tru...
Automate Best Practices and Operational Health for AWS Resources with AWS Tru...
 
AWS Security By Design
AWS Security By DesignAWS Security By Design
AWS Security By Design
 
"Is it Up?" - operating effectively in AWS
"Is it Up?" - operating effectively in AWS"Is it Up?" - operating effectively in AWS
"Is it Up?" - operating effectively in AWS
 
Security Framework Shakedown: Chart Your Journey with AWS Best Practices (SEC...
Security Framework Shakedown: Chart Your Journey with AWS Best Practices (SEC...Security Framework Shakedown: Chart Your Journey with AWS Best Practices (SEC...
Security Framework Shakedown: Chart Your Journey with AWS Best Practices (SEC...
 
Lock it Down: How to Secure your AWS Account and your Organization's Accounts
Lock it Down: How to Secure your AWS Account and your Organization's AccountsLock it Down: How to Secure your AWS Account and your Organization's Accounts
Lock it Down: How to Secure your AWS Account and your Organization's Accounts
 
ENT304 Enabling Self Service for Data Scientists with AWS Service Catalog
ENT304 Enabling Self Service for Data Scientists with AWS Service CatalogENT304 Enabling Self Service for Data Scientists with AWS Service Catalog
ENT304 Enabling Self Service for Data Scientists with AWS Service Catalog
 
Enterprise Security
Enterprise SecurityEnterprise Security
Enterprise Security
 
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
 
Introduction to Threat Detection and Remediation on AWS
Introduction to Threat Detection and Remediation on AWSIntroduction to Threat Detection and Remediation on AWS
Introduction to Threat Detection and Remediation on AWS
 
AWS Cost Management Workshop
AWS Cost Management WorkshopAWS Cost Management Workshop
AWS Cost Management Workshop
 
Control for Your Cloud Environment Using AWS Management Tools (ENT226-R1) - A...
Control for Your Cloud Environment Using AWS Management Tools (ENT226-R1) - A...Control for Your Cloud Environment Using AWS Management Tools (ENT226-R1) - A...
Control for Your Cloud Environment Using AWS Management Tools (ENT226-R1) - A...
 
Security Automation using AWS Management Tools
Security Automation using AWS Management ToolsSecurity Automation using AWS Management Tools
Security Automation using AWS Management Tools
 
Security@Scale
Security@ScaleSecurity@Scale
Security@Scale
 
Deep Dive - AWS Security by Design
Deep Dive - AWS Security by DesignDeep Dive - AWS Security by Design
Deep Dive - AWS Security by Design
 
AWS Systems Manage: Bridging Operational Models
AWS Systems Manage: Bridging Operational Models AWS Systems Manage: Bridging Operational Models
AWS Systems Manage: Bridging Operational Models
 
Cloud Migration Insights Forum, Perth
Cloud Migration Insights Forum, PerthCloud Migration Insights Forum, Perth
Cloud Migration Insights Forum, Perth
 
Threat Detection & Remediation Workshop - Module 2
Threat Detection & Remediation Workshop - Module 2Threat Detection & Remediation Workshop - Module 2
Threat Detection & Remediation Workshop - Module 2
 

Más de 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
 

Más de 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
 

Optimize Performance and Reduce Risk Using AWS Support Tools (ENT316-R1) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Optimize Performance and Reduce Risk Using AWS Support Tools Stephen Salim Solutions Architect Amazon Web Services E N T 3 1 6 - R Ramanuja (Ram) Atur Sr. Product Manager Amazon Web Services
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Introduction to AWS Trusted Advisor Learn how to automatically optimize your AWS environment based on Trusted Advisor best practice recommendations Introduction to AWS Health and AWS Personal Health Dashboard Learn how to automate actions and customize AWS Health alerts using Amazon CloudWatch Events and other AWS services
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Workshop repeats Tuesday, Nov 27 Optimize Performance and Reduce Risk Using AWS Support Tools - ENT316-R1 11:30 AM – 1:45 PM | Mirage, Mirage Event Center C3
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Related builders sessions Tuesday, November 27 Build Automated Actions Using AWS Support Tools 8:30AM – 9:30AM | Mirage, Grand Ballroom D, Table 2 Tuesday, November 27 Build Automated Actions Using AWS Support Tools 1:00PM – 2:00PM | Aria West, Level 3, Starvine 10, Table 5 Wednesday, November 28 Build Automated Actions Using AWS Support Tools 5:30PM – 6:30PM | Mirage, Grand Ballroom B, Table 3 Thursday, November 29 Build Automated Actions Using AWS Support Tools 1:00PM – 2:00PM | Aria West, Level 3, Starvine 10, Table 1
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Complexity brings challenges / risks This is heavy… • Unexpected bills and unused resources • Service disruption, events and maintenance • Lack of fault-tolerance • Security vulnerabilities • Performance gaps • Lots of heavy lifting for monitoring resources and implementing best practices
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Trusted Advisor • Taking away the heavy lifting of monitoring best practices • Trusted Advisor provides best practices (or checks) Red (action recommended) Yellow (investigation recommended) Green (no problem detected)
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What else is coming in Trusted Advisor?
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How to automate optimization of your AWS environment? Amazon CloudWatch AWS Trusted Advisor Amazon EC2 AWS Lambda Amazon Kinesis AWS Step FunctionsAmazon ECS AWS Batch AWS CodePipeline AWS CodeBuild Amazon SQS Amazon SNS Amazon EC2 Systems Manager
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon CloudWatch Events Amazon CloudWatch Amazon EC2 AWS Lambda Amazon Kinesis AWS Step FunctionsAmazon ECS AWS Batch AWS CodePipeline AWS CodeBuild Amazon SQS Amazon SNS Amazon EC2 Systems Managerrule
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda AWS Lambda
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Systems Manager AWS Systems Manager State ManagerMaintenance Windows InventoryAutomation documents Parameter Store Run Command Patch Manager
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SNS Amazon SNS
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automation best practices Define context Principle of least privilege Think event driven Think serverless
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 instances overutilized Amazon EC2
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resize EC2 instance type (with approval) ResizeAutomation When an EC2 instance is reported to be overutilized, trigger an SSM Automation Document to request approval to resize the instance to a larger instance type
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Download the GitHub repositories https://github.com/aws/Trusted-Advisor-Tools/ https://github.com/aws/aws-health-tools
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitHub repository link for Scenario 1 https://github.com/aws/Trusted-Advisor- Tools/tree/master/HighUtilizationEC2Instances
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Health and Personal Health Dashboard Visibility and transparency into your resources Custom notifications and automated actions Remediation guidance and knowledge articles AWS Health Amazon CloudWatch Events
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Service Health Dashboard • Generic • Updates are not fast enough to help troubleshooting
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Get started with AWS Health • Increased transparency into underlying infrastructure • AWS Health API for easy integration • Integration for notifications and automated actions x
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Personal Health Dashboard Health API Amazon CloudWatch Events Amazon Elasticsearch How does AWS Health work? AWS Health
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. New: PagerDuty integration with AWS Health • Escalation policies • Executive communication • Priority and urgency for engagement • Correlation • Aggregation 26 Rule
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How does automation work? Amazon CloudWatch AWS Health Amazon EC2 AWS Lambda Amazon Kinesis AWS Step FunctionsAmazon ECS AWS Batch AWS CodePipeline AWS CodeBuild Amazon SQS Amazon SNS Amazon EC2 Systems Manager
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What else is coming in AWS Health? • Content improvements in the form of more event types • Automation to reduce time to first post events to AWS Health • Personalization improvements to provide resource-specific impact • Customer-defined logical grouping of events • Multi-account and resource group views • Expand automation toolkit in the AWS Health GitHub repository • More AWS Partner integrations
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Health abuse events Programmatically capture Abuse events to notify relevant parties and take automation action for following types in AWS Health: • Sending email spam • Spamming online forums or other websites • Hosting a site advertised in spam • Excessive web crawling • Intrusion attempts (e.g., SSH or FTP) • Exploit attacks (e.g., SQL injections) • Hosting unlicensed copyright-protected material • Phishing website • Website hosting viruses/malware • Credit card fraud • Open proxy • Port scanning • IRC botnet activity https://aws.amazon.com/blogs/mt/automating-processes-for-handling-and- remediating-aws-abuse-alerts/
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Health DoS abuse report automation When Denial of Service incidents are reported for resources in AWS account, AWS Health notifies you of them. You can notify relevant teams about the incident and take automated actions, such as stopping/terminating problematic EC2 instances. EC2 Instances
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitHub repository link for Scenario 2 https://github.com/aws/aws-health-tools/tree/master/dos-report- notifier/stepbystep
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EBS lost volume recovery automation When an EBS volume is reported as lost by AWS Health, you can automatically recover the affected EC2 instance from a recent Amazon Machine Image backup
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitHub repository link for Scenario 3 https://github.com/aws/aws-health-tools/tree/master/automated- actions/AWS_EBS_VOLUME_LOST/stepbystep
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Conclusion You can leverage Trusted Advisor and AWS Health to automate best practices and operational health The samples in the following open-source repos make it easy: https://github.com/aws/Trusted-Advisor-Tools/ https://github.com/aws/aws-health-tools
  • 37. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Stephen Salim sssalim@amazon.com Ramanuja (Ram) Atur atur@amazon.com
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.