SlideShare une entreprise Scribd logo
1  sur  59
Télécharger pour lire hors ligne
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
Deep Dive into the New Network Load
Balancer
P r a t i b h a S u r y a d e v a r a , N a r a y a n S u b r a m a n i a m , B r y a n
M c K e n n e y ( L o g g l y )
N o v e m b e r 2 8 , 2 0 1 7
N E T 3 0 4
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Load Balancing automatically distributes
incoming application traffic across multiple targets,
such as Amazon Elastic Compute Cloud (Amazon
EC2) instances , containers, and IP addresses
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SecureElastic Integrated Cost Effective
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2
Instance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Load balancer used to
route incoming requests
to multiple Amazon EC2
instances, containers,
or IP addresses in your
VPC.
ELB
EC2
Instance
EC2
Instance
EC2
Instance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Layer 7 (application)Layer 4 (network)
Supports TCP
Incoming client connection bound to
server connection.
No header modification.
Source IP is preserved in the
header or Proxy Protocol prepends
source and destination IP and ports
to request
Supports HTTP and HTTPS.
Connection terminated at the load
balancer and pooled to the server.
Headers may be modified.
X-Forwarded-For header contains
client IP address.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Elastic Load Balancing Family
Application Load Balancer Network Load Balancer Classic Load Balancer
TCP Workloads (VPC)
Previous Generation
for HTTP, HTTPS, TCP
(Classic Network)
HTTP & HTTPS (VPC)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer (NLB)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application Load Balancer Network Load Balancer Classic Load Balancer
Protocol HTTP, HTTPS, HTTP/2 TCP TCP, SSL, HTTP, HTTPS
SSL offloading ✔ ✔
IP as Target ✔ ✔
Path-based routing,
Host-based routing ✔
Static IP ✔
WebSockets ✔ ✔
Container Support ✔ ✔
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
New, layer 4 load-balancing platform
Connection-based load balancing
TCP protocol
High Performance
Can handle millions of requests per sec
Static IP Support
Ideal for applications with long running
connections
Network Load Balancer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Extremely low latencies
Preserves Source IP
Uses Flow hash of 5-tuple and Seq ID as
routing algorithm
Same API as Application Load Balancer
Load Balancer API Deletion Protection
Network Load Balancer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Test Setup
New out of box NLB with 3 Availability
Zones in US-EAST-1
NLB Performance
Can handle Millions of rps out of box and volatile traffic patterns
100 c4.xlarge clients running Apache bench
Backend fleet with 75 c4.2xlarge servers
Get requests
Response – 1KB static page
1,000 concurrent connections/client
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bees with machine
guns, executed in a
loop
bees attack --url
'<NLB-URL>' --
number 10000000 --
concurrent 100000 –
keepalive
Performance Graph
shows no errors and
content was served fine
NLB Performance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Improved Elastic Load Balancing API
Listeners
Target Groups
Targets
Resources same as ALB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer
Listener Listener
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Define the port and protocol that the load
balancer must listen on
Each Network Load Balancer needs
at least one listener to accept traffic
Listeners
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer
Listener Listener
Target Group #1
Health Check Health Check Health Check
Target Group #2 Target Group #3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Logical grouping of targets behind the load
balancer
Target groups can be exist independently from
the load balancer
Target group can be associated with an Auto
Scaling group
Target groups can contain up to 200 targets
Target groups
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer
Target Group #1
Health Check Health Check Health Check
EC2 EC2 EC2 EC2 EC2 EC2
Listener Listener
Target Group #2 Target Group #3
Listener
EC2 EC2 EC2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Support for Amazon EC2 instances, Amazon
ECS containers, and IP Addresses.
Amazon EC2 instances can be registered with
the same target group using multiple ports for
Containers
A single target can be registered with multiple
target groups within the same load balancer
Targets can be IP Addresses both accessible
within your VPC or via AWS Direct Connect
Targets
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IP as a Target
Use IP address from the load balancer’s VPC CIDR for
targets within load balancer’s VPC
Use IP address from the RFC 1918 and RFC 6598 range for
targets located outside the load balancer’s VPC such as on-
premises targets reachable over AWS Direct Connect
(10.0.0.0/8, 172.16.0.0/12,192.168.0.0/16 and 100.64.0.0/10)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NLB is fully integrated with Amazon EC2
Container Service (Amazon ECS)
Amazon ECS will automatically register tasks
with the load balancer using a dynamic port
mapping
Can also be used with other container
technologies
ECS integration
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer
Target Group #1
Health Check Health Check Health Check
EC2 EC2 EC2 EC2 EC2 EC2 ECS ECS ECS
Listener Listener
Target Group #2 Target Group #3
IP IP IP
Listener
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NLB Other Key Features
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NLB Static IP
Automatically gets assigned a single IP per
Availability Zone
Assign an EIP per AZ to get Static IP
Helps with white-listing for firewalls and
zero dollar billing use cases
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Assign Elastic IP Addresses
Network Load
Balancer
EC2 Instance
EC2 Instances
EC2 Instance
EC2 Instances
Assigning Elastic IP
provides a single IP
address per Availability
Zone per load balancer
that will not change.
1a
1b
34.214.45.162
54.69.111.179
TargetGroup 1
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Preserve Source IP
Preserves Client IP to back-ends
Can be used for logging and other
applications
Removes need for Proxy Protocol with
instances
Support for Proxy Protocol V2 when load
balancing to IP addresses
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Firewall Example with NLB
External facing NLB uses less addresses
with one IP per Availability Zone
Used for Firewalls, proxies
Preserves source IP
Firewalls use this for features like Geo-
IP blocking
Internal NLB doesn’t change IPs
Allows Firewalls to maintain a single
address for NAT
FW FWFW FW
External facing
Network Load
Balancer (NLB)
Internal Network Load
Balancer (NLB)
Auto Scaling
Auto Scaling
Web Servers
inside.domain.com
outside.domain.com
Internet
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Health checks allow for
traffic to be shifted away
from failed instances
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Supports both Network and Application
Target health checks
Network health checks
Based on overall response of your
target to normal traffic
Will fail unresponsive targets in millisec
Application level health checks
HTTP, HTTPS, and TCP HC
Customize frequency, failure thresholds
Health Checks
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NLB
EC2
Instance
EC2
Instance
EC2
Instance
Health checks ensure
that request traffic is
shifted away from a
failed instance.
Health Checks
TargetGroup 1
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customize list of successful response codes (for
example, 200-399)
Details of health check failures are now returned
via the API and AWS Management Console
Health Checks
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone Failover
Customer VPC
EC2
InstancesNLB
NLB
EC2
Instances
us-west-1aus-west-1b
Amazon
Route 53
TargetGroup 1
Health Check
Health Check
34.214.45.162
54.69.111.179
34.214.45.162
54.69.111.179
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone Failover
Customer VPC
EC2
InstancesNLB
NLB
us-west-1aus-west-1b
Amazon
Route 53
34.214.45.162
54.69.111.179
TargetGroup 1
Health Check
Health Check
34.214.45.162
54.69.111.179
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling Integration
Auto Scaling can now scale targets within a
target group
Allows for applications to be scaled
independently behind the Network Load
Balancer
Integrated with AWS CloudFormation, Amazon
EC2 Container Service (ECS), AWS CodeDeploy,
and AWS Config
Integration AWS Ecosystem
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudWatch metrics provided for each
load balancer.
Provide detailed insight into traffic and capacity,
errors and back-end health for the Network Load
Balancer
Amazon CloudWatch alarms can be configured to
notify or take action should any metric go outside
the acceptable range.
All metrics provided at the 1-minute granularity.
Amazon CloudWatch metrics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traffic and Capacity Metrics
ActiveFlowCount - total number of
concurrent TCP flows (or connections)
from clients to targets
NewFlowCount - total number of new
TCP flows (or connections) established
from clients to targets
ProcessedBytes - total number of bytes
processed by the load balancer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ResetCounts
TCPClientResetCount – number of reset
(RST) packets sent from a client to a target
TCPELBResetCount – number of reset
(RST) packets generated by the load
balancer
TCPTargetResetCount- number of reset
(RST) packets sent from a target to a client
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Backend Health
HealthyHostCount – number of targets
that are considered healthy
UnHealthyHostCount – number of
targets that are considered unhealthy
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Captures the network flow for a
specific 5-tuple, for a specific capture
window
Packets
Bytes
Capture window start and end
Action - Accepted or Rejected
status
Log Status
Flow Logs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo for NLB API and CONSOLE
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer pricing
With the Network Load Balancer, you only pay for what you use. You are
charged for each hour or partial hour your Network load balancer is running and
the number of Load Balancer Capacity Units (LCU) used per hour
• $0.0225 per Network Load Balancer-hour (or partial hour) (US-EAST-1)
• $0.006 per LCU-hour (or partial hour) (US-East-1)
Hourly charge is 10% less expensive than Classic Load
Balancer; Data Processing charge is 25%
less expensive than Classic and Application Load Balancer;
reducing the cost for virtually all of our customers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Load balancer capacity units
An LCU measures the dimensions on which the Network Load Balancer
processes your traffic (averaged over an hour). The three dimensions measured
are:
• New connections: up to 800 new connections per second
• Active connections: up to 100,000 active connections
• Bandwidth: Up to 2.22 mbps (1 GB per hour)
You are charged only on the dimension with the highest
usage over the hour.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migrating to Network Load Balancer
Migration is as simple as creating a new Network
Load Balancer, registering targets and updating
DNS to point at the new CNAME.
Classic Load Balancer to Network Load Balancer
migration utility:
https://github.com/aws/elastic-load-balancing-tools
When should I use Network Load
Balancer?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application Load Balancer Network Load Balancer Classic Load Balancer
Protocol HTTP, HTTPS,HTTP/2 TCP TCP, SSL, HTTP, HTTPS
SSL offloading ✔ ✔
IP as Target ✔ ✔
Path-based routing,
Host-based routing ✔
Static IP ✔
WebSockets ✔ ✔
Container Support ✔ ✔
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
For TCP in VPC, use Network Load Balancer.
For all other use cases in VPC , use
Application Load Balancer
For Classic networking, use Classic Load
Balancer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
AMAZON NLB AT LOGGLY
B R Y A N M c K E N N E Y , H E A D O F O P E R A T I O N S
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud-based log management
Founded in 2009
Based in San Francisco
10,000+ customers
Startups to Fortune 500
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LOG MANAGEMENT IS A BIG DATA PROBLEM
Massive incoming event stream
Fundamentally multi-tenant
Scalable framework for analysis
Near real-time indexing
Near real-time search
Time-series index management
Logs are TLDR
Traffic is unpredictable
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LOGGLY BIG DATA PIPELINE
Indexing cluster
Mapping,
parsing, and
analysis
Amazon
Route53
Collector
Kafka
broker
IndexingIngestion Processing Search
Front end
Search API
Kafka
broker
Amazon
NLB
Indexer
Search &
analytics
engine
Index
management
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NLB requirements for Loggly
B alance load across data consu me r fle e t (colle ctors)
Ability to process up to 500k events per second per POD / 3-5 Gbps events bytes
Handle unpredictable traffic patterns and bursting events
Seamlessly “auto-scale” the Loggly backend
Must be fault tolerant
Low latency
Must scale across regions and zones
Flexibility with microservice based architecture
No “warmup” time required
Support short and “long-lived” TCP connections
Support Syslog 514
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HIGH-LEVEL DEPLOYMENT TOPOLOGY
Single NLB per region
2 Regions
6 availability zones
50% Spot instances
50% Reserve instances
Auto-scaling integration
CloudWatch monitoring
Loggly analytics
CLOUD
WATCH
SPOT
INSTANCES
AUTO
SCALING
RESERVE
INSTANCES
NLB - WEST NLB - EAST
AZ-A AZ-B AZ-C
COL COL COL COL COL COL
DIRECT
CONNECT
AZ-A AZ-B AZ-C
COL COL COL COL COL COL
ROUTE
53
S3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HOW WE TESTED ALL OF THIS
Region /AZ: us-east-1a, us-east-1b, us-
east-1c
Variables: NLB vs. Direct vs. HA proxy
Amazon EC2: Various family instance types
Python utility for syslog load generation
Short vs. “long-lived” connections
Saturation and scalability testing:
Client & Consumer at scale
1:1 up to 350:10
Process /Thread counts:
4:2, 4:4, 4:8, 8:16, 16:16
Listener protocol: TCP
Listener ports: 80, 443, 514, 6514
Security: “stateful” security group
LOGGLY
MONITORING
NLBCOLClient
HAPROXY
DIRECT
COLClient
COLClient
ROUTE
53
ROUTE
53
ROUTE
53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NLB LESSONS LEARNED
NLB has fundamentally changed the way we manage risk and cost
Massively scalable (millions of request per second)
Delivers ultra low latency performance
Handles volatile traffic patterns
Fault tolerance (only healthy targets receive requests)
Zonality feature is under appreciated (IP per AZ)
Fully integrated with auto-scaling, cloud formation, and container service
Spot instances help take the sting out of compute cost
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!
B r y a n M c k e n n e y
e m a i l : b m c k e n n e y @ l o g g l y . c o m
V i s i t u s a t l o g g l y . c o m o r f o l l o w @ l o g g l y o n T w i t t e r .
T r y L o g g l y ! → h t t p s : / / w w w . l o g g l y . c o m /
Learn More
https://aws.amazon.com/elasticloadbalancing/
https://aws.amazon.com/documentation/elastic-load-balancing/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!

Contenu connexe

Tendances

[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법
[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법
[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법Amazon Web Services Korea
 
AWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On GuideAWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On GuideManas Mondal
 
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교Amazon Web Services Korea
 
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitPlan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitAmazon Web Services
 
Understand AWS Pricing
Understand AWS PricingUnderstand AWS Pricing
Understand AWS PricingLynn Langit
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon Web Services
 
Disaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWSDisaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWSAmazon Web Services
 
Day 5 - AWS Autoscaling Master Class - The New Capacity Plan
Day 5 - AWS Autoscaling Master Class - The New Capacity PlanDay 5 - AWS Autoscaling Master Class - The New Capacity Plan
Day 5 - AWS Autoscaling Master Class - The New Capacity PlanAmazon Web Services
 
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順Amazon Web Services Japan
 
KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019
KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019
KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019Amazon Web Services Korea
 
AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築
AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築
AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築Amazon Web Services Japan
 
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQLAmazon Web Services Japan
 

Tendances (20)

[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법
[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법
[AWS Builders] AWS 스토리지 서비스 소개 및 사용 방법
 
Deep Dive on AWS Lambda
Deep Dive on AWS LambdaDeep Dive on AWS Lambda
Deep Dive on AWS Lambda
 
AWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On GuideAWS Application Migration Service-Hands-On Guide
AWS Application Migration Service-Hands-On Guide
 
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
 
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitPlan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
 
Understand AWS Pricing
Understand AWS PricingUnderstand AWS Pricing
Understand AWS Pricing
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS RDS
AWS RDSAWS RDS
AWS RDS
 
Disaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWSDisaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWS
 
Day 5 - AWS Autoscaling Master Class - The New Capacity Plan
Day 5 - AWS Autoscaling Master Class - The New Capacity PlanDay 5 - AWS Autoscaling Master Class - The New Capacity Plan
Day 5 - AWS Autoscaling Master Class - The New Capacity Plan
 
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora
 
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
 
AWS 101
AWS 101AWS 101
AWS 101
 
KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019
KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019
KINX와 함께 하는 AWS Direct Connect 도입 - 남시우 매니저, KINX :: AWS Summit Seoul 2019
 
AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築
AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築
AWS Black Belt Online Seminar 2016 AWS上でのActive Directory構築
 
Introduction to AWS Batch
Introduction to AWS BatchIntroduction to AWS Batch
Introduction to AWS Batch
 
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
 
ElastiCache & Redis
ElastiCache & RedisElastiCache & Redis
ElastiCache & Redis
 

Similaire à NET304_Deep Dive into the New Network Load Balancer

Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Amazon Web Services
 
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
Elastic  Load Balancing Deep Dive - AWS Online Tech TalkElastic  Load Balancing Deep Dive - AWS Online Tech Talk
Elastic Load Balancing Deep Dive - AWS Online Tech TalkAmazon Web Services
 
[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...
[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...
[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...Amazon Web Services
 
NET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security AnalyticsNET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security AnalyticsAmazon Web Services
 
NET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security AnalyticsNET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security AnalyticsAmazon Web Services
 
Introduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for KubernetesIntroduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for KubernetesAmazon Web Services
 
Modernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWSModernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWSAmazon Web Services
 
DEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-RayDEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-RayAmazon Web Services
 
CON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECSCON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECSAmazon Web Services
 
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Amazon Web Services
 
Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018PolarSeven Pty Ltd
 
Kubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSKubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSAmazon Web Services
 
Containers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech Talks
Containers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech TalksContainers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech Talks
Containers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech TalksAmazon Web Services
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersAmazon Web Services
 
NET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data CenterNET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data CenterAmazon Web Services
 
Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017
Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017
Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017Amazon Web Services
 
CTD201_Introduction to Amazon CloudFront and AWS Lambda@Edge
CTD201_Introduction to Amazon CloudFront and AWS Lambda@EdgeCTD201_Introduction to Amazon CloudFront and AWS Lambda@Edge
CTD201_Introduction to Amazon CloudFront and AWS Lambda@EdgeAmazon Web Services
 
Application Performance Management on AWS
Application Performance Management on AWSApplication Performance Management on AWS
Application Performance Management on AWSAmazon Web Services
 
ARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active ArchitectureARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active ArchitectureAmazon Web Services
 
AWS User Group 5/12 meetup - ECS
AWS User Group 5/12 meetup - ECSAWS User Group 5/12 meetup - ECS
AWS User Group 5/12 meetup - ECSShimon Tolts
 

Similaire à NET304_Deep Dive into the New Network Load Balancer (20)

Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
 
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
Elastic  Load Balancing Deep Dive - AWS Online Tech TalkElastic  Load Balancing Deep Dive - AWS Online Tech Talk
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
 
[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...
[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...
[REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1) -...
 
NET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security AnalyticsNET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
 
NET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security AnalyticsNET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
NET203_Using Amazon VPC Flow Logs to Do Predictive Security Analytics
 
Introduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for KubernetesIntroduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
 
Modernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWSModernize and Move your Microsoft Applications on AWS
Modernize and Move your Microsoft Applications on AWS
 
DEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-RayDEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-Ray
 
CON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECSCON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECS
 
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
 
Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018Amazon Web Services User Group Sydney - February 2018
Amazon Web Services User Group Sydney - February 2018
 
Kubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSKubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKS
 
Containers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech Talks
Containers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech TalksContainers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech Talks
Containers on AWS: What You Missed at re:Invent 2017 - AWS Online Tech Talks
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
NET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data CenterNET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data Center
 
Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017
Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017
Introduction to Amazon CloudFront and AWS Lambda@Edge - CTD201 - re:Invent 2017
 
CTD201_Introduction to Amazon CloudFront and AWS Lambda@Edge
CTD201_Introduction to Amazon CloudFront and AWS Lambda@EdgeCTD201_Introduction to Amazon CloudFront and AWS Lambda@Edge
CTD201_Introduction to Amazon CloudFront and AWS Lambda@Edge
 
Application Performance Management on AWS
Application Performance Management on AWSApplication Performance Management on AWS
Application Performance Management on AWS
 
ARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active ArchitectureARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active Architecture
 
AWS User Group 5/12 meetup - ECS
AWS User Group 5/12 meetup - ECSAWS User Group 5/12 meetup - ECS
AWS User Group 5/12 meetup - ECS
 

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
 

NET304_Deep Dive into the New Network Load Balancer

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT Deep Dive into the New Network Load Balancer P r a t i b h a S u r y a d e v a r a , N a r a y a n S u b r a m a n i a m , B r y a n M c K e n n e y ( L o g g l y ) N o v e m b e r 2 8 , 2 0 1 7 N E T 3 0 4
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Load Balancing automatically distributes incoming application traffic across multiple targets, such as Amazon Elastic Compute Cloud (Amazon EC2) instances , containers, and IP addresses
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SecureElastic Integrated Cost Effective
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Instance
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Load balancer used to route incoming requests to multiple Amazon EC2 instances, containers, or IP addresses in your VPC. ELB EC2 Instance EC2 Instance EC2 Instance
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Layer 7 (application)Layer 4 (network) Supports TCP Incoming client connection bound to server connection. No header modification. Source IP is preserved in the header or Proxy Protocol prepends source and destination IP and ports to request Supports HTTP and HTTPS. Connection terminated at the load balancer and pooled to the server. Headers may be modified. X-Forwarded-For header contains client IP address.
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Elastic Load Balancing Family Application Load Balancer Network Load Balancer Classic Load Balancer TCP Workloads (VPC) Previous Generation for HTTP, HTTPS, TCP (Classic Network) HTTP & HTTPS (VPC)
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer (NLB)
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application Load Balancer Network Load Balancer Classic Load Balancer Protocol HTTP, HTTPS, HTTP/2 TCP TCP, SSL, HTTP, HTTPS SSL offloading ✔ ✔ IP as Target ✔ ✔ Path-based routing, Host-based routing ✔ Static IP ✔ WebSockets ✔ ✔ Container Support ✔ ✔
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. New, layer 4 load-balancing platform Connection-based load balancing TCP protocol High Performance Can handle millions of requests per sec Static IP Support Ideal for applications with long running connections Network Load Balancer
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Extremely low latencies Preserves Source IP Uses Flow hash of 5-tuple and Seq ID as routing algorithm Same API as Application Load Balancer Load Balancer API Deletion Protection Network Load Balancer
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Test Setup New out of box NLB with 3 Availability Zones in US-EAST-1 NLB Performance Can handle Millions of rps out of box and volatile traffic patterns 100 c4.xlarge clients running Apache bench Backend fleet with 75 c4.2xlarge servers Get requests Response – 1KB static page 1,000 concurrent connections/client
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bees with machine guns, executed in a loop bees attack --url '<NLB-URL>' -- number 10000000 -- concurrent 100000 – keepalive Performance Graph shows no errors and content was served fine NLB Performance
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Improved Elastic Load Balancing API Listeners Target Groups Targets Resources same as ALB
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer Listener Listener
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Define the port and protocol that the load balancer must listen on Each Network Load Balancer needs at least one listener to accept traffic Listeners
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer Listener Listener Target Group #1 Health Check Health Check Health Check Target Group #2 Target Group #3
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Logical grouping of targets behind the load balancer Target groups can be exist independently from the load balancer Target group can be associated with an Auto Scaling group Target groups can contain up to 200 targets Target groups
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer Target Group #1 Health Check Health Check Health Check EC2 EC2 EC2 EC2 EC2 EC2 Listener Listener Target Group #2 Target Group #3 Listener EC2 EC2 EC2
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support for Amazon EC2 instances, Amazon ECS containers, and IP Addresses. Amazon EC2 instances can be registered with the same target group using multiple ports for Containers A single target can be registered with multiple target groups within the same load balancer Targets can be IP Addresses both accessible within your VPC or via AWS Direct Connect Targets
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IP as a Target Use IP address from the load balancer’s VPC CIDR for targets within load balancer’s VPC Use IP address from the RFC 1918 and RFC 6598 range for targets located outside the load balancer’s VPC such as on- premises targets reachable over AWS Direct Connect (10.0.0.0/8, 172.16.0.0/12,192.168.0.0/16 and 100.64.0.0/10)
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NLB is fully integrated with Amazon EC2 Container Service (Amazon ECS) Amazon ECS will automatically register tasks with the load balancer using a dynamic port mapping Can also be used with other container technologies ECS integration
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer Target Group #1 Health Check Health Check Health Check EC2 EC2 EC2 EC2 EC2 EC2 ECS ECS ECS Listener Listener Target Group #2 Target Group #3 IP IP IP Listener
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NLB Other Key Features
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NLB Static IP Automatically gets assigned a single IP per Availability Zone Assign an EIP per AZ to get Static IP Helps with white-listing for firewalls and zero dollar billing use cases
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Assign Elastic IP Addresses Network Load Balancer EC2 Instance EC2 Instances EC2 Instance EC2 Instances Assigning Elastic IP provides a single IP address per Availability Zone per load balancer that will not change. 1a 1b 34.214.45.162 54.69.111.179 TargetGroup 1
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Preserve Source IP Preserves Client IP to back-ends Can be used for logging and other applications Removes need for Proxy Protocol with instances Support for Proxy Protocol V2 when load balancing to IP addresses
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Firewall Example with NLB External facing NLB uses less addresses with one IP per Availability Zone Used for Firewalls, proxies Preserves source IP Firewalls use this for features like Geo- IP blocking Internal NLB doesn’t change IPs Allows Firewalls to maintain a single address for NAT FW FWFW FW External facing Network Load Balancer (NLB) Internal Network Load Balancer (NLB) Auto Scaling Auto Scaling Web Servers inside.domain.com outside.domain.com Internet
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Health checks allow for traffic to be shifted away from failed instances
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Supports both Network and Application Target health checks Network health checks Based on overall response of your target to normal traffic Will fail unresponsive targets in millisec Application level health checks HTTP, HTTPS, and TCP HC Customize frequency, failure thresholds Health Checks
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NLB EC2 Instance EC2 Instance EC2 Instance Health checks ensure that request traffic is shifted away from a failed instance. Health Checks TargetGroup 1
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Customize list of successful response codes (for example, 200-399) Details of health check failures are now returned via the API and AWS Management Console Health Checks
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone Failover Customer VPC EC2 InstancesNLB NLB EC2 Instances us-west-1aus-west-1b Amazon Route 53 TargetGroup 1 Health Check Health Check 34.214.45.162 54.69.111.179 34.214.45.162 54.69.111.179
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone Failover Customer VPC EC2 InstancesNLB NLB us-west-1aus-west-1b Amazon Route 53 34.214.45.162 54.69.111.179 TargetGroup 1 Health Check Health Check 34.214.45.162 54.69.111.179
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Integration Auto Scaling can now scale targets within a target group Allows for applications to be scaled independently behind the Network Load Balancer Integrated with AWS CloudFormation, Amazon EC2 Container Service (ECS), AWS CodeDeploy, and AWS Config Integration AWS Ecosystem
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch metrics provided for each load balancer. Provide detailed insight into traffic and capacity, errors and back-end health for the Network Load Balancer Amazon CloudWatch alarms can be configured to notify or take action should any metric go outside the acceptable range. All metrics provided at the 1-minute granularity. Amazon CloudWatch metrics
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Traffic and Capacity Metrics ActiveFlowCount - total number of concurrent TCP flows (or connections) from clients to targets NewFlowCount - total number of new TCP flows (or connections) established from clients to targets ProcessedBytes - total number of bytes processed by the load balancer
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ResetCounts TCPClientResetCount – number of reset (RST) packets sent from a client to a target TCPELBResetCount – number of reset (RST) packets generated by the load balancer TCPTargetResetCount- number of reset (RST) packets sent from a target to a client
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Backend Health HealthyHostCount – number of targets that are considered healthy UnHealthyHostCount – number of targets that are considered unhealthy
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Captures the network flow for a specific 5-tuple, for a specific capture window Packets Bytes Capture window start and end Action - Accepted or Rejected status Log Status Flow Logs
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo for NLB API and CONSOLE
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer pricing With the Network Load Balancer, you only pay for what you use. You are charged for each hour or partial hour your Network load balancer is running and the number of Load Balancer Capacity Units (LCU) used per hour • $0.0225 per Network Load Balancer-hour (or partial hour) (US-EAST-1) • $0.006 per LCU-hour (or partial hour) (US-East-1) Hourly charge is 10% less expensive than Classic Load Balancer; Data Processing charge is 25% less expensive than Classic and Application Load Balancer; reducing the cost for virtually all of our customers
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Load balancer capacity units An LCU measures the dimensions on which the Network Load Balancer processes your traffic (averaged over an hour). The three dimensions measured are: • New connections: up to 800 new connections per second • Active connections: up to 100,000 active connections • Bandwidth: Up to 2.22 mbps (1 GB per hour) You are charged only on the dimension with the highest usage over the hour.
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migrating to Network Load Balancer Migration is as simple as creating a new Network Load Balancer, registering targets and updating DNS to point at the new CNAME. Classic Load Balancer to Network Load Balancer migration utility: https://github.com/aws/elastic-load-balancing-tools
  • 45. When should I use Network Load Balancer?
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application Load Balancer Network Load Balancer Classic Load Balancer Protocol HTTP, HTTPS,HTTP/2 TCP TCP, SSL, HTTP, HTTPS SSL offloading ✔ ✔ IP as Target ✔ ✔ Path-based routing, Host-based routing ✔ Static IP ✔ WebSockets ✔ ✔ Container Support ✔ ✔
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. For TCP in VPC, use Network Load Balancer. For all other use cases in VPC , use Application Load Balancer For Classic networking, use Classic Load Balancer
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT AMAZON NLB AT LOGGLY B R Y A N M c K E N N E Y , H E A D O F O P E R A T I O N S
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud-based log management Founded in 2009 Based in San Francisco 10,000+ customers Startups to Fortune 500
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LOG MANAGEMENT IS A BIG DATA PROBLEM Massive incoming event stream Fundamentally multi-tenant Scalable framework for analysis Near real-time indexing Near real-time search Time-series index management Logs are TLDR Traffic is unpredictable
  • 51. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LOGGLY BIG DATA PIPELINE Indexing cluster Mapping, parsing, and analysis Amazon Route53 Collector Kafka broker IndexingIngestion Processing Search Front end Search API Kafka broker Amazon NLB Indexer Search & analytics engine Index management
  • 52. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NLB requirements for Loggly B alance load across data consu me r fle e t (colle ctors) Ability to process up to 500k events per second per POD / 3-5 Gbps events bytes Handle unpredictable traffic patterns and bursting events Seamlessly “auto-scale” the Loggly backend Must be fault tolerant Low latency Must scale across regions and zones Flexibility with microservice based architecture No “warmup” time required Support short and “long-lived” TCP connections Support Syslog 514
  • 53. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HIGH-LEVEL DEPLOYMENT TOPOLOGY Single NLB per region 2 Regions 6 availability zones 50% Spot instances 50% Reserve instances Auto-scaling integration CloudWatch monitoring Loggly analytics CLOUD WATCH SPOT INSTANCES AUTO SCALING RESERVE INSTANCES NLB - WEST NLB - EAST AZ-A AZ-B AZ-C COL COL COL COL COL COL DIRECT CONNECT AZ-A AZ-B AZ-C COL COL COL COL COL COL ROUTE 53 S3
  • 54. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 55. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HOW WE TESTED ALL OF THIS Region /AZ: us-east-1a, us-east-1b, us- east-1c Variables: NLB vs. Direct vs. HA proxy Amazon EC2: Various family instance types Python utility for syslog load generation Short vs. “long-lived” connections Saturation and scalability testing: Client & Consumer at scale 1:1 up to 350:10 Process /Thread counts: 4:2, 4:4, 4:8, 8:16, 16:16 Listener protocol: TCP Listener ports: 80, 443, 514, 6514 Security: “stateful” security group LOGGLY MONITORING NLBCOLClient HAPROXY DIRECT COLClient COLClient ROUTE 53 ROUTE 53 ROUTE 53
  • 56. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NLB LESSONS LEARNED NLB has fundamentally changed the way we manage risk and cost Massively scalable (millions of request per second) Delivers ultra low latency performance Handles volatile traffic patterns Fault tolerance (only healthy targets receive requests) Zonality feature is under appreciated (IP per AZ) Fully integrated with auto-scaling, cloud formation, and container service Spot instances help take the sting out of compute cost
  • 57. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU! B r y a n M c k e n n e y e m a i l : b m c k e n n e y @ l o g g l y . c o m V i s i t u s a t l o g g l y . c o m o r f o l l o w @ l o g g l y o n T w i t t e r . T r y L o g g l y ! → h t t p s : / / w w w . l o g g l y . c o m /
  • 59. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU!