SlideShare une entreprise Scribd logo
1  sur  74
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
04.03.19
O S L O
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Analyzing your web and application logs
S3, Cloudfront, Lambda and the Elasticsearch Service
Javier Ramirez
AWS Tech Evangelist
@supercoco9
B A R 2
O S L O
04.03.19
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Hosting up a very simple web
Hosting static sites on AWS
Scaling out any website with a Content Delivery Network
The Elasticsearch Service
Kibana Dashboards
Using Lambda for serverless log ingestion
Demo time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why logs?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What produces data?
• Metering
Records
• Mobile Apps
• IoT Sensors
Web
Clickstream
• Enterprise
Documents
• Application
Logs
[Wed Oct 11 14:32:52
2000] [error] [client
127.0.0.1] client denied
by server configuration:
/export/home/live/ap/htd
ocs/test
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Logs, logs and more logs
Logs are important:
• Debugging
• Working out user flow
• Monitoring
Centralising those logs is even more important
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Operational analytics
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The explosion of machine-generated data
Transition from IT
to DevOps
Increase in IoT and
Mobile Devices
Cloud-based
architectures
Machine-generated data is growing 10x faster than business data
Source: insideBigData - The Exponential Growth of Data, February 16, 2017
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Operational analytics requirements/challenges
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Let’s host a static website on AWS
so we can generate some traffic logs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Not just for Geocities web pages
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to enable hosting in S3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why hosting in S3 is cool!
• Simple static website hosting with a simple
workflow
• 2 clicks to enable
• Scales
• Fast
• Supports your own FQDN
• You can extend it with lambda
functions for dynamic content
Developer
Users
Resolve DNS
Fetch site
direct from
S3
Push Code
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling out with CloudFront
so we can handle high volume traffic more efficiently
Amazon Global Network
• Redundant 100GbE network
• Redundant private capacity
between all Regions except China
166 Global CloudFront PoPs
a e
o
q
i
h
Paris
Sweden
AWS GovCloud East
First 5 years: 4 regions
2016–2020: 13 regions
Next 5 years: 7 regions
A W S
REGIONS
2 0 R e g i o n s 6 1 A Z s
d
m
c
g
b
n
s
k
v
i
i
i
i i
i
i
i
Milan
i
Cape Town
Regional Edge Caches
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Going global
• Simple to enable
• Speeds up your site for international users
• Choice of regions
• Allows you to enter multiple CNAME’s
• Integrated with Route 53 alias records
• Supports SSL certs from certificate manager
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Amazon Elasticsearch Service
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elasticsearch Service is a cost-effective
managed service that makes it easy to deploy,
manage, and scale open-source Elasticsearch and
Kibana for log analytics, full-text search, and more.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Easy to Use
Deploy a production-ready Elasticsearch
cluster in minutes
Simplifies time-consuming management
tasks such as software patching, failure
recovery, backups, and monitoring
Open
Get direct access to the Elasticsearch open-
source API
Fully compatible with the open-source
Elasticsearch API, for all code and
applications
Secure
Secure Elasticsearch clusters with AWS
Identity and Access Management (IAM)
policies with fine-grained access control
access for users and endpoints
Automatically applies security patches
without disruption, keeping Elasticsearch
environments secure
Available
Provides high availability using Zone
Awareness, which replicates data between
two Availability Zones
Monitors the health of clusters and
automatically replaces failed nodes,
without service disruption
AWS Integrated
Integrates with Amazon Kinesis Firehose,
AWS IoT, and Amazon CloudWatch Logs for
seamless data ingestion
AWS CloudTrail for auditing, AWS Identity
and Access Management (IAM) for security,
and AWS CloudFormation for cloud
orchestration
Scalable
Scale clusters from a single node up to 20
nodes
Configure clusters to meet performance
requirements by selecting from a range of
instance types and storage options,
including SSD-powered EBS volumes
Amazon Elasticsearch Service Benefits
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Monitoring & Root-cause Analysis
CASE STUDY: EXPEDIA
Logs, lots and lots of logs. How to cost effectively monitor logs?
Require centralized logging infrastructure
Did not have the man power to manage infrastructure
P R O B L E M
Quick insights: Able to identify and troubleshoot issues in real-time
Secure: Integrated w/ AWS IAM
Scalable: Cluster sizes are able to grow to accommodate additional log sources
B E N E F I T S
Streaming AWS CloudTrail logs, application logs, and Docker startup
logs to Elasticsearch
Created centralized logging service for all team members
Using Kibana for visualizations and for Elasticsearch queries
S O L U T I O N
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Leading enterprises trust Amazon Elasticsearch Service for
their search and analytics applications
Media &
Entertainment
Online
Services
Technology Other
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What does it do?
Application DataServer, application,
network, AWS, and
other logs
Amazon Elasticsearch Service Domain
with index(es)
1. Send data as JSON via REST APIs
2. Data is indexed - all fields
searchable, including nested JSON
3. Queries, via REST APIs, allow fielded
matching, Boolean expressions,
include sorting and analysis
1
2 3
Application users, analysts, DevOps,
security
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
{ "title": "Star Wars",
"plot": "Luke Skywalker joins forces with a
Jedi Knight, a cocky pilot, a wookiee and two
droids to save the universe from the Empire's
world-destroying battle-station, while also
attempting to rescue Princess Leia from the evil
Darth Vader.",
"year": 1977,
"actors": [
"Mark Hamill",
"Harrison Ford",
"Carrie Fisher”
],
"directors": [
"George Lucas”
],
"rating": 8.7,
"genres" : [
"Action",
"Adventure",
"Fantasy",
"Sci-Fi”
]
}
Elasticsearch works with
structured JSON containing
fields and values
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elasticsearch creates an index for each field
Doc
Name Value
Name Value
Name Value
Name Value
Name Value
Name Value
Fields Analysis
Field indices
Term 1
Term 2
Term 3
Term 4
Term 5
Term 6
Term 7
1,
4,
8,
12,
30,
42,
58,
100.
..
Posting lists
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Query your data
{
"query": {
"match": {
"title": "iron man"
}
}
}
Title Score
Iron Man 10.56436
Iron Man 2 8.631084
Iron Man 3 8.631084
Iron Sky 6.387543
The Man with the Iron
Fists
6.185517
3
The Man in the Iron Mask 6.185517
3
The Iron Giant 5.218624
The Iron Lady 5.218624
77 hits
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
You can search for values by field, with Boolean
expressions to get scored, sorted results
1,
4,
8,
12,
30,
42,
58,
100.
...
1,
4,
8,
12,
30,
42,
58,
100.
...
Term 1
Term 2
Term 3
Term 4
Term 5
Term 6
Term 7
Analysis
1,
4,
8,
12,
30,
42,
58,
100
...
Posting lists
Field1:value
Field2:value
Field3:value
Term 1
Term 2
Term 3
Term 4
Term 5
Term 6
Term 7
Term 1
Term 2
Term 3
Term 4
Term 5
Term 6
Term 7
1,
12,
58,
100
58,
12,
1,
100
Result
Key Idea
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
You can analyze field values to get statistics
and build visualizations
58,
12,
1,
100,
115
123,
214,
947
Result
GET
GET
POST
GET
PUT
GET
GET
POST
Field
Data
Buckets
GET
POST
PUT
5
2
1
Counts
Key Idea
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ElasticSearch Service with Kibana
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Get the right set up
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Easy to use and scalable
AWS SDK
AWS CLI Elasticsearch
data nodes
Elasticsearch
master nodes
Amazon Elasticsearch Service domain
Developer
Amazon Cognito
Amazon
CloudWatch
AWS
CloudTrail
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security
• Public endpoints – IAM
• Private endpoints – IAM
and security groups
• Encryption
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use IAM for public endpoints
{ "Version": "2012-10-17",
"Statement": [ {
"Effect": "Allow",
"Principal": {
"AWS":
"arn:aws:iam::XXXX:root”
},
"Action": "es:*",
"Resource":
"arn:aws:es:
us-west-2:XXXX:domain/YYYY/*”
}
]
}
• To grant access for Kibana, use
a CIDR Condition
• To grant read-only access to
an account or role, specify an
es:HttpGet Action
• To limit a user to a specific
index, or API add it to the
Resource
• For Admin access, specify
administrative es:* Actions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Add security groups for private endpoints
Specify a subnet and security
group to apply CIDR restrictions
on inbound/outbound traffic
security group
security group
Amazon Elasticsearch Service
Data Master
Data
Master
IAM
IAM
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture: Web Serving
Public
Subnet
Internet
Gateway
ALB
Private
Subnet
Httpd
Amazon ES
ENI
Amazon ES
Domain
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Encrypt your data
• Encrypted data at rest on
Amazon ES instances
• Both EBS and ephemeral
store
• Encrypted automatic
snapshots
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data is stored in indexes, distributed across shards
Amazon Elasticsearch Service domain
ID
Field: value
Field: value
Field: value
Field: value
Index
Shards
Instances
• Shards are primary or
replica
• Primary shard count
can’t be changed
• Elasticsearch distributes
shards to instances
elastically
• Primary and replica are
distributed to different
instances
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How many instances?
• Index size is approximately source size
• Double this if you are deploying an index replica
• Instance count based on storage
requirements
• Either local storage or up to 1.5 TB of Amazon
Elastic Block Store (EBS) per instance
Example: a 2 TB corpus will need 4 instances
Assuming a replica and using EBS
Given 1.5 TB of storage per instance, this gives 6TB of storage
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Instance type recommendations
Instance Workload
T2 Entry point. Dev and test. OK for dedicated masters.
M3, M4 Equal read and write volumes.
R3, R4 Read-heavy or workloads with high memory
demands (e.g., aggregations).
C4 High concurrency/indexing workloads
I2,I3 Up to 1.6 TB of SSD instance storage.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
It is elastic
• Run out of storage space?
• add data nodes or
• increase EBS volume size.
• Need more compute or RAM?
• increase the instance type, or
• add more data nodes.
Amazon Elasticsearch Service is designed to apply those configuration
changes without incurring downtime.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Full text search
CASE STUDY: MirrorWeb
Make the UK Government and UK Parliament’s web archives searchable
Large scale ingestion scenario: 120 TB of data (1.2 MM 100MB files),
duplicates and bad data, Warc format
P R O B L E M
Scalability: Started on a 9-node, R4.4Xlarge cluster for fast ingest, reduced to 6 R4.Xlarge instances for search.
Able to reconfigure the cluster with no down time
Cost effective: Indexed 1.4 billion documents for $337
Fast: 146 MM docs per hour indexed. 14x faster than the previous best for this data set (using Hadoop)
B E N E F I T S
S O L U T I O N
Amazon
S3
(Storage)
Amazon
EC2
(Filtering)
Amazon
EC2
(Extraction)
Amazon ES
(Search)
For more on this case, see http://tinyurl.com/ybqwbolq
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deployment of indices to a cluster
• Index 1
– Shard 1
– Shard 2
– Shard 3
• Index 2
– Shard 1
– Shard 2
– Shard 3
Amazon ES cluster
1
2
3
1
2
3
1
2
3
1
2
3
Primary Replica
1
3
3
1
Instance 1,
Master
2
1
1
2
Instance 2
3
2
2
3
Instance 3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster with dedicated masters
Amazon ES cluster
1
3
3
1
Instance 1
2
1
1
2
Instance 2
3
2
2
3
Instance 3Dedicated master nodes
Data nodes: queries and updates
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Master node recommendations
Number of data nodes Master node instance type
< 10 m3.medium+
< 20 m4.large+
<= 50 c4.xlarge+
50-100 c4.2xlarge+
Always use an odd number of masters, >= 3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster with zone awareness
Amazon ES cluster
1
3
Instance 1
2
1 2
Instance 2
3
2
1
Instance 3
Availability Zone 1 Availability Zone 2
2
1
Instance 4
3
3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling Amazon Elasticsearch Service
• Scaling Amazon Elasticsearch Service means scaling Elasticsearch
• Amazon Elasticsearch Service delivers seamless deployment
changes
Storage
Type, amount per-
instance, and count
Parallelism
Add and remove
instances
Throughput and Capacity
Change instance types
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
To scale correctly, iterate!
• Set config
• Instance type, storage
• Monitor via CloudWatch and
ES APIs
• CloudWatch for CPU, JVM,
and Disk
• ES for indexing, merges,
latencies
• Slow Logs for bottlenecks
• Adjust for workload
Configure
Cluster
Run your
workload
Gather
metrics
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use ES to analyze ES performance
https://aws.amazon.com/blogs/database/analyzing-amazon-elasticsearch-service-slow-logs-using-amazon-
cloudwatch-logs-streaming-and-kibana/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data pattern for time series data (or logs)
Amazon ES cluster
logs_01.21.2017
logs_01.22.2017
logs_01.23.2017
logs_01.24.2017
logs_01.25.2017
logs_01.26.2017
logs_01.27.2017
Shard 1
Shard 2
Shard 3
host
ident
auth
timestamp
etc.
Each index has
multiple shards
Each shard contains
a set of documents
Each document contains
a set of fields and values
One index per day
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kinesis Firehose
CloudWatch Logs
Logstash
Amazon Lambda
Transform
Kinesis Firehose/
Streams
CloudWatch Logs
Amazon Elasticache/Redis
Kafka Rabbit MQLogstash
Amazon S3
Buffer
Kinesis Firehose/
Streams
Logstash
Worker nodes
Deliver
Kinesis Agent
CloudWatch Logs Agent
Beats
Fluentd
Application
Logstash
Collect
CloudWatch Logs
Amazon Lambda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Small-ish hosted use cases
Public Subnet
Internet Gateway
ALB
Private
Subnet
Filebeat
Redis ENI
Kibana
Amazon ES ENI Amazon ES Domain
Redis Cluster
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
XL hosted use cases
• Ingest supported through high-
volume technologies like Spark or
Kinesis
• Up to 60 TB of data today
• R3.8xlarge + 640GB data nodes
• 3x m3.xlarge master nodes
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Large or serverless use cases
• Data flows from instances and
applications via Lambda
• SigV4 signing via Lambda/roles
• Up to 5 TB of data
• r3.2xlarge + 512 GB EBS data
nodes
• 3x m3.medium master nodes
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda for serverless log ingestion
What serverless is not about
Credit: Blue Waters main data center room in June 2010. Still empty except for power distribution cabinets, by Daniel Schwen
https://commons.wikimedia.org/wiki/File:Blue_Waters_main_data_center_room.jpg
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The function
https://gitlab.com/ric_harvey/cf-es-log-ingester
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Permissions
Cluster access
Account ID
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Permissions
IAM Roles
Permissions to allow:
Access to ES – (get granular and lock it down to a single cluster)
Access S3 - (read only permissions to one bucket)
CloudWatch Logs – (push logs from lambda app)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you
Javier Ramirez
@supercoco9

Contenu connexe

Tendances

Amazon S3_Updates and Best Practices
Amazon S3_Updates and Best Practices Amazon S3_Updates and Best Practices
Amazon S3_Updates and Best Practices Amazon Web Services
 
Run Your Workloads in New EC2 and Storage Options
Run Your Workloads in New EC2 and Storage OptionsRun Your Workloads in New EC2 and Storage Options
Run Your Workloads in New EC2 and Storage OptionsAmazon Web Services
 
SRV315 Building Enterprise-Grade Serverless Apps
 SRV315 Building Enterprise-Grade Serverless Apps SRV315 Building Enterprise-Grade Serverless Apps
SRV315 Building Enterprise-Grade Serverless AppsAmazon Web Services
 
Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018
Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018
Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018Amazon Web Services
 
Getting Started on AWS - AWSome Day Houston 2018
Getting Started on AWS - AWSome Day Houston 2018Getting Started on AWS - AWSome Day Houston 2018
Getting Started on AWS - AWSome Day Houston 2018Amazon Web Services
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Amazon Web Services
 
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Web Services
 
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Amazon Web Services
 
Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Amazon Web Services
 
Navigating GDPR Compliance on AWS - AWS Online Tech Talks
Navigating GDPR Compliance on AWS - AWS Online Tech TalksNavigating GDPR Compliance on AWS - AWS Online Tech Talks
Navigating GDPR Compliance on AWS - AWS Online Tech TalksAmazon Web Services
 
SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
 SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser... SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...Amazon Web Services
 
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...Amazon Web Services
 
Starting your Cloud Transformation Journey - Tel Aviv Summit 2018
Starting your Cloud Transformation Journey - Tel Aviv Summit 2018Starting your Cloud Transformation Journey - Tel Aviv Summit 2018
Starting your Cloud Transformation Journey - Tel Aviv Summit 2018Boaz Ziniman
 
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life Amazon Web Services
 
Microsoft Active Directory Deep Dive
Microsoft Active Directory Deep DiveMicrosoft Active Directory Deep Dive
Microsoft Active Directory Deep DiveAmazon Web Services
 
Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...
Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...
Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...Amazon Web Services
 
Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...
Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...
Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...Amazon Web Services
 
AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...
AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...
AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...Amazon Web Services
 

Tendances (20)

Amazon S3_Updates and Best Practices
Amazon S3_Updates and Best Practices Amazon S3_Updates and Best Practices
Amazon S3_Updates and Best Practices
 
Run Your Workloads in New EC2 and Storage Options
Run Your Workloads in New EC2 and Storage OptionsRun Your Workloads in New EC2 and Storage Options
Run Your Workloads in New EC2 and Storage Options
 
AWS Business Essentials
AWS Business EssentialsAWS Business Essentials
AWS Business Essentials
 
EC2_and_VPC_workshop
EC2_and_VPC_workshopEC2_and_VPC_workshop
EC2_and_VPC_workshop
 
SRV315 Building Enterprise-Grade Serverless Apps
 SRV315 Building Enterprise-Grade Serverless Apps SRV315 Building Enterprise-Grade Serverless Apps
SRV315 Building Enterprise-Grade Serverless Apps
 
Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018
Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018
Securing Your Virtual Data Center in the Cloud (NET202) - AWS re:Invent 2018
 
Getting Started on AWS - AWSome Day Houston 2018
Getting Started on AWS - AWSome Day Houston 2018Getting Started on AWS - AWSome Day Houston 2018
Getting Started on AWS - AWSome Day Houston 2018
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
 
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
 
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
 
Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics
 
Navigating GDPR Compliance on AWS - AWS Online Tech Talks
Navigating GDPR Compliance on AWS - AWS Online Tech TalksNavigating GDPR Compliance on AWS - AWS Online Tech Talks
Navigating GDPR Compliance on AWS - AWS Online Tech Talks
 
SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
 SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser... SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
 
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
 
Starting your Cloud Transformation Journey - Tel Aviv Summit 2018
Starting your Cloud Transformation Journey - Tel Aviv Summit 2018Starting your Cloud Transformation Journey - Tel Aviv Summit 2018
Starting your Cloud Transformation Journey - Tel Aviv Summit 2018
 
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
 
Microsoft Active Directory Deep Dive
Microsoft Active Directory Deep DiveMicrosoft Active Directory Deep Dive
Microsoft Active Directory Deep Dive
 
Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...
Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...
Building PaaS with Amazon EKS for the Large-Scale, Highly Regulated Enterpris...
 
Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...
Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...
Transforming Data Lakes with Amazon S3 Select & Amazon Glacier Select - AWS O...
 
AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...
AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...
AWS Snowball Edge and AWS Greengrass for Fun and Profit (STG388) - AWS re:Inv...
 

Similaire à Analyzing your web and application logs with Cloudfront and ElasticSearch Service.pdf

Stream processing and managing real-time data
Stream processing and managing real-time dataStream processing and managing real-time data
Stream processing and managing real-time dataAmazon Web Services
 
Visualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityVisualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityAmazon Web Services
 
Build your own log analytics solution on AWS - ADB301 - Atlanta AWS Summit
Build your own log analytics solution on AWS - ADB301 - Atlanta AWS SummitBuild your own log analytics solution on AWS - ADB301 - Atlanta AWS Summit
Build your own log analytics solution on AWS - ADB301 - Atlanta AWS SummitAmazon Web Services
 
Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018
Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018
Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018Amazon Web Services
 
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...Amazon Web Services Korea
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Amazon Web Services
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018Amazon Web Services
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...Amazon Web Services
 
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018Amazon Web Services
 
Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...
Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...
Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...Amazon Web Services
 
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Amazon Web Services
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Amazon 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
 
Introduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWSIntroduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWSTom Laszewski
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Amazon Web Services
 
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech TalksIntroduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech TalksAmazon Web Services
 
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018Amazon Web Services
 
Exploring Blockchain Technology and Emerging Trends
Exploring Blockchain Technology and Emerging TrendsExploring Blockchain Technology and Emerging Trends
Exploring Blockchain Technology and Emerging TrendsAmazon Web Services
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統Amazon Web Services
 

Similaire à Analyzing your web and application logs with Cloudfront and ElasticSearch Service.pdf (20)

Stream processing and managing real-time data
Stream processing and managing real-time dataStream processing and managing real-time data
Stream processing and managing real-time data
 
AWS 101
AWS 101AWS 101
AWS 101
 
Visualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityVisualise and Voice-Enable Your Security
Visualise and Voice-Enable Your Security
 
Build your own log analytics solution on AWS - ADB301 - Atlanta AWS Summit
Build your own log analytics solution on AWS - ADB301 - Atlanta AWS SummitBuild your own log analytics solution on AWS - ADB301 - Atlanta AWS Summit
Build your own log analytics solution on AWS - ADB301 - Atlanta AWS Summit
 
Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018
Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018
Have Your Front End and Monitor It, Too (ANT303) - AWS re:Invent 2018
 
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
 
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
 
Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...
Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...
Searching for patterns: Log analytics using Amazon ES - ADB205 - New York AWS...
 
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
 
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
 
Introduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWSIntroduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWS
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
 
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech TalksIntroduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
 
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
 
Exploring Blockchain Technology and Emerging Trends
Exploring Blockchain Technology and Emerging TrendsExploring Blockchain Technology and Emerging Trends
Exploring Blockchain Technology and Emerging Trends
 
利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統利用 Fargate - 無伺服器的容器環境建置高可用的系統
利用 Fargate - 無伺服器的容器環境建置高可用的系統
 

Plus de 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
 

Plus 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
 

Analyzing your web and application logs with Cloudfront and ElasticSearch Service.pdf

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 04.03.19 O S L O
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Analyzing your web and application logs S3, Cloudfront, Lambda and the Elasticsearch Service Javier Ramirez AWS Tech Evangelist @supercoco9 B A R 2 O S L O 04.03.19
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Hosting up a very simple web Hosting static sites on AWS Scaling out any website with a Content Delivery Network The Elasticsearch Service Kibana Dashboards Using Lambda for serverless log ingestion Demo time
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why logs?
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What produces data? • Metering Records • Mobile Apps • IoT Sensors Web Clickstream • Enterprise Documents • Application Logs [Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htd ocs/test
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Logs, logs and more logs Logs are important: • Debugging • Working out user flow • Monitoring Centralising those logs is even more important
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Operational analytics
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. The explosion of machine-generated data Transition from IT to DevOps Increase in IoT and Mobile Devices Cloud-based architectures Machine-generated data is growing 10x faster than business data Source: insideBigData - The Exponential Growth of Data, February 16, 2017
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Operational analytics requirements/challenges
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Let’s host a static website on AWS so we can generate some traffic logs
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Not just for Geocities web pages
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How to enable hosting in S3
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why hosting in S3 is cool! • Simple static website hosting with a simple workflow • 2 clicks to enable • Scales • Fast • Supports your own FQDN • You can extend it with lambda functions for dynamic content Developer Users Resolve DNS Fetch site direct from S3 Push Code
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling out with CloudFront so we can handle high volume traffic more efficiently
  • 15. Amazon Global Network • Redundant 100GbE network • Redundant private capacity between all Regions except China 166 Global CloudFront PoPs a e o q i h Paris Sweden AWS GovCloud East First 5 years: 4 regions 2016–2020: 13 regions Next 5 years: 7 regions A W S REGIONS 2 0 R e g i o n s 6 1 A Z s d m c g b n s k v i i i i i i i i Milan i Cape Town
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Going global • Simple to enable • Speeds up your site for international users • Choice of regions • Allows you to enter multiple CNAME’s • Integrated with Route 53 alias records • Supports SSL certs from certificate manager
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Amazon Elasticsearch Service
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elasticsearch Service is a cost-effective managed service that makes it easy to deploy, manage, and scale open-source Elasticsearch and Kibana for log analytics, full-text search, and more.
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Easy to Use Deploy a production-ready Elasticsearch cluster in minutes Simplifies time-consuming management tasks such as software patching, failure recovery, backups, and monitoring Open Get direct access to the Elasticsearch open- source API Fully compatible with the open-source Elasticsearch API, for all code and applications Secure Secure Elasticsearch clusters with AWS Identity and Access Management (IAM) policies with fine-grained access control access for users and endpoints Automatically applies security patches without disruption, keeping Elasticsearch environments secure Available Provides high availability using Zone Awareness, which replicates data between two Availability Zones Monitors the health of clusters and automatically replaces failed nodes, without service disruption AWS Integrated Integrates with Amazon Kinesis Firehose, AWS IoT, and Amazon CloudWatch Logs for seamless data ingestion AWS CloudTrail for auditing, AWS Identity and Access Management (IAM) for security, and AWS CloudFormation for cloud orchestration Scalable Scale clusters from a single node up to 20 nodes Configure clusters to meet performance requirements by selecting from a range of instance types and storage options, including SSD-powered EBS volumes Amazon Elasticsearch Service Benefits
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application Monitoring & Root-cause Analysis CASE STUDY: EXPEDIA Logs, lots and lots of logs. How to cost effectively monitor logs? Require centralized logging infrastructure Did not have the man power to manage infrastructure P R O B L E M Quick insights: Able to identify and troubleshoot issues in real-time Secure: Integrated w/ AWS IAM Scalable: Cluster sizes are able to grow to accommodate additional log sources B E N E F I T S Streaming AWS CloudTrail logs, application logs, and Docker startup logs to Elasticsearch Created centralized logging service for all team members Using Kibana for visualizations and for Elasticsearch queries S O L U T I O N
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Leading enterprises trust Amazon Elasticsearch Service for their search and analytics applications Media & Entertainment Online Services Technology Other
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What does it do? Application DataServer, application, network, AWS, and other logs Amazon Elasticsearch Service Domain with index(es) 1. Send data as JSON via REST APIs 2. Data is indexed - all fields searchable, including nested JSON 3. Queries, via REST APIs, allow fielded matching, Boolean expressions, include sorting and analysis 1 2 3 Application users, analysts, DevOps, security
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. { "title": "Star Wars", "plot": "Luke Skywalker joins forces with a Jedi Knight, a cocky pilot, a wookiee and two droids to save the universe from the Empire's world-destroying battle-station, while also attempting to rescue Princess Leia from the evil Darth Vader.", "year": 1977, "actors": [ "Mark Hamill", "Harrison Ford", "Carrie Fisher” ], "directors": [ "George Lucas” ], "rating": 8.7, "genres" : [ "Action", "Adventure", "Fantasy", "Sci-Fi” ] } Elasticsearch works with structured JSON containing fields and values
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Elasticsearch creates an index for each field Doc Name Value Name Value Name Value Name Value Name Value Name Value Fields Analysis Field indices Term 1 Term 2 Term 3 Term 4 Term 5 Term 6 Term 7 1, 4, 8, 12, 30, 42, 58, 100. .. Posting lists
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Query your data { "query": { "match": { "title": "iron man" } } } Title Score Iron Man 10.56436 Iron Man 2 8.631084 Iron Man 3 8.631084 Iron Sky 6.387543 The Man with the Iron Fists 6.185517 3 The Man in the Iron Mask 6.185517 3 The Iron Giant 5.218624 The Iron Lady 5.218624 77 hits
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. You can search for values by field, with Boolean expressions to get scored, sorted results 1, 4, 8, 12, 30, 42, 58, 100. ... 1, 4, 8, 12, 30, 42, 58, 100. ... Term 1 Term 2 Term 3 Term 4 Term 5 Term 6 Term 7 Analysis 1, 4, 8, 12, 30, 42, 58, 100 ... Posting lists Field1:value Field2:value Field3:value Term 1 Term 2 Term 3 Term 4 Term 5 Term 6 Term 7 Term 1 Term 2 Term 3 Term 4 Term 5 Term 6 Term 7 1, 12, 58, 100 58, 12, 1, 100 Result Key Idea
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. You can analyze field values to get statistics and build visualizations 58, 12, 1, 100, 115 123, 214, 947 Result GET GET POST GET PUT GET GET POST Field Data Buckets GET POST PUT 5 2 1 Counts Key Idea
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ElasticSearch Service with Kibana
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Get the right set up
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Easy to use and scalable AWS SDK AWS CLI Elasticsearch data nodes Elasticsearch master nodes Amazon Elasticsearch Service domain Developer Amazon Cognito Amazon CloudWatch AWS CloudTrail
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security • Public endpoints – IAM • Private endpoints – IAM and security groups • Encryption
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use IAM for public endpoints { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::XXXX:root” }, "Action": "es:*", "Resource": "arn:aws:es: us-west-2:XXXX:domain/YYYY/*” } ] } • To grant access for Kibana, use a CIDR Condition • To grant read-only access to an account or role, specify an es:HttpGet Action • To limit a user to a specific index, or API add it to the Resource • For Admin access, specify administrative es:* Actions
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Add security groups for private endpoints Specify a subnet and security group to apply CIDR restrictions on inbound/outbound traffic security group security group Amazon Elasticsearch Service Data Master Data Master IAM IAM
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture: Web Serving Public Subnet Internet Gateway ALB Private Subnet Httpd Amazon ES ENI Amazon ES Domain
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Encrypt your data • Encrypted data at rest on Amazon ES instances • Both EBS and ephemeral store • Encrypted automatic snapshots
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Data is stored in indexes, distributed across shards Amazon Elasticsearch Service domain ID Field: value Field: value Field: value Field: value Index Shards Instances • Shards are primary or replica • Primary shard count can’t be changed • Elasticsearch distributes shards to instances elastically • Primary and replica are distributed to different instances
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How many instances? • Index size is approximately source size • Double this if you are deploying an index replica • Instance count based on storage requirements • Either local storage or up to 1.5 TB of Amazon Elastic Block Store (EBS) per instance Example: a 2 TB corpus will need 4 instances Assuming a replica and using EBS Given 1.5 TB of storage per instance, this gives 6TB of storage
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Instance type recommendations Instance Workload T2 Entry point. Dev and test. OK for dedicated masters. M3, M4 Equal read and write volumes. R3, R4 Read-heavy or workloads with high memory demands (e.g., aggregations). C4 High concurrency/indexing workloads I2,I3 Up to 1.6 TB of SSD instance storage.
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. It is elastic • Run out of storage space? • add data nodes or • increase EBS volume size. • Need more compute or RAM? • increase the instance type, or • add more data nodes. Amazon Elasticsearch Service is designed to apply those configuration changes without incurring downtime.
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Full text search CASE STUDY: MirrorWeb Make the UK Government and UK Parliament’s web archives searchable Large scale ingestion scenario: 120 TB of data (1.2 MM 100MB files), duplicates and bad data, Warc format P R O B L E M Scalability: Started on a 9-node, R4.4Xlarge cluster for fast ingest, reduced to 6 R4.Xlarge instances for search. Able to reconfigure the cluster with no down time Cost effective: Indexed 1.4 billion documents for $337 Fast: 146 MM docs per hour indexed. 14x faster than the previous best for this data set (using Hadoop) B E N E F I T S S O L U T I O N Amazon S3 (Storage) Amazon EC2 (Filtering) Amazon EC2 (Extraction) Amazon ES (Search) For more on this case, see http://tinyurl.com/ybqwbolq
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deployment of indices to a cluster • Index 1 – Shard 1 – Shard 2 – Shard 3 • Index 2 – Shard 1 – Shard 2 – Shard 3 Amazon ES cluster 1 2 3 1 2 3 1 2 3 1 2 3 Primary Replica 1 3 3 1 Instance 1, Master 2 1 1 2 Instance 2 3 2 2 3 Instance 3
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cluster with dedicated masters Amazon ES cluster 1 3 3 1 Instance 1 2 1 1 2 Instance 2 3 2 2 3 Instance 3Dedicated master nodes Data nodes: queries and updates
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Master node recommendations Number of data nodes Master node instance type < 10 m3.medium+ < 20 m4.large+ <= 50 c4.xlarge+ 50-100 c4.2xlarge+ Always use an odd number of masters, >= 3
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cluster with zone awareness Amazon ES cluster 1 3 Instance 1 2 1 2 Instance 2 3 2 1 Instance 3 Availability Zone 1 Availability Zone 2 2 1 Instance 4 3 3
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Amazon Elasticsearch Service • Scaling Amazon Elasticsearch Service means scaling Elasticsearch • Amazon Elasticsearch Service delivers seamless deployment changes Storage Type, amount per- instance, and count Parallelism Add and remove instances Throughput and Capacity Change instance types
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. To scale correctly, iterate! • Set config • Instance type, storage • Monitor via CloudWatch and ES APIs • CloudWatch for CPU, JVM, and Disk • ES for indexing, merges, latencies • Slow Logs for bottlenecks • Adjust for workload Configure Cluster Run your workload Gather metrics
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use ES to analyze ES performance https://aws.amazon.com/blogs/database/analyzing-amazon-elasticsearch-service-slow-logs-using-amazon- cloudwatch-logs-streaming-and-kibana/
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Data pattern for time series data (or logs) Amazon ES cluster logs_01.21.2017 logs_01.22.2017 logs_01.23.2017 logs_01.24.2017 logs_01.25.2017 logs_01.26.2017 logs_01.27.2017 Shard 1 Shard 2 Shard 3 host ident auth timestamp etc. Each index has multiple shards Each shard contains a set of documents Each document contains a set of fields and values One index per day
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Kinesis Firehose CloudWatch Logs Logstash Amazon Lambda Transform Kinesis Firehose/ Streams CloudWatch Logs Amazon Elasticache/Redis Kafka Rabbit MQLogstash Amazon S3 Buffer Kinesis Firehose/ Streams Logstash Worker nodes Deliver Kinesis Agent CloudWatch Logs Agent Beats Fluentd Application Logstash Collect CloudWatch Logs Amazon Lambda
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Small-ish hosted use cases Public Subnet Internet Gateway ALB Private Subnet Filebeat Redis ENI Kibana Amazon ES ENI Amazon ES Domain Redis Cluster
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. XL hosted use cases • Ingest supported through high- volume technologies like Spark or Kinesis • Up to 60 TB of data today • R3.8xlarge + 640GB data nodes • 3x m3.xlarge master nodes
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Large or serverless use cases • Data flows from instances and applications via Lambda • SigV4 signing via Lambda/roles • Up to 5 TB of data • r3.2xlarge + 512 GB EBS data nodes • 3x m3.medium master nodes
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda for serverless log ingestion
  • 58. What serverless is not about Credit: Blue Waters main data center room in June 2010. Still empty except for power distribution cabinets, by Daniel Schwen https://commons.wikimedia.org/wiki/File:Blue_Waters_main_data_center_room.jpg
  • 59. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. The function https://gitlab.com/ric_harvey/cf-es-log-ingester
  • 60. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Permissions Cluster access Account ID
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Permissions IAM Roles Permissions to allow: Access to ES – (get granular and lock it down to a single cluster) Access S3 - (read only permissions to one bucket) CloudWatch Logs – (push logs from lambda app)
  • 62. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you Javier Ramirez @supercoco9