SlideShare a Scribd company logo
1 of 26
Download to read offline
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Build a dashboard using serverless
security analytics
Umesh Ramesh
Cloud Infrastructure Architect
AWS Professional Services
Amazon Web Services
S D D 2 0 1
Rohit Rangnekar
Sr. IoT Architect
AWS Professional Services
Amazon Web Services
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Introduction to AWS WAF and full logging
Overview of serverless analytics
Amazon Kinesis Data Firehose
Amazon Athena
AWS Glue
Amazon QuickSight
Solution architecture
Demo
Other ML-based architectures
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS WAF overview
• Gatekeeper to your cloud applications
• Protecting Amazon API Gateway, Amazon CloudFront, and Application Load Balancer
• Inspect incoming HTTP requests and perform user-defined actions
• Protect your application from common web exploits
• Pay-as-you-use and DevOps-friendly (managed using API’s)
AWS WAF
Applications
Attackers
Customers
CloudFront
ALB
API Gateway
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tools availablewithin AWS WAF
Malicious
Traffic Blocking
• SQL Injection
Conditions
• XSS Conditions
• AWS Marketplace
Managed Rules
Traffic
Filtering
• Rate-Based Rules
• IP-Match Filters
• Geo-IP Filters
• Regex & String Match
Conditions
• Size Constraint
Conditions
Visibility and
Debugging
• Amazon CloudWatch
• Sampled Logs
• Full Logs
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key features of AWS WAF
• Customization & Automation
• AWS WAF Security Automations
• Use Amazon GuardDuty and AWS web application firewall to automatically
block suspicious hosts
• Fast Rule Update/Propagation
• Update existing rules and push to all regions in under 1 minute
• Real-time visibility through CloudWatch
• Incident response: react to attacks immediately
• Scalability & High-Volume Performance
• Designed for scale and speed
• Available in all edge locations through CloudFront and growing
• Request inspection done in ~1 milliseconds
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS WAF full logging
Action
Rate-based rules
Terminating rules
& corresponding
actions
Excluded rules
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS WAF full logging (cont.)
Client IP
User-agent
Host
Country
HTTP method
HTTP URI
HTTP
headers
Query string
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
The serverless operation model
Zero infrastructure to
manage; zero system
administration
Never pay for idle
resources
$
Availability, fault
tolerance, and
security features
built in
Automatically
scales resources
with usage or on
demand
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS database and analytics stack
Business intelligence & machine learning
Data movement
AWS DMS | AWS Snowball | Kinesis Data Firehose | Amazon Kinesis Data Streams | Amazon Managed Streaming for Kafka
Amazon QuickSight (BI)
Relational databases
Amazon
RDS
Amazon
Aurora
Data lake
Amazon S3 Glacier
(Storage)
AWS Glue
(ETL & Data Catalog)
Amazon SageMaker (ML)
Amazon Macie
(Data Protection)
Non-relational databases Analytics
Amazon
DynamoDB
Amazon ElastiCache
Data Warehouse | Big data processing | Ad hoc
Amazon
Redshift
Amazon
EMR
Athena
Amazon Kinesis Data
Analytics
Amazon
Elasticsearch
Service
Real-time
AWS Lake Formation
(Data Lake)
Amazon
DocumentDB
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kinesis Data Firehose
• Capture, load, and transform streaming data into Amazon S3, Amazon Redshift,
Amazon ES, and Splunk
• Fully managed and pay-as-you-go pricing
• Scales elastically to handle varying data throughput
• Integrated data transformation with AWS Lambda
• Supports optional encryption for data
Capture and submit streaming
data to Kinesis Data Firehose
Analyze streaming data using your
favorite BI tools
Kinesis Data Firehose loads streaming data continuously
into Amazon S3, Amazon Redshift, Amazon ES, or Splunk
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Athena
• Interactive query service that makes it easy to analyze data in Amazon S3
using ANSI SQL
• Decouple storage from compute
• Serverless—no infrastructure or resources to manage
• Pay per query and only for data scanned
• Security—AWS Identity and Access Management (IAM) for authentication;
encryption at rest and in transit
• Standards compliant and open storage file formats
Athena
Amazon
S3
Data
Catalog
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Athena
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Glue Simple, flexible, cost-effective automation
for the undifferentiated heavy lifting of ETL
Data Catalog
ETL Job
Authoring
Discover data and extract
schema
Auto-generates
customizable ETL code in
Python and Scala
• AWS Glue crawler automatically discovers
data and stores schema
• Makes data searchable and available for
ETL & queries
• Generates customizable code
• Schedules and runs your ETL jobs
• Serverless, flexible, and built on open
standards
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon QuickSight
• Amazon QuickSight is a fully managed, serverless, cloud business intelligence
system
• Build visualizations, perform ad hoc analysis, and quickly get business insights
from your data
• Key Benefits
• No server license or infrastructure costs
• Connect to your data, wherever it is
• Designed to scale
• Simple and intuitive UX
• Self-service BI for users and analysts
• ML insights
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon QuickSight
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless analyticson AWS
Amazon S3 AWS Glue
Crawler
AWS Glue
Data Catalog
Athena Amazon
QuickSight
QUERY DATA
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Solution overview
AWS WAF Amazon Kinesis
Data Firehose
Amazon S3
Bucket
AthenaAmazon
QuickSight
AWS Glue
Data Catalog
Enable logs and
specify Kinesis Data
Firehose
Configure the desired
destination (in this case
Amazon S3)
Store logs and use as a
data source for analytics
Transforms log data from
JSON into format that
Athena understands
Use standard SQL queries
to extract desired data
Drag and drop to build
your own visualizations on
the data from Athena
AWS Glue
Crawlers
Crawlers scan your datasets
and populate the AWS Glue
Data Catalog
AWS WAF Logs
Security Alerts
Protect internet-facing
web applications
Notifications based on
AWS WAF metrics
Query data
Metadata
Users
View operationalsecurity
dashboards
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
GuardDuty and AWS WAF
https://aws.amazon.com/blogs/security/how-to-use-amazon-guardduty-and-aws-web-application-firewall-to-automatically-block-suspicious-hosts/
GuardDuty
Event
Findings
generated
Lambda
Parse
findings
AWS WAF
Rule
Update rules based
on findings
DynamoDB Table
Stores state data for
checking blocked host
Automatically block suspicious hosts
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Log anomaly detection with Amazon SageMaker
AWS
WAF
AWS WAF
Logs
Amazon Kinesis
Data Firehose
Store logs in Amazon
S3
Amazon S3
Amazon
SageMaker
Training
Lambda Amazon
SageMaker
Inference
Anomaly
Decision
Update AWS WAF rules
Use machine learning to learn about and block additional suspicious events
Additional Logs (VPC
flow logs, etc.)
Algorithms
• Random Cut Forest
• IP Insights
• Deep AR
https://aws.amazon.com/blogs/machine-learning/detect-suspicious-ip-addresses-with-the-amazon-sagemaker-ip-insights-algorithm/
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
References
• Enhanced Security Analytics Using AWS WAF Full Logging—AWS Online Tech
Talks (Webinar)
https://www.youtube.com/watch?v=Zrnro4ohXdA&t=558s
• AWS Blog—Enabling serverless security analytics using AWS WAF full logs,
Athena, and Amazon QuickSight
https://aws.amazon.com/blogs/security/enabling-serverless-security-analytics-using-aws-waf-full-logs/
Thank you!
© 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
Umesh Ramesh
uramesh@amazon.com
Rohit Rangnekar
rangneka@amazon.com

More Related Content

What's hot

Scaling threat detection and response on AWS
Scaling threat detection and response on AWSScaling threat detection and response on AWS
Scaling threat detection and response on AWSAmazon Web Services
 
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...Amazon Web Services
 
Building a well-engaged and secure AWS account access management - FND207-R ...
 Building a well-engaged and secure AWS account access management - FND207-R ... Building a well-engaged and secure AWS account access management - FND207-R ...
Building a well-engaged and secure AWS account access management - FND207-R ...Amazon Web Services
 
Evolving perimeters with guardrails, not gates: Improving developer agility -...
Evolving perimeters with guardrails, not gates: Improving developer agility -...Evolving perimeters with guardrails, not gates: Improving developer agility -...
Evolving perimeters with guardrails, not gates: Improving developer agility -...Amazon Web Services
 
Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...
Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...
Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...Amazon Web Services
 
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019 Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019 Amazon Web Services
 
Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019
Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019 Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019
Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019 Amazon Web Services
 
How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...
How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...
How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...Amazon Web Services
 
Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...
Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...
Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...Amazon Web Services
 
Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...
Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...
Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...Amazon Web Services
 
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019 Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019 Amazon Web Services
 
Unify security, compliance, and finance teams with governance at scale - GRC2...
Unify security, compliance, and finance teams with governance at scale - GRC2...Unify security, compliance, and finance teams with governance at scale - GRC2...
Unify security, compliance, and finance teams with governance at scale - GRC2...Amazon Web Services
 
Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Amazon Web Services
 
Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...Amazon Web Services
 
Ensure the integrity of your code for fast and secure deployments - SDD319 - ...
Ensure the integrity of your code for fast and secure deployments - SDD319 - ...Ensure the integrity of your code for fast and secure deployments - SDD319 - ...
Ensure the integrity of your code for fast and secure deployments - SDD319 - ...Amazon Web Services
 
Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...Amazon Web Services
 
Cloud auditing workshop - GRC323 - AWS re:Inforce 2019
Cloud auditing workshop - GRC323 - AWS re:Inforce 2019 Cloud auditing workshop - GRC323 - AWS re:Inforce 2019
Cloud auditing workshop - GRC323 - AWS re:Inforce 2019 Amazon Web Services
 
Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...Amazon Web Services
 
Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...
Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...
Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...Amazon Web Services
 
Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...
Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...
Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...Amazon Web Services
 

What's hot (20)

Scaling threat detection and response on AWS
Scaling threat detection and response on AWSScaling threat detection and response on AWS
Scaling threat detection and response on AWS
 
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
 
Building a well-engaged and secure AWS account access management - FND207-R ...
 Building a well-engaged and secure AWS account access management - FND207-R ... Building a well-engaged and secure AWS account access management - FND207-R ...
Building a well-engaged and secure AWS account access management - FND207-R ...
 
Evolving perimeters with guardrails, not gates: Improving developer agility -...
Evolving perimeters with guardrails, not gates: Improving developer agility -...Evolving perimeters with guardrails, not gates: Improving developer agility -...
Evolving perimeters with guardrails, not gates: Improving developer agility -...
 
Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...
Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...
Tax returns in the cloud: The journey of Intuit’s data platform - SDD330 - AW...
 
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019 Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
 
Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019
Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019 Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019
Audibility in Kubernetes with Amazon EKS - GRC302 - AWS re:Inforce 2019
 
How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...
How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...
How to secure your Active Directory deployment on AWS - FND306-R - AWS re:Inf...
 
Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...
Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...
Compliance automation: Set it up fast, then code it your way - GRC330-R - AWS...
 
Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...
Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...
Pop the hood: Using AWS resources to attest to security of the cloud - GRC310...
 
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019 Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
 
Unify security, compliance, and finance teams with governance at scale - GRC2...
Unify security, compliance, and finance teams with governance at scale - GRC2...Unify security, compliance, and finance teams with governance at scale - GRC2...
Unify security, compliance, and finance teams with governance at scale - GRC2...
 
Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...
 
Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...
 
Ensure the integrity of your code for fast and secure deployments - SDD319 - ...
Ensure the integrity of your code for fast and secure deployments - SDD319 - ...Ensure the integrity of your code for fast and secure deployments - SDD319 - ...
Ensure the integrity of your code for fast and secure deployments - SDD319 - ...
 
Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...
 
Cloud auditing workshop - GRC323 - AWS re:Inforce 2019
Cloud auditing workshop - GRC323 - AWS re:Inforce 2019 Cloud auditing workshop - GRC323 - AWS re:Inforce 2019
Cloud auditing workshop - GRC323 - AWS re:Inforce 2019
 
Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...
 
Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...
Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...
Don’t be a haven for attackers: Mitigate misconfigurations with AWS Service C...
 
Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...
Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...
Permissions boundaries: how to truly delegate permissions on AWS - SDD406-R -...
 

Similar to Build a dashboard using serverless security analytics - SDD201 - AWS re:Inforce 2019

Data Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & AthenaData Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & AthenaAmazon Web Services
 
Data Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & AthenaData Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & AthenaAmazon Web Services
 
Building a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudBuilding a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudAmazon Web Services
 
Proteggere applicazioni e dati nel cloud AWS
Proteggere applicazioni e dati nel cloud AWSProteggere applicazioni e dati nel cloud AWS
Proteggere applicazioni e dati nel cloud AWSAmazon Web Services
 
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...AWS Riyadh User Group
 
AWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWS
AWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWSAWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWS
AWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWSSteven Hsieh
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSAmazon Web Services
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSAmazon Web Services
 
AWS Portfolio: highlight delle categorie di prodotti AWS con esempi
AWS Portfolio: highlight delle categorie di prodotti AWS con esempiAWS Portfolio: highlight delle categorie di prodotti AWS con esempi
AWS Portfolio: highlight delle categorie di prodotti AWS con esempiAmazon Web Services
 
Cloud Governance and Provisioning Management using AWS Management Tools and S...
Cloud Governance and Provisioning Management using AWS Management Tools and S...Cloud Governance and Provisioning Management using AWS Management Tools and S...
Cloud Governance and Provisioning Management using AWS Management Tools and S...Amazon Web Services
 
Building-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWSBuilding-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWSAmazon Web Services
 
在 AWS 上構建無服務器分析
在 AWS 上構建無服務器分析在 AWS 上構建無服務器分析
在 AWS 上構建無服務器分析Amazon Web Services
 
Migrating your IT - AWS Summit Cape Town 2018
Migrating your IT - AWS Summit Cape Town 2018Migrating your IT - AWS Summit Cape Town 2018
Migrating your IT - AWS Summit Cape Town 2018Amazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAmazon Web Services
 
Security Automation using AWS Management Tools
Security Automation using AWS Management ToolsSecurity Automation using AWS Management Tools
Security Automation using AWS Management ToolsAmazon Web Services
 
AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...
AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...
AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...Amazon Web Services LATAM
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSAmazon Web Services
 

Similar to Build a dashboard using serverless security analytics - SDD201 - AWS re:Inforce 2019 (20)

Data Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & AthenaData Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & Athena
 
Data Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & AthenaData Catalog & ETL - Glue & Athena
Data Catalog & ETL - Glue & Athena
 
Building a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudBuilding a Modern Data Platform in the Cloud
Building a Modern Data Platform in the Cloud
 
Proteggere applicazioni e dati nel cloud AWS
Proteggere applicazioni e dati nel cloud AWSProteggere applicazioni e dati nel cloud AWS
Proteggere applicazioni e dati nel cloud AWS
 
Building-a-Data-Lake-on-AWS
Building-a-Data-Lake-on-AWSBuilding-a-Data-Lake-on-AWS
Building-a-Data-Lake-on-AWS
 
Data_Analytics_and_AI_ML
Data_Analytics_and_AI_MLData_Analytics_and_AI_ML
Data_Analytics_and_AI_ML
 
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
 
AWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWS
AWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWSAWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWS
AWS 2019 Taipei Summit - Building Serverless Analytics Platform on AWS
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWS
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWS
 
AWS Portfolio: highlight delle categorie di prodotti AWS con esempi
AWS Portfolio: highlight delle categorie di prodotti AWS con esempiAWS Portfolio: highlight delle categorie di prodotti AWS con esempi
AWS Portfolio: highlight delle categorie di prodotti AWS con esempi
 
Construindo data lakes e analytics com AWS
Construindo data lakes e analytics com AWSConstruindo data lakes e analytics com AWS
Construindo data lakes e analytics com AWS
 
Cloud Governance and Provisioning Management using AWS Management Tools and S...
Cloud Governance and Provisioning Management using AWS Management Tools and S...Cloud Governance and Provisioning Management using AWS Management Tools and S...
Cloud Governance and Provisioning Management using AWS Management Tools and S...
 
Building-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWSBuilding-Serverless-Analytics-On-AWS
Building-Serverless-Analytics-On-AWS
 
在 AWS 上構建無服務器分析
在 AWS 上構建無服務器分析在 AWS 上構建無服務器分析
在 AWS 上構建無服務器分析
 
Migrating your IT - AWS Summit Cape Town 2018
Migrating your IT - AWS Summit Cape Town 2018Migrating your IT - AWS Summit Cape Town 2018
Migrating your IT - AWS Summit Cape Town 2018
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
Security Automation using AWS Management Tools
Security Automation using AWS Management ToolsSecurity Automation using AWS Management Tools
Security Automation using AWS Management Tools
 
AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...
AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...
AWS Data Immersion Webinar Week - Entenda como ampliar suas possibilidades de...
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWS
 

More from Amazon Web Services

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...Amazon Web Services
 
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...Amazon Web Services
 
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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
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 Amazon Web Services
 
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...Amazon Web Services
 
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...Amazon Web Services
 
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 WorkloadsAmazon Web Services
 
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 sfatareAmazon Web Services
 
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 NodeJSAmazon Web Services
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon 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
 

Build a dashboard using serverless security analytics - SDD201 - AWS re:Inforce 2019

  • 1. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Build a dashboard using serverless security analytics Umesh Ramesh Cloud Infrastructure Architect AWS Professional Services Amazon Web Services S D D 2 0 1 Rohit Rangnekar Sr. IoT Architect AWS Professional Services Amazon Web Services
  • 2. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Introduction to AWS WAF and full logging Overview of serverless analytics Amazon Kinesis Data Firehose Amazon Athena AWS Glue Amazon QuickSight Solution architecture Demo Other ML-based architectures
  • 3. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 4. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS WAF overview • Gatekeeper to your cloud applications • Protecting Amazon API Gateway, Amazon CloudFront, and Application Load Balancer • Inspect incoming HTTP requests and perform user-defined actions • Protect your application from common web exploits • Pay-as-you-use and DevOps-friendly (managed using API’s) AWS WAF Applications Attackers Customers CloudFront ALB API Gateway
  • 5. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Tools availablewithin AWS WAF Malicious Traffic Blocking • SQL Injection Conditions • XSS Conditions • AWS Marketplace Managed Rules Traffic Filtering • Rate-Based Rules • IP-Match Filters • Geo-IP Filters • Regex & String Match Conditions • Size Constraint Conditions Visibility and Debugging • Amazon CloudWatch • Sampled Logs • Full Logs
  • 6. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Key features of AWS WAF • Customization & Automation • AWS WAF Security Automations • Use Amazon GuardDuty and AWS web application firewall to automatically block suspicious hosts • Fast Rule Update/Propagation • Update existing rules and push to all regions in under 1 minute • Real-time visibility through CloudWatch • Incident response: react to attacks immediately • Scalability & High-Volume Performance • Designed for scale and speed • Available in all edge locations through CloudFront and growing • Request inspection done in ~1 milliseconds
  • 7. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS WAF full logging Action Rate-based rules Terminating rules & corresponding actions Excluded rules
  • 8. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS WAF full logging (cont.) Client IP User-agent Host Country HTTP method HTTP URI HTTP headers Query string
  • 9. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 10. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. The serverless operation model Zero infrastructure to manage; zero system administration Never pay for idle resources $ Availability, fault tolerance, and security features built in Automatically scales resources with usage or on demand
  • 11. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS database and analytics stack Business intelligence & machine learning Data movement AWS DMS | AWS Snowball | Kinesis Data Firehose | Amazon Kinesis Data Streams | Amazon Managed Streaming for Kafka Amazon QuickSight (BI) Relational databases Amazon RDS Amazon Aurora Data lake Amazon S3 Glacier (Storage) AWS Glue (ETL & Data Catalog) Amazon SageMaker (ML) Amazon Macie (Data Protection) Non-relational databases Analytics Amazon DynamoDB Amazon ElastiCache Data Warehouse | Big data processing | Ad hoc Amazon Redshift Amazon EMR Athena Amazon Kinesis Data Analytics Amazon Elasticsearch Service Real-time AWS Lake Formation (Data Lake) Amazon DocumentDB
  • 12. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Kinesis Data Firehose • Capture, load, and transform streaming data into Amazon S3, Amazon Redshift, Amazon ES, and Splunk • Fully managed and pay-as-you-go pricing • Scales elastically to handle varying data throughput • Integrated data transformation with AWS Lambda • Supports optional encryption for data Capture and submit streaming data to Kinesis Data Firehose Analyze streaming data using your favorite BI tools Kinesis Data Firehose loads streaming data continuously into Amazon S3, Amazon Redshift, Amazon ES, or Splunk
  • 13. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Athena • Interactive query service that makes it easy to analyze data in Amazon S3 using ANSI SQL • Decouple storage from compute • Serverless—no infrastructure or resources to manage • Pay per query and only for data scanned • Security—AWS Identity and Access Management (IAM) for authentication; encryption at rest and in transit • Standards compliant and open storage file formats Athena Amazon S3 Data Catalog
  • 14. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Athena
  • 15. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Glue Simple, flexible, cost-effective automation for the undifferentiated heavy lifting of ETL Data Catalog ETL Job Authoring Discover data and extract schema Auto-generates customizable ETL code in Python and Scala • AWS Glue crawler automatically discovers data and stores schema • Makes data searchable and available for ETL & queries • Generates customizable code • Schedules and runs your ETL jobs • Serverless, flexible, and built on open standards
  • 16. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon QuickSight • Amazon QuickSight is a fully managed, serverless, cloud business intelligence system • Build visualizations, perform ad hoc analysis, and quickly get business insights from your data • Key Benefits • No server license or infrastructure costs • Connect to your data, wherever it is • Designed to scale • Simple and intuitive UX • Self-service BI for users and analysts • ML insights
  • 17. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon QuickSight
  • 18. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless analyticson AWS Amazon S3 AWS Glue Crawler AWS Glue Data Catalog Athena Amazon QuickSight QUERY DATA
  • 19. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 20. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Solution overview AWS WAF Amazon Kinesis Data Firehose Amazon S3 Bucket AthenaAmazon QuickSight AWS Glue Data Catalog Enable logs and specify Kinesis Data Firehose Configure the desired destination (in this case Amazon S3) Store logs and use as a data source for analytics Transforms log data from JSON into format that Athena understands Use standard SQL queries to extract desired data Drag and drop to build your own visualizations on the data from Athena AWS Glue Crawlers Crawlers scan your datasets and populate the AWS Glue Data Catalog AWS WAF Logs Security Alerts Protect internet-facing web applications Notifications based on AWS WAF metrics Query data Metadata Users View operationalsecurity dashboards
  • 21. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 22. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 23. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. GuardDuty and AWS WAF https://aws.amazon.com/blogs/security/how-to-use-amazon-guardduty-and-aws-web-application-firewall-to-automatically-block-suspicious-hosts/ GuardDuty Event Findings generated Lambda Parse findings AWS WAF Rule Update rules based on findings DynamoDB Table Stores state data for checking blocked host Automatically block suspicious hosts
  • 24. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Log anomaly detection with Amazon SageMaker AWS WAF AWS WAF Logs Amazon Kinesis Data Firehose Store logs in Amazon S3 Amazon S3 Amazon SageMaker Training Lambda Amazon SageMaker Inference Anomaly Decision Update AWS WAF rules Use machine learning to learn about and block additional suspicious events Additional Logs (VPC flow logs, etc.) Algorithms • Random Cut Forest • IP Insights • Deep AR https://aws.amazon.com/blogs/machine-learning/detect-suspicious-ip-addresses-with-the-amazon-sagemaker-ip-insights-algorithm/
  • 25. © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. References • Enhanced Security Analytics Using AWS WAF Full Logging—AWS Online Tech Talks (Webinar) https://www.youtube.com/watch?v=Zrnro4ohXdA&t=558s • AWS Blog—Enabling serverless security analytics using AWS WAF full logs, Athena, and Amazon QuickSight https://aws.amazon.com/blogs/security/enabling-serverless-security-analytics-using-aws-waf-full-logs/
  • 26. Thank you! © 2019,Amazon Web Services, Inc. or its affiliates. All rights reserved. Umesh Ramesh uramesh@amazon.com Rohit Rangnekar rangneka@amazon.com