SlideShare uma empresa Scribd logo
1 de 56
Baixar para ler offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Optimizing Network Performance
for Amazon EC2 Instances
N i c k M a t t h e w s , P a r t n e r S o l u t i o n s A r c h i t e c t
V i s h v e s h S a h a s r a b u d h e , E C 2 P r o d u c t M a n a g e r
N o v e m b e r 2 8 , 2 0 1 7
C M P 3 1 5
AWS re:INVENT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Performance
Packets in Packets out
?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Performance: Let’s Look
Packets in Packets out
?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What to Expect
• Performance Concepts
• Operating system tweaks
• Networking Performance Features
• Enhanced networking
• EC2 features
• Architectural Performance
• Network location
• Load balancing
• Testing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Performance Concepts
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Basic Concepts
Bandwidth Latency Throughput Jitter
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bandwidth Delay Product
10 Gbps
500 milliseconds
Data
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bandwidth Delay Product
10 Gbps
500 milliseconds
1 second RTT
ACK
(To make math easy)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data Data DataData
Bandwidth Delay Product
10 Gbps
1 second RTT
Bandwidth per second = How much
data is sent in one round trip
1. Larger packets (MTU)
2. Send more packets (TCP window size)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TCP and Latency
Latency really matters for:
• Cross-Region connectivity
• Instance-to-Instance for clustering (HPC)
• Elasticache, memcached
Tuning:
• TCP tuning
• Set larger MTUs
• Increase network efficiency
Making friends with physics:
• AWS Region choice: 10’s of ms
• Availability Zone affinity: milliseconds
• Placement groups: <1 ms
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Examples of TCP Tuning
TCP receive window:
sysctl net.ipv4.tcp_rmem
Initial congestion window:
ip route change 10.16.16.0/24 dev eth0 
proto kernel scope link initcwnd 16
TCP congestion control algorithms:
net.ipv4.tcp_available_congestion_control
TCP retransmission timer:
ip route change 10.16.16.0/24 dev eth0 proto kernel
scope link rto_min 50ms
From this session:
NET401 – Making Every Packet Count
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Other Related Performance Sessions
CMP207 – High Performance Computing on AWS
CMP301 – Deep Dive on Amazon EC2 Instances, Featuring
Performance Optimization Best Practices
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Packets per Second (PPS) and
Maximum Transmission Unit (MTU)
Each packet has processing overhead
• Small packets such as real time systems or transactions
Large packets increase the overall performance
• Jumbo MTU of 9001 available within VPC or VPC peers
1448 B
Payload
8949 B Payload
Jumbo MTUs increase the usable data per packet
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Network Performance Features
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS networking
• Higher performance with larger EC2 instance sizes
Enhanced Networking
• Over 1M PPS performance
• Reduces instance-to-instance latencies
• Support SR-IOV with PCIe passthrough, to get the hypervisor
out of the way and for consistent performance
• Intel ixgbvef and Amazon EC2 Elastic Network Adapter (ENA)
Networking on AWS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Enhanced Networking
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Enhanced Networking
Virtualization
Layer
HW NIC
Virtualization
Layer
HW NIC
Xen-PV Xen-PV
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Enhanced Networking
HW NIC HW NIC
VF VF
Intel
ixgbevf
Intel
ixgbevf
10 Gbps
Virtualization
Layer
Virtualization
Layer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Elastic Network Adapter
ENA ENA
VF VF
20 Gbps
25 Gbps
Virtualization
Layer
Virtualization
Layer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ENA Driver Capabilities
• Future proof: support for up to 400 Gbps
• Increased queues per device
• Lower latency and jitter
• Broad Operating System AMI support
• Linux—Amazon Linux, RHEL 7.4, SLES 12, Ubuntu 14.04,
16.04, CentOS 7 (1711), and in the Linux kernel since 4.9
• Windows Server 2008 R2, 2012, 2012 R2, 2016
• FreeBSD 11
• DPDK support starting in 16.04, PMD support
• Open Source: https://github.com/amzn/amzn-drivers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Enhanced Networking Latency Improvements
(RTT)
0
50
100
150
200
250
300
tp50 tp99
cc2.8xlarge c3.8xlarge c4.8xlarge c5.18xlarge
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Throughput
25G across all ENA i nstance typ e s, in all R e g ions
0
5000
10000
15000
20000
25000
30000
96 128 256 512 1024 2048 4096 8192
Mbps
TCP Packet Size
c3.8xlarge C4.8xlarge
C5.18xlarge single-stream C5.18xlarge multi-stream
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Performance
New instance types (C5, I3, P3, R4) with higher
performance
Smaller instances can have up to 10 Gbps network
performance
Larger instances have dedicated 10 or 25 Gbps
Instance size impacts the total network capacity, speeds
are bidirectional
Instances also have dedicated Amazon Elastic Block
Store (EBS) volume bandwidth
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network + Storage Throughput
0
10
20
30
40
c3.8xlarge c4.8xlarge c5.18xlarge
Network Storage
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Enhanced Networking Requirements
Instances support either ixgbevf or ENA:
• ixgbevf: C3, C4, D2, I2, M4 (except m4.16xlarge), R3
• ENA: C5, F1, G3, P2, P3, R4, I3, X1, X1e, m4.16xlarge
AMI must support the correct driver version:
• ixgbevf 2.14.2+ or any ENA release
Enable the AMI or instance
• AMI tag OR instance attribute
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instance Enablement
% aws ec2 describe-instance-attribute 
--instance-id i-0ec179afafe026710 
--attribute sriovNetSupport
{
"InstanceId": "i-01286b75ff50326ea",
"SriovNetSupport": {}
}
Not yet!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instance Enablement
% aws ec2 describe-instance-attribute 
--instance-id i-07312ca8e93d69514 
--attribute sriovNetSupport
{
"InstanceId": "i-07312ca8e93d69514",
"SriovNetSupport": {
"Value": "simple”
}
}
ixgbevf
Support!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instance Enablement
% aws ec2 describe-instances
--instance-id i-07a94b1806d6cd309 
--query "Reservations[].Instances[].EnaSupport”
[
true
]
ENA
Support!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AMI Check
• ixgbevf Enhanced Networking:
aws ec2 describe-image-attribute --image-id ami_id 
--attribute sriovNetSupport
• ENA Enhanced Networking:
aws ec2 describe-image-attribute --image-id ami_id 
--attribute enaSupport
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ENA Instance Enablement
1. Start an instance without enhanced networking support
2. Build the ENA kernel driver
3. Build a new AMI or modify the instance
# aws ec2 modify-instance-attribute 
--instance-id instance_id --ena-support
Or
# aws ec2 register-image --ena-support ...
4. Restart/relaunch and enjoy!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PV-XEN
$ ethtool -k eth0
driver: vif
Enhanced Networking
$ ethtool -i eth0
driver: ixgbevf
C3, C4, D2, I2, R3,
M4 (not m4.16XL)
Elastic Network Adapter
$ ethtool -i eth0
driver: ena
C5, F1, G3, P2, P3, R4, I3,
X1, X1e, m4.16xlarge
Verifying Enhanced Networking
https://github.com/amzn/amzn-drivers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Beyond Enhanced Networking with DPDK
Intel Data Plane Development Kit (DPDK) is a set of C
libraries and drivers for fast packet processing
DPDK provides:
• Lower latency due to kernel and TCP stack bypass
• More control of packet processing
• Lower CPU overhead
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data Plane Development Kit (DPDK)
ENA ENA
VF25 Gbps
Virtualization
Layer
Virtualization
Layer
Kernel
App
VF
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data Plane Development Kit (DPDK)
ENA ENA
VF25 Gbps
Virtualization
Layer
Virtualization
Layer
Kernel
App
VF
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data Plane Development Kit (DPDK)
ENA ENA
VF VF25 Gbps
Virtualization
Layer
Virtualization
Layer
Kernel
DPDK
App
The application is developed to use the DPDK libraries
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DPDK on AWS
Supported on Enhanced Networking instances:
• Intel ixgbevf and AWS Elastic Network Adapter (ENA)
DPDK can reduce latency while increasing control of packet processing
• Kernel, TCP stack, and PMD instead of interrupts reduce latency
• DPDK does not change any underlying limits or maximums
Note:
ixgbevf will receive 802.1q tagged frames, which should be stripped. Egress
packets should be untagged. ENA receives and sends untagged frames.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Supercell
• Distributed application with thousands of TCP connections between instances
• Migrated Clash of Clans from EC2 Classic to VPC
• 100% on enhanced networking instances
Internet
Front-end
Proxy Layer
Application
Service Layer
Storage Layer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How Did Supercell Benefit?
• In EC2 Classic, hundreds of servers each with thousands
of TCP connections took 30 minutes to initialize
• With enhanced networking it takes less than 1 minute
• Benefits:
• TCP reliability
• Monitoring
• Database connections
• Message queue depths dramatically smaller
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Getting Players Back In the Game
Network maintenance and
update downtimes are 20
minutes instead 1 hour
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Architectures: Network Performance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sometimes It’s Where You Are
The sources and destinations matter:
• Within a placement group
• Over a VPN connection
• Using AWS Direct Connect
• Using Elastic Load Balancing
• Accessing AWS services such as Amazon S3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Performance
No VPC-specific limits
Availability Zone Availability Zone
No limit for any
Availability Zone or subnet
IGW
No limit for any Internet
Gateway
Bandwidth Limits: NAT Gateway
Each NAT Gateway can
sustain 10 Gbps, and
scales horizontally
beyond 10 Gbps
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Peering Performance
No limit for VPC peering
Availability Zone Availability Zone
Internet Gateway
Bandwidth Limits:
Availability Zone Availability Zone
Internet Gateway
VPC Peering
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Placement Group
Bandwidth Limits
Availability Zone B
Availability Zone A
Amazon S3
Placement Group – 10 Gbps
Everywhere else – 5 Gbps
Flow Limits:
5 Gbps aggregate per instance
25 Gbps
25Gbps
Every Other Traffic Type:
Inter-instance Limits:
25 Gbps within the VPC or peered
VPC
Limits to S3:
25 Gbps to VPC Endpoints and
public IPs in the same Region
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Virtual Private Gateway Performance
~1.25 Gbps aggregate per VPN tunnel
Availability Zone
Internet Gateway
Bandwidth Limits:
Virtual Private
Gateway
Virtual Private Network (VPN)
AWS Direct Connect
AWS Direct Connect is only limited
by physical port speeds
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Virtual Private Gateway Performance
5gbps limit for egress traffic per
instance
Availability Zone
Internet Gateway
Bandwidth Limits:
Virtual Private
Gateway
Virtual Private Network (VPN)
AWS Direct Connect
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer Performance
Auto Scaling Group
Network Load
Balancer
Network Load Balancer
• L4 load balancer
• TCP
• High Performance
• Availability Zone locality
• One IP per Availability Zone
Bandwidth Limits:
Several gigabits of capacity at launch
Scales horizontally
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Distributed load testing (BWMG), executed in a loop
bees attack --url '<NLB>' --number 10000000 --concurrent 100000 –keepalive
Performance graph shows no errors, and content was served fine
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Related Session:
NET304 – Deep Dive into the new Network Load Balancer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Performance Testing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Benefits of Testing
Many potential performance factors:
• Flow location, type, size
• Instance family, type
• Application profile
• Packet sizes, protocols, CPU/memory/disk usage
AWS Recommendation: test it yourself
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Performance Testing: How?
With your application and environment
• Load testing
• Transaction testing
• “Race track numbers”
Benchmark testing
• Scenario testing: intra-VPC, internet traffic, VPN
• Bandwidth, latency, jitter, throughput, packets per second
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Testing Tips
Use multiple flows
#iperf –c 192.168.1.1 –P 10
Try UDP as well
#iperf –c 192.168.1.1 –u –p <port number>
Distributed testing tools
• https://github.com/newsapps/beeswithmachineguns
Network benchmark testing
• https://aws.amazon.com/premiumsupport/knowledge-
center/network-throughput-benchmark-linux-ec2/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Understand latency and TCP dynamics
• Tune and reduce latency
Understand what AWS offers to help
• Enhanced networking, jumbo MTU, instance families
Use the right architecture
• Know the limits, distribute the load
Test it out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Available February 2018
Networking Study Guide
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

Mais conteúdo relacionado

Mais procurados

[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018Amazon Web Services
 
NGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best PracticesNGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best PracticesNGINX, Inc.
 
AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...
AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...
AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...Amazon Web Services
 
Introduction to NGINX web server
Introduction to NGINX web serverIntroduction to NGINX web server
Introduction to NGINX web serverMd Waresul Islam
 
Introduction to the Container Network Interface (CNI)
Introduction to the Container Network Interface (CNI)Introduction to the Container Network Interface (CNI)
Introduction to the Container Network Interface (CNI)Weaveworks
 
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트::  A...실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트::  A...
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...Amazon Web Services Korea
 
[AKIBA.AWS] VPN接続とルーティングの基礎
[AKIBA.AWS] VPN接続とルーティングの基礎[AKIBA.AWS] VPN接続とルーティングの基礎
[AKIBA.AWS] VPN接続とルーティングの基礎Shuji Kikuchi
 
Using eBPF for High-Performance Networking in Cilium
Using eBPF for High-Performance Networking in CiliumUsing eBPF for High-Performance Networking in Cilium
Using eBPF for High-Performance Networking in CiliumScyllaDB
 
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...Amazon Web Services Korea
 
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)Amazon Web Services Korea
 
VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016
VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016
VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016Amazon Web Services Korea
 
How Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for PerformanceHow Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for PerformanceBrendan Gregg
 
Amazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road Ahead
Amazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road AheadAmazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road Ahead
Amazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road Aheadinside-BigData.com
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...Amazon Web Services Korea
 
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating SystemThomas Graf
 

Mais procurados (20)

[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
 
NGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best PracticesNGINX ADC: Basics and Best Practices
NGINX ADC: Basics and Best Practices
 
AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...
AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...
AWS re:Invent 2016: Deep Dive on Amazon EC2 Instances, Featuring Performance ...
 
openstack designate
openstack designateopenstack designate
openstack designate
 
Introduction to NGINX web server
Introduction to NGINX web serverIntroduction to NGINX web server
Introduction to NGINX web server
 
Kubernetes Basics
Kubernetes BasicsKubernetes Basics
Kubernetes Basics
 
Introduction to the Container Network Interface (CNI)
Introduction to the Container Network Interface (CNI)Introduction to the Container Network Interface (CNI)
Introduction to the Container Network Interface (CNI)
 
GitOps w/argocd
GitOps w/argocdGitOps w/argocd
GitOps w/argocd
 
AWS WAF
AWS WAFAWS WAF
AWS WAF
 
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트::  A...실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트::  A...
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
 
[AKIBA.AWS] VPN接続とルーティングの基礎
[AKIBA.AWS] VPN接続とルーティングの基礎[AKIBA.AWS] VPN接続とルーティングの基礎
[AKIBA.AWS] VPN接続とルーティングの基礎
 
Using eBPF for High-Performance Networking in Cilium
Using eBPF for High-Performance Networking in CiliumUsing eBPF for High-Performance Networking in Cilium
Using eBPF for High-Performance Networking in Cilium
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
 
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
 
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
 
VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016
VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016
VPC를 위한 Hybrid 클라우드 보안 :: 김민석 :: AWS Summit Seoul 2016
 
How Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for PerformanceHow Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for Performance
 
Amazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road Ahead
Amazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road AheadAmazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road Ahead
Amazon Elastic Fabric Adapter: Anatomy, Capabilities, and the Road Ahead
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
 
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
 

Semelhante a CMP315_Optimizing Network Performance for Amazon EC2 Instances

Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...Amazon Web Services
 
TLC303_Walkthrough Setting up a Highly Available Communications Platform on AWS
TLC303_Walkthrough Setting up a Highly Available Communications Platform on AWSTLC303_Walkthrough Setting up a Highly Available Communications Platform on AWS
TLC303_Walkthrough Setting up a Highly Available Communications Platform on AWSAmazon Web Services
 
Randall's re:Invent Recap
Randall's re:Invent RecapRandall's re:Invent Recap
Randall's re:Invent RecapRandall Hunt
 
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Amazon Web Services
 
AWSome Day Online Conference 2018 - Module 2
AWSome Day Online Conference 2018 -  Module 2AWSome Day Online Conference 2018 -  Module 2
AWSome Day Online Conference 2018 - Module 2Amazon Web Services
 
AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...
AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...
AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...Amazon Web Services
 
Deep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech Talks
Deep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech TalksDeep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech Talks
Deep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech TalksAmazon Web Services
 
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdfAWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdfAmazon Web Services
 
Amazon EC2 Foundations - CMP203 - re:Invent 2017
Amazon EC2 Foundations - CMP203 - re:Invent 2017Amazon EC2 Foundations - CMP203 - re:Invent 2017
Amazon EC2 Foundations - CMP203 - re:Invent 2017Amazon Web Services
 
Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017
Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017
Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017Amazon Web Services
 
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017Amazon Web Services
 
What would You do with a Million cores? HPC on AWS
What would You do with a Million cores? HPC on AWSWhat would You do with a Million cores? HPC on AWS
What would You do with a Million cores? HPC on AWSAmazon Web Services
 
Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018
Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018
Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018Amazon Web Services
 
CMP207_High Performance Computing on AWS
CMP207_High Performance Computing on AWSCMP207_High Performance Computing on AWS
CMP207_High Performance Computing on AWSAmazon Web Services
 
Computação de Alta Performance (HPC) na AWS - CMP201 - Sao Paulo Summit
Computação de Alta Performance (HPC) na AWS -  CMP201 - Sao Paulo SummitComputação de Alta Performance (HPC) na AWS -  CMP201 - Sao Paulo Summit
Computação de Alta Performance (HPC) na AWS - CMP201 - Sao Paulo SummitAmazon Web Services
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Amazon Web Services
 
Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...
Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...
Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...Amazon Web Services
 

Semelhante a CMP315_Optimizing Network Performance for Amazon EC2 Instances (20)

Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
 
TLC303_Walkthrough Setting up a Highly Available Communications Platform on AWS
TLC303_Walkthrough Setting up a Highly Available Communications Platform on AWSTLC303_Walkthrough Setting up a Highly Available Communications Platform on AWS
TLC303_Walkthrough Setting up a Highly Available Communications Platform on AWS
 
Randall's re:Invent Recap
Randall's re:Invent RecapRandall's re:Invent Recap
Randall's re:Invent Recap
 
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
 
AWSome Day Online Conference 2018 - Module 2
AWSome Day Online Conference 2018 -  Module 2AWSome Day Online Conference 2018 -  Module 2
AWSome Day Online Conference 2018 - Module 2
 
AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...
AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...
AWS re:Invent 2016: Optimizing Network Performance for Amazon EC2 Instances (...
 
Deep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech Talks
Deep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech TalksDeep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech Talks
Deep Dive on Amazon EC2 Accelerated Computing - AWS Online Tech Talks
 
Deep dive into AWS fargate
Deep dive into AWS fargateDeep dive into AWS fargate
Deep dive into AWS fargate
 
Kubernetes on AWS
Kubernetes on AWSKubernetes on AWS
Kubernetes on AWS
 
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdfAWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
 
Amazon EC2 Foundations - CMP203 - re:Invent 2017
Amazon EC2 Foundations - CMP203 - re:Invent 2017Amazon EC2 Foundations - CMP203 - re:Invent 2017
Amazon EC2 Foundations - CMP203 - re:Invent 2017
 
Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017
Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017
Deep Learning Using Caffe2 on AWS - MCL313 - re:Invent 2017
 
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
 
What would You do with a Million cores? HPC on AWS
What would You do with a Million cores? HPC on AWSWhat would You do with a Million cores? HPC on AWS
What would You do with a Million cores? HPC on AWS
 
Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018
Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018
Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018
 
CMP207_High Performance Computing on AWS
CMP207_High Performance Computing on AWSCMP207_High Performance Computing on AWS
CMP207_High Performance Computing on AWS
 
EC2 Foundations - Laura Thomson
EC2 Foundations - Laura ThomsonEC2 Foundations - Laura Thomson
EC2 Foundations - Laura Thomson
 
Computação de Alta Performance (HPC) na AWS - CMP201 - Sao Paulo Summit
Computação de Alta Performance (HPC) na AWS -  CMP201 - Sao Paulo SummitComputação de Alta Performance (HPC) na AWS -  CMP201 - Sao Paulo Summit
Computação de Alta Performance (HPC) na AWS - CMP201 - Sao Paulo Summit
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319
 
Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...
Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...
Introducing Amazon EC2 P3 Instance - Featuring the Most Powerful GPU for Mach...
 

Mais 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
 

Mais 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
 

CMP315_Optimizing Network Performance for Amazon EC2 Instances

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Optimizing Network Performance for Amazon EC2 Instances N i c k M a t t h e w s , P a r t n e r S o l u t i o n s A r c h i t e c t V i s h v e s h S a h a s r a b u d h e , E C 2 P r o d u c t M a n a g e r N o v e m b e r 2 8 , 2 0 1 7 C M P 3 1 5 AWS re:INVENT
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Performance Packets in Packets out ?
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Performance: Let’s Look Packets in Packets out ?
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What to Expect • Performance Concepts • Operating system tweaks • Networking Performance Features • Enhanced networking • EC2 features • Architectural Performance • Network location • Load balancing • Testing
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Performance Concepts
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Basic Concepts Bandwidth Latency Throughput Jitter
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bandwidth Delay Product 10 Gbps 500 milliseconds Data
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bandwidth Delay Product 10 Gbps 500 milliseconds 1 second RTT ACK (To make math easy)
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Data DataData Bandwidth Delay Product 10 Gbps 1 second RTT Bandwidth per second = How much data is sent in one round trip 1. Larger packets (MTU) 2. Send more packets (TCP window size)
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TCP and Latency Latency really matters for: • Cross-Region connectivity • Instance-to-Instance for clustering (HPC) • Elasticache, memcached Tuning: • TCP tuning • Set larger MTUs • Increase network efficiency Making friends with physics: • AWS Region choice: 10’s of ms • Availability Zone affinity: milliseconds • Placement groups: <1 ms
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Examples of TCP Tuning TCP receive window: sysctl net.ipv4.tcp_rmem Initial congestion window: ip route change 10.16.16.0/24 dev eth0 proto kernel scope link initcwnd 16 TCP congestion control algorithms: net.ipv4.tcp_available_congestion_control TCP retransmission timer: ip route change 10.16.16.0/24 dev eth0 proto kernel scope link rto_min 50ms From this session: NET401 – Making Every Packet Count
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Other Related Performance Sessions CMP207 – High Performance Computing on AWS CMP301 – Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization Best Practices
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Packets per Second (PPS) and Maximum Transmission Unit (MTU) Each packet has processing overhead • Small packets such as real time systems or transactions Large packets increase the overall performance • Jumbo MTU of 9001 available within VPC or VPC peers 1448 B Payload 8949 B Payload Jumbo MTUs increase the usable data per packet
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Network Performance Features
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS networking • Higher performance with larger EC2 instance sizes Enhanced Networking • Over 1M PPS performance • Reduces instance-to-instance latencies • Support SR-IOV with PCIe passthrough, to get the hypervisor out of the way and for consistent performance • Intel ixgbvef and Amazon EC2 Elastic Network Adapter (ENA) Networking on AWS
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Enhanced Networking
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Enhanced Networking Virtualization Layer HW NIC Virtualization Layer HW NIC Xen-PV Xen-PV
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Enhanced Networking HW NIC HW NIC VF VF Intel ixgbevf Intel ixgbevf 10 Gbps Virtualization Layer Virtualization Layer
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Elastic Network Adapter ENA ENA VF VF 20 Gbps 25 Gbps Virtualization Layer Virtualization Layer
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ENA Driver Capabilities • Future proof: support for up to 400 Gbps • Increased queues per device • Lower latency and jitter • Broad Operating System AMI support • Linux—Amazon Linux, RHEL 7.4, SLES 12, Ubuntu 14.04, 16.04, CentOS 7 (1711), and in the Linux kernel since 4.9 • Windows Server 2008 R2, 2012, 2012 R2, 2016 • FreeBSD 11 • DPDK support starting in 16.04, PMD support • Open Source: https://github.com/amzn/amzn-drivers
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Enhanced Networking Latency Improvements (RTT) 0 50 100 150 200 250 300 tp50 tp99 cc2.8xlarge c3.8xlarge c4.8xlarge c5.18xlarge
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Throughput 25G across all ENA i nstance typ e s, in all R e g ions 0 5000 10000 15000 20000 25000 30000 96 128 256 512 1024 2048 4096 8192 Mbps TCP Packet Size c3.8xlarge C4.8xlarge C5.18xlarge single-stream C5.18xlarge multi-stream
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Performance New instance types (C5, I3, P3, R4) with higher performance Smaller instances can have up to 10 Gbps network performance Larger instances have dedicated 10 or 25 Gbps Instance size impacts the total network capacity, speeds are bidirectional Instances also have dedicated Amazon Elastic Block Store (EBS) volume bandwidth
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network + Storage Throughput 0 10 20 30 40 c3.8xlarge c4.8xlarge c5.18xlarge Network Storage
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Enhanced Networking Requirements Instances support either ixgbevf or ENA: • ixgbevf: C3, C4, D2, I2, M4 (except m4.16xlarge), R3 • ENA: C5, F1, G3, P2, P3, R4, I3, X1, X1e, m4.16xlarge AMI must support the correct driver version: • ixgbevf 2.14.2+ or any ENA release Enable the AMI or instance • AMI tag OR instance attribute
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instance Enablement % aws ec2 describe-instance-attribute --instance-id i-0ec179afafe026710 --attribute sriovNetSupport { "InstanceId": "i-01286b75ff50326ea", "SriovNetSupport": {} } Not yet!
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instance Enablement % aws ec2 describe-instance-attribute --instance-id i-07312ca8e93d69514 --attribute sriovNetSupport { "InstanceId": "i-07312ca8e93d69514", "SriovNetSupport": { "Value": "simple” } } ixgbevf Support!
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instance Enablement % aws ec2 describe-instances --instance-id i-07a94b1806d6cd309 --query "Reservations[].Instances[].EnaSupport” [ true ] ENA Support!
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AMI Check • ixgbevf Enhanced Networking: aws ec2 describe-image-attribute --image-id ami_id --attribute sriovNetSupport • ENA Enhanced Networking: aws ec2 describe-image-attribute --image-id ami_id --attribute enaSupport
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ENA Instance Enablement 1. Start an instance without enhanced networking support 2. Build the ENA kernel driver 3. Build a new AMI or modify the instance # aws ec2 modify-instance-attribute --instance-id instance_id --ena-support Or # aws ec2 register-image --ena-support ... 4. Restart/relaunch and enjoy!
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PV-XEN $ ethtool -k eth0 driver: vif Enhanced Networking $ ethtool -i eth0 driver: ixgbevf C3, C4, D2, I2, R3, M4 (not m4.16XL) Elastic Network Adapter $ ethtool -i eth0 driver: ena C5, F1, G3, P2, P3, R4, I3, X1, X1e, m4.16xlarge Verifying Enhanced Networking https://github.com/amzn/amzn-drivers
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Beyond Enhanced Networking with DPDK Intel Data Plane Development Kit (DPDK) is a set of C libraries and drivers for fast packet processing DPDK provides: • Lower latency due to kernel and TCP stack bypass • More control of packet processing • Lower CPU overhead
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Plane Development Kit (DPDK) ENA ENA VF25 Gbps Virtualization Layer Virtualization Layer Kernel App VF
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Plane Development Kit (DPDK) ENA ENA VF25 Gbps Virtualization Layer Virtualization Layer Kernel App VF
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Plane Development Kit (DPDK) ENA ENA VF VF25 Gbps Virtualization Layer Virtualization Layer Kernel DPDK App The application is developed to use the DPDK libraries
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DPDK on AWS Supported on Enhanced Networking instances: • Intel ixgbevf and AWS Elastic Network Adapter (ENA) DPDK can reduce latency while increasing control of packet processing • Kernel, TCP stack, and PMD instead of interrupts reduce latency • DPDK does not change any underlying limits or maximums Note: ixgbevf will receive 802.1q tagged frames, which should be stripped. Egress packets should be untagged. ENA receives and sends untagged frames.
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Supercell • Distributed application with thousands of TCP connections between instances • Migrated Clash of Clans from EC2 Classic to VPC • 100% on enhanced networking instances Internet Front-end Proxy Layer Application Service Layer Storage Layer
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How Did Supercell Benefit? • In EC2 Classic, hundreds of servers each with thousands of TCP connections took 30 minutes to initialize • With enhanced networking it takes less than 1 minute • Benefits: • TCP reliability • Monitoring • Database connections • Message queue depths dramatically smaller
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Getting Players Back In the Game Network maintenance and update downtimes are 20 minutes instead 1 hour
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Architectures: Network Performance
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sometimes It’s Where You Are The sources and destinations matter: • Within a placement group • Over a VPN connection • Using AWS Direct Connect • Using Elastic Load Balancing • Accessing AWS services such as Amazon S3
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Performance No VPC-specific limits Availability Zone Availability Zone No limit for any Availability Zone or subnet IGW No limit for any Internet Gateway Bandwidth Limits: NAT Gateway Each NAT Gateway can sustain 10 Gbps, and scales horizontally beyond 10 Gbps
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Peering Performance No limit for VPC peering Availability Zone Availability Zone Internet Gateway Bandwidth Limits: Availability Zone Availability Zone Internet Gateway VPC Peering
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Placement Group Bandwidth Limits Availability Zone B Availability Zone A Amazon S3 Placement Group – 10 Gbps Everywhere else – 5 Gbps Flow Limits: 5 Gbps aggregate per instance 25 Gbps 25Gbps Every Other Traffic Type: Inter-instance Limits: 25 Gbps within the VPC or peered VPC Limits to S3: 25 Gbps to VPC Endpoints and public IPs in the same Region
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Virtual Private Gateway Performance ~1.25 Gbps aggregate per VPN tunnel Availability Zone Internet Gateway Bandwidth Limits: Virtual Private Gateway Virtual Private Network (VPN) AWS Direct Connect AWS Direct Connect is only limited by physical port speeds
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Virtual Private Gateway Performance 5gbps limit for egress traffic per instance Availability Zone Internet Gateway Bandwidth Limits: Virtual Private Gateway Virtual Private Network (VPN) AWS Direct Connect
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer Performance Auto Scaling Group Network Load Balancer Network Load Balancer • L4 load balancer • TCP • High Performance • Availability Zone locality • One IP per Availability Zone Bandwidth Limits: Several gigabits of capacity at launch Scales horizontally
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Distributed load testing (BWMG), executed in a loop bees attack --url '<NLB>' --number 10000000 --concurrent 100000 –keepalive Performance graph shows no errors, and content was served fine
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Related Session: NET304 – Deep Dive into the new Network Load Balancer
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Performance Testing
  • 51. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Benefits of Testing Many potential performance factors: • Flow location, type, size • Instance family, type • Application profile • Packet sizes, protocols, CPU/memory/disk usage AWS Recommendation: test it yourself
  • 52. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Performance Testing: How? With your application and environment • Load testing • Transaction testing • “Race track numbers” Benchmark testing • Scenario testing: intra-VPC, internet traffic, VPN • Bandwidth, latency, jitter, throughput, packets per second
  • 53. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Testing Tips Use multiple flows #iperf –c 192.168.1.1 –P 10 Try UDP as well #iperf –c 192.168.1.1 –u –p <port number> Distributed testing tools • https://github.com/newsapps/beeswithmachineguns Network benchmark testing • https://aws.amazon.com/premiumsupport/knowledge- center/network-throughput-benchmark-linux-ec2/
  • 54. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Understand latency and TCP dynamics • Tune and reduce latency Understand what AWS offers to help • Enhanced networking, jumbo MTU, instance families Use the right architecture • Know the limits, distribute the load Test it out
  • 55. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Available February 2018 Networking Study Guide
  • 56. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!