SlideShare a Scribd company logo
1 of 39
Download to read offline
Getting Started with AWS EC2.
From Zero to Hero
13 April 2016
George Yanev
Telerik, a Progress Company
DevOps Engineer
About Me
● Started as System Administrator with passion for Open Source. First distro
Slackware.
● Few years ago get interested in coding and as Open Source enthusiast and System
Administrator picked Python.
● Moved to DevOps as it match my believe that if you love what you do, you will find
ways to do it better.
What to expect
● Introduction to EC2.
● Go beyond the introduction in some areas like Xen, Burstable instances,
Instance type, Enhanced networking
● Dive in the Price Options
History
Started in 25 August 2006 in BETA with m1.small instance
Interesting facts:
- m1.small instance from 2006 was 2.27 times more expensive than today
- No persistent storage until 20 August 2008 when EBS was introduced
- Only Linux
- No AWS Management Console
- No Auto Scaling
Let’s talk a little bit about the Hardware
● Data centers
● Racks
● Servers
● Networking
● Data storage
Hardware
● Rack ● Switch
Virtualization
● Hypervisor type is XEN ● Curious facts
○ Operating System is probably RedHat
based
○ Different XEN version in the same region
EC2 Hypervisor guests types
● HVM (Hardware Virtual Machine a.k.a Hardware-assisted virtualization)
● PV (Paravirtualization)
HVM
● Guest system doesn’t know it has been virtualized
● By default slower than PV in I/O scenarios (not true anymore)
● Depends on the Hardware (Intel - VT, AMD - AMD-V)
● Secure Hardware isolation
HVM Speed
HVM is currently at least on par as performance goes with PV thanks to:
● New hardware extensions: SR-IOV
● Xen improvements
● Kernel host improvements - vector callbacks, MSI remapping, interrupt
remapping
● PV drivers - storage drivers, network drivers
EC2 Hypervisor guests pros
● HVM (Hardware Virtual Machine a.k.a Hardware-assisted virtualization)
○ Bursty CPU Loads.
○ High Memory Instances.
○ Enhanced Networking Instances.
● PV (Paravirtualization)
○ None
If you like benchmarks: http://www.phoronix.com/scan.php?
page=article&item=amazon_ec2_pvhvm&num=1
EC2 Instance type
Instance family
● T, M - General purpose
● C - Compute optimized
● R - Memory optimized
● I, D - Storage optimized
● G - GPU instances
Instance generation
● Each new generation add feature, boost performance. If you are unsure which
generation to use, choose the latest.
Instance size
● Starting from nano reaching out to 8xlarge (and the monster X1 SAP HANA)
● http://www.ec2instances.info/
Instance types
● Next dozen of slides will try to explain
○ The different Instance types
○ Which role suits each Instance type
○ Instance types key facts
vCPU
● What exactly AWS means by vCPU?
Each vCPU is a hyperthread of an Intel Xeon core. In general, one vCPU more-or-less correlates to half a
physical core.
T2 (Burstable Performance Instances)
● Features
○ High Frequency Intel Xeon Processors with Turbo up to 3.3GHz
○ Burstable CPU, governed by CPU Credits, and consistent baseline performance
○ Lowest-cost general purpose instance type, and Free Tier eligible (t2.micro only)
○ Balance of compute, memory, and network resources
Burstable Performance Instances
● Burstable Performance Instances provide a baseline level of CPU
performance with the ability to burst above the baseline.
Burstable Performance Instances #2
● Understand how credit works
M4 (General Purpose Instances)
● Features
○ 2.4 GHz Intel Xeon® E5-2676 v3 (Haswell) processors.
○ EBS-optimized by default at no additional cost.
○ Support for Enhanced Networking.
○ Balance of compute, memory, and network resources.
● No local storage, only EBS.
● Probably the most versatile Instances.
● Fixed Performance Instances as opposed to the T2 instances.
EBS
● General Purpose SSD volumes.
● Provisioned IOPS SSD volumes.
● EBS Magnetic volumes.
● Snapshot capabilities.
● Bound to a specific Availability Zone.
● Not bound to the current instance.
General Purpose SSD volume
● Speed and credit accumulation depends on the volume size
● Initial I/O credit balance is 5 400 000. This is enough to sustain 30minutes of
maximum burst.
EBS Optimized
● Free and enabled by default for M4, C4 and D2 Instances.
● Paying a fee if your instance is not M4, C4 or D2: http://aws.amazon.
com/ec2/pricing/#EBS-Optimized_Instances
● Dedicated throughput between the EC2 Instance and Amazon EBS.
Throughput Max 16K IOPS Max bandwidth (MB/s)
450 Mbps 3,600 56.25
M4.large EBS max performance
Enhanced Networking
● What is Enhanced Networking?
● How it’s working?
Enhanced Networking #2
● Do you need it?
In few words: probably not but depends on your usage.
Benchmarks: http://blogs.scalablelogic.com/2013/12/enhanced-networking-in-aws-
cloud.html
Enhanced Networking #3
● Requirements
○ Instances of the following type: C4, C3, R3, I2, M4, and D2
○ HVM AMI
○ Launch in VPC
○ Linux kernel module ixgbevf, minimum recommended version 2.14.2
● How-to enable it: http://docs.aws.amazon.
com/AWSEC2/latest/UserGuide/enhanced-networking.html#test-enhanced-
networking
M3 (General Purpose Instances)
● Compare to the M4
○ No EBS Optimized by default.
○ Has a SSD-based instance storage for fast I/O performance.
○ Lack enhanced networking.
○ More expensive than M4
C4 (Compute Optimized Instances)
● Features
○ High frequency Intel Xeon E5-2666 v3 (Haswell) processors optimized specifically for EC2
○ EBS-optimized
○ Ability to control processor C-state and P-state configuration on the c4.8xlarge instance type
○ Support for Enhanced Networking and Clustering
C3 (Compute Optimized Instances)
● Compare to the C4
○ No EBS Optimized by default.
○ Has a SSD-based instance storage for fast I/O performance.
○ Lack enhanced networking.
○ More expensive than M4
R3 (Memory Optimized Instances)
● Features
○ High Frequency Intel Xeon E5-2670 v2 (Ivy Bridge) Processors
○ Lowest price point per GiB of RAM
○ SSD Storage
○ Support for Enhanced Networking
Hint: EBS Optimized is not enabled by default
Good for NoSQL databases like MongoDB, Distributed memory cache.
I2 (High I/O Optimized Instances)
● Features
○ High Frequency Intel Xeon E5-2670 v2 (Ivy Bridge) Processors
○ SSD Storage
○ Support for TRIM
○ Support for Enhanced Networking
○ High Random I/O performance
Purchasing Options
● First thing first. This site is a must: http://www.ec2instances.info/ while calculating
the price.
● Three ways to pay for EC2 Instances
○ On-Demand
○ Reserved
○ Spot Instances
On-Demand Instances
● Key features:
○ Pay by the hour
○ Without any up-front payment or long-term commitment
○ Increase/Decrease compute capacity at will
Reserved Instances
● Key features:
○ Significant discount (up to 75%) compared to On-Demand instances.
○ Always available for the Operating System and Availability zone in which you purchased it.
○ If you don’t use it you lose money as you’ve already prepaid for it.
○ Somewhat hard to change or in some instances impossible to change. As example you can't
move it in a different region.
○ You can sell it
Spot Instances
● Key features:
○ Usually lower hourly rates than On-Demand instances.
○ No upfront commitment (same as On-Demand instances).
○ You bid for the Spot Instances (they are AWS spare resource).
○ They will be shutdown if the current price is above the maximum you have specified.
Recap: Getting most of this presentation
● Use HVM AMI
● Use in the beginning On-Demand instances. They are flexible and you are paying
only for each started hour.
● Choose instance By-Resource Approach
● Start with smaller instances and change with bigger if needed. Change instance
type is cheap (stop/change/start) as long as you are using EBS and and the
instance will not be moved to different Availability Zone.
● http://www.ec2instances.info/
Q&A
Thanks for your time!
http://www.meetup.com/AWS-Bulgaria/
george.yanev@telerik.com
#awsbulgaria

More Related Content

What's hot

(NET302) Delivering a DBaaS Using Advanced AWS Networking
(NET302) Delivering a DBaaS Using Advanced AWS Networking(NET302) Delivering a DBaaS Using Advanced AWS Networking
(NET302) Delivering a DBaaS Using Advanced AWS NetworkingAmazon Web Services
 
Creating Your Virtual Data Center: VPC Fundamentals and Connectivity Options
Creating Your Virtual Data Center: VPC Fundamentals and Connectivity OptionsCreating Your Virtual Data Center: VPC Fundamentals and Connectivity Options
Creating Your Virtual Data Center: VPC Fundamentals and Connectivity OptionsAmazon Web Services
 
Advanced Task Scheduling with Amazon ECS
Advanced Task Scheduling with Amazon ECSAdvanced Task Scheduling with Amazon ECS
Advanced Task Scheduling with Amazon ECSJulien SIMON
 
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesIntro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesAmazon Web Services
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Designguestd0b61e
 
Don't think about the difficulty Let's try to connect easy to IPv6 network w...
 Don't think about the difficulty Let's try to connect easy to IPv6 network w... Don't think about the difficulty Let's try to connect easy to IPv6 network w...
Don't think about the difficulty Let's try to connect easy to IPv6 network w...Namba Kazuo
 
Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceAmazon Web Services
 
Get the Most Bang for Your Buck with #EC2 #WINNING
Get the Most Bang for Your Buck with #EC2 #WINNINGGet the Most Bang for Your Buck with #EC2 #WINNING
Get the Most Bang for Your Buck with #EC2 #WINNINGAmazon Web Services
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)Amazon Web Services
 
AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...
AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...
AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...Amazon Web Services
 
Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)Julien SIMON
 
Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017
Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017
Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017Amazon Web Services
 
AWS Virtual Private Cloud
AWS Virtual Private CloudAWS Virtual Private Cloud
AWS Virtual Private CloudMahesh Raj
 
Serverless applications
Serverless applicationsServerless applications
Serverless applicationsmbaric
 

What's hot (20)

(NET302) Delivering a DBaaS Using Advanced AWS Networking
(NET302) Delivering a DBaaS Using Advanced AWS Networking(NET302) Delivering a DBaaS Using Advanced AWS Networking
(NET302) Delivering a DBaaS Using Advanced AWS Networking
 
Creating Your Virtual Data Center: VPC Fundamentals and Connectivity Options
Creating Your Virtual Data Center: VPC Fundamentals and Connectivity OptionsCreating Your Virtual Data Center: VPC Fundamentals and Connectivity Options
Creating Your Virtual Data Center: VPC Fundamentals and Connectivity Options
 
AWS EC2 Fundametals
AWS EC2 FundametalsAWS EC2 Fundametals
AWS EC2 Fundametals
 
Advanced Task Scheduling with Amazon ECS
Advanced Task Scheduling with Amazon ECSAdvanced Task Scheduling with Amazon ECS
Advanced Task Scheduling with Amazon ECS
 
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesIntro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Design
 
Comenzando com la nube hibrida
Comenzando com la nube hibrida Comenzando com la nube hibrida
Comenzando com la nube hibrida
 
EC2 and S3 Level 100
EC2 and S3 Level 100EC2 and S3 Level 100
EC2 and S3 Level 100
 
Don't think about the difficulty Let's try to connect easy to IPv6 network w...
 Don't think about the difficulty Let's try to connect easy to IPv6 network w... Don't think about the difficulty Let's try to connect easy to IPv6 network w...
Don't think about the difficulty Let's try to connect easy to IPv6 network w...
 
Deep Dive on Amazon EC2
Deep Dive on Amazon EC2Deep Dive on Amazon EC2
Deep Dive on Amazon EC2
 
Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance Performance
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Get the Most Bang for Your Buck with #EC2 #WINNING
Get the Most Bang for Your Buck with #EC2 #WINNINGGet the Most Bang for Your Buck with #EC2 #WINNING
Get the Most Bang for Your Buck with #EC2 #WINNING
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
 
AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...
AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...
AWS re:Invent 2016: How to Migrate Microsoft Windows Applications to AWS Quic...
 
Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)
 
Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017
Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017
Deep Dive on Amazon EC2 Instances - AWS Summit Cape Town 2017
 
AWS Virtual Private Cloud
AWS Virtual Private CloudAWS Virtual Private Cloud
AWS Virtual Private Cloud
 
AWS EC2
AWS EC2AWS EC2
AWS EC2
 
Serverless applications
Serverless applicationsServerless applications
Serverless applications
 

Viewers also liked

零到千万可扩展架构 AWS Architecture Overview
零到千万可扩展架构 AWS Architecture Overview零到千万可扩展架构 AWS Architecture Overview
零到千万可扩展架构 AWS Architecture OverviewLeon Li
 
Amazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk IntroductionAmazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk IntroductionAmazon Web Services
 
OpsStack--Integrated Operation Platform
OpsStack--Integrated Operation PlatformOpsStack--Integrated Operation Platform
OpsStack--Integrated Operation PlatformChinaNetCloud
 
Ovn vancouver
Ovn vancouverOvn vancouver
Ovn vancouverMason Mei
 
如何規劃與執行大型資料中心遷移和案例分享
如何規劃與執行大型資料中心遷移和案例分享如何規劃與執行大型資料中心遷移和案例分享
如何規劃與執行大型資料中心遷移和案例分享Amazon Web Services
 
AWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesAWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesChinaNetCloud
 
初探 AWS 平台上的 Docker 服務
初探 AWS 平台上的 Docker 服務初探 AWS 平台上的 Docker 服務
初探 AWS 平台上的 Docker 服務Amazon Web Services
 
2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管
2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管
2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管ChiaHsien Lee
 
基于Aws的dev ops实践指南 王毅
基于Aws的dev ops实践指南 王毅基于Aws的dev ops实践指南 王毅
基于Aws的dev ops实践指南 王毅Mason Mei
 
基于AWS Lambda的无服务器架构在Strikingly中的应用
基于AWS Lambda的无服务器架构在Strikingly中的应用基于AWS Lambda的无服务器架构在Strikingly中的应用
基于AWS Lambda的无服务器架构在Strikingly中的应用Daniel Gong
 
AWS電商和零售業解決方案介紹
AWS電商和零售業解決方案介紹AWS電商和零售業解決方案介紹
AWS電商和零售業解決方案介紹Amazon Web Services
 
初探AWS 平台上的 NoSQL 雲端資料庫服務
初探AWS 平台上的 NoSQL 雲端資料庫服務初探AWS 平台上的 NoSQL 雲端資料庫服務
初探AWS 平台上的 NoSQL 雲端資料庫服務Amazon Web Services
 
Aws summit devops 云端多环境自动化运维和部署
Aws summit devops   云端多环境自动化运维和部署Aws summit devops   云端多环境自动化运维和部署
Aws summit devops 云端多环境自动化运维和部署Leon Li
 
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲ChinaNetCloud
 
Automate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeployAutomate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeployAmazon Web Services
 
無伺服器架構和Containers on AWS入門
無伺服器架構和Containers on AWS入門 無伺服器架構和Containers on AWS入門
無伺服器架構和Containers on AWS入門 Amazon Web Services
 
管理程式對AWS LAMBDA持續交付
管理程式對AWS LAMBDA持續交付管理程式對AWS LAMBDA持續交付
管理程式對AWS LAMBDA持續交付Amazon Web Services
 
基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻Mason Mei
 
客戶導入雲端的經驗分享 [Panel Discussion]
客戶導入雲端的經驗分享 [Panel Discussion]客戶導入雲端的經驗分享 [Panel Discussion]
客戶導入雲端的經驗分享 [Panel Discussion]Amazon Web Services
 
使用Amazon Machine Learning 建立即時推薦引擎
使用Amazon Machine Learning 建立即時推薦引擎使用Amazon Machine Learning 建立即時推薦引擎
使用Amazon Machine Learning 建立即時推薦引擎Amazon Web Services
 

Viewers also liked (20)

零到千万可扩展架构 AWS Architecture Overview
零到千万可扩展架构 AWS Architecture Overview零到千万可扩展架构 AWS Architecture Overview
零到千万可扩展架构 AWS Architecture Overview
 
Amazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk IntroductionAmazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk Introduction
 
OpsStack--Integrated Operation Platform
OpsStack--Integrated Operation PlatformOpsStack--Integrated Operation Platform
OpsStack--Integrated Operation Platform
 
Ovn vancouver
Ovn vancouverOvn vancouver
Ovn vancouver
 
如何規劃與執行大型資料中心遷移和案例分享
如何規劃與執行大型資料中心遷移和案例分享如何規劃與執行大型資料中心遷移和案例分享
如何規劃與執行大型資料中心遷移和案例分享
 
AWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesAWS ELB Tips & Best Practices
AWS ELB Tips & Best Practices
 
初探 AWS 平台上的 Docker 服務
初探 AWS 平台上的 Docker 服務初探 AWS 平台上的 Docker 服務
初探 AWS 平台上的 Docker 服務
 
2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管
2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管
2016 AWS Summit TPE - Hiiir 如何透過 AWS IAM 做好雲端權限控管
 
基于Aws的dev ops实践指南 王毅
基于Aws的dev ops实践指南 王毅基于Aws的dev ops实践指南 王毅
基于Aws的dev ops实践指南 王毅
 
基于AWS Lambda的无服务器架构在Strikingly中的应用
基于AWS Lambda的无服务器架构在Strikingly中的应用基于AWS Lambda的无服务器架构在Strikingly中的应用
基于AWS Lambda的无服务器架构在Strikingly中的应用
 
AWS電商和零售業解決方案介紹
AWS電商和零售業解決方案介紹AWS電商和零售業解決方案介紹
AWS電商和零售業解決方案介紹
 
初探AWS 平台上的 NoSQL 雲端資料庫服務
初探AWS 平台上的 NoSQL 雲端資料庫服務初探AWS 平台上的 NoSQL 雲端資料庫服務
初探AWS 平台上的 NoSQL 雲端資料庫服務
 
Aws summit devops 云端多环境自动化运维和部署
Aws summit devops   云端多环境自动化运维和部署Aws summit devops   云端多环境自动化运维和部署
Aws summit devops 云端多环境自动化运维和部署
 
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
 
Automate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeployAutomate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeploy
 
無伺服器架構和Containers on AWS入門
無伺服器架構和Containers on AWS入門 無伺服器架構和Containers on AWS入門
無伺服器架構和Containers on AWS入門
 
管理程式對AWS LAMBDA持續交付
管理程式對AWS LAMBDA持續交付管理程式對AWS LAMBDA持續交付
管理程式對AWS LAMBDA持續交付
 
基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻
 
客戶導入雲端的經驗分享 [Panel Discussion]
客戶導入雲端的經驗分享 [Panel Discussion]客戶導入雲端的經驗分享 [Panel Discussion]
客戶導入雲端的經驗分享 [Panel Discussion]
 
使用Amazon Machine Learning 建立即時推薦引擎
使用Amazon Machine Learning 建立即時推薦引擎使用Amazon Machine Learning 建立即時推薦引擎
使用Amazon Machine Learning 建立即時推薦引擎
 

Similar to Getting Started with AWS EC2. From Zero to Hero

Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceAmazon Web Services
 
20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWSAmazon Web Services Korea
 
AWS Summit Bogotá Track Avanzado: EC2 avanzado
AWS Summit Bogotá Track Avanzado: EC2 avanzadoAWS Summit Bogotá Track Avanzado: EC2 avanzado
AWS Summit Bogotá Track Avanzado: EC2 avanzadoAmazon Web Services
 
Amazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best PracticesAmazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best PracticesAmazon Web Services
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep DiveAmazon Web Services
 
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Amazon Web Services
 
Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceAmazon Web Services
 
Running BSD on AWS
Running BSD on AWSRunning BSD on AWS
Running BSD on AWSJulien SIMON
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVMAchieving the ultimate performance with KVM
Achieving the ultimate performance with KVMStorPool Storage
 
PostgreSQL on AWS: Tips & Tricks (and horror stories)
PostgreSQL on AWS: Tips & Tricks (and horror stories)PostgreSQL on AWS: Tips & Tricks (and horror stories)
PostgreSQL on AWS: Tips & Tricks (and horror stories)Alexander Kukushkin
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Amazon Web Services
 
Benchmarking your cloud performance with top 4 global public clouds
Benchmarking your cloud performance with top 4 global public cloudsBenchmarking your cloud performance with top 4 global public clouds
Benchmarking your cloud performance with top 4 global public cloudsdata://disrupted®
 
Boyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceBoyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceShapeBlue
 
OpenNebula and StorPool: Building Powerful Clouds
OpenNebula and StorPool: Building Powerful CloudsOpenNebula and StorPool: Building Powerful Clouds
OpenNebula and StorPool: Building Powerful CloudsOpenNebula Project
 
Deep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech Talks
Deep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech TalksDeep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech Talks
Deep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech TalksAmazon Web Services
 
EC2 BY RASHMI GR.pptx
EC2  BY RASHMI GR.pptxEC2  BY RASHMI GR.pptx
EC2 BY RASHMI GR.pptxRashmiR685840
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM ShapeBlue
 
Amazon EC2 Instance Types.pptx
Amazon EC2 Instance Types.pptxAmazon EC2 Instance Types.pptx
Amazon EC2 Instance Types.pptxRomitSingh17
 
Best Practices running SQL Server on AWS
Best Practices running SQL Server on AWSBest Practices running SQL Server on AWS
Best Practices running SQL Server on AWSAmazon Web Services
 

Similar to Getting Started with AWS EC2. From Zero to Hero (20)

Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance Performance
 
20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS20160503 Amazed by AWS | Tips about Performance on AWS
20160503 Amazed by AWS | Tips about Performance on AWS
 
AWS Summit Bogotá Track Avanzado: EC2 avanzado
AWS Summit Bogotá Track Avanzado: EC2 avanzadoAWS Summit Bogotá Track Avanzado: EC2 avanzado
AWS Summit Bogotá Track Avanzado: EC2 avanzado
 
Amazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best PracticesAmazon EC2 Instances, Featuring Performance Optimisation Best Practices
Amazon EC2 Instances, Featuring Performance Optimisation Best Practices
 
(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive(CMP402) Amazon EC2 Instances Deep Dive
(CMP402) Amazon EC2 Instances Deep Dive
 
AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2) AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2)
 
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
 
Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance Performance
 
Running BSD on AWS
Running BSD on AWSRunning BSD on AWS
Running BSD on AWS
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVMAchieving the ultimate performance with KVM
Achieving the ultimate performance with KVM
 
PostgreSQL on AWS: Tips & Tricks (and horror stories)
PostgreSQL on AWS: Tips & Tricks (and horror stories)PostgreSQL on AWS: Tips & Tricks (and horror stories)
PostgreSQL on AWS: Tips & Tricks (and horror stories)
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319
 
Benchmarking your cloud performance with top 4 global public clouds
Benchmarking your cloud performance with top 4 global public cloudsBenchmarking your cloud performance with top 4 global public clouds
Benchmarking your cloud performance with top 4 global public clouds
 
Boyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceBoyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experience
 
OpenNebula and StorPool: Building Powerful Clouds
OpenNebula and StorPool: Building Powerful CloudsOpenNebula and StorPool: Building Powerful Clouds
OpenNebula and StorPool: Building Powerful Clouds
 
Deep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech Talks
Deep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech TalksDeep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech Talks
Deep Dive on Amazon EC2 Instances - January 2017 AWS Online Tech Talks
 
EC2 BY RASHMI GR.pptx
EC2  BY RASHMI GR.pptxEC2  BY RASHMI GR.pptx
EC2 BY RASHMI GR.pptx
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM
 
Amazon EC2 Instance Types.pptx
Amazon EC2 Instance Types.pptxAmazon EC2 Instance Types.pptx
Amazon EC2 Instance Types.pptx
 
Best Practices running SQL Server on AWS
Best Practices running SQL Server on AWSBest Practices running SQL Server on AWS
Best Practices running SQL Server on AWS
 

Recently uploaded

Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 

Recently uploaded (20)

Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 

Getting Started with AWS EC2. From Zero to Hero

  • 1. Getting Started with AWS EC2. From Zero to Hero 13 April 2016 George Yanev Telerik, a Progress Company DevOps Engineer
  • 2. About Me ● Started as System Administrator with passion for Open Source. First distro Slackware. ● Few years ago get interested in coding and as Open Source enthusiast and System Administrator picked Python. ● Moved to DevOps as it match my believe that if you love what you do, you will find ways to do it better.
  • 3. What to expect ● Introduction to EC2. ● Go beyond the introduction in some areas like Xen, Burstable instances, Instance type, Enhanced networking ● Dive in the Price Options
  • 4. History Started in 25 August 2006 in BETA with m1.small instance Interesting facts: - m1.small instance from 2006 was 2.27 times more expensive than today - No persistent storage until 20 August 2008 when EBS was introduced - Only Linux - No AWS Management Console - No Auto Scaling
  • 5. Let’s talk a little bit about the Hardware ● Data centers ● Racks ● Servers ● Networking ● Data storage
  • 7. Virtualization ● Hypervisor type is XEN ● Curious facts ○ Operating System is probably RedHat based ○ Different XEN version in the same region
  • 8. EC2 Hypervisor guests types ● HVM (Hardware Virtual Machine a.k.a Hardware-assisted virtualization) ● PV (Paravirtualization)
  • 9. HVM ● Guest system doesn’t know it has been virtualized ● By default slower than PV in I/O scenarios (not true anymore) ● Depends on the Hardware (Intel - VT, AMD - AMD-V) ● Secure Hardware isolation
  • 10. HVM Speed HVM is currently at least on par as performance goes with PV thanks to: ● New hardware extensions: SR-IOV ● Xen improvements ● Kernel host improvements - vector callbacks, MSI remapping, interrupt remapping ● PV drivers - storage drivers, network drivers
  • 11. EC2 Hypervisor guests pros ● HVM (Hardware Virtual Machine a.k.a Hardware-assisted virtualization) ○ Bursty CPU Loads. ○ High Memory Instances. ○ Enhanced Networking Instances. ● PV (Paravirtualization) ○ None If you like benchmarks: http://www.phoronix.com/scan.php? page=article&item=amazon_ec2_pvhvm&num=1
  • 13. Instance family ● T, M - General purpose ● C - Compute optimized ● R - Memory optimized ● I, D - Storage optimized ● G - GPU instances
  • 14. Instance generation ● Each new generation add feature, boost performance. If you are unsure which generation to use, choose the latest.
  • 15. Instance size ● Starting from nano reaching out to 8xlarge (and the monster X1 SAP HANA) ● http://www.ec2instances.info/
  • 16. Instance types ● Next dozen of slides will try to explain ○ The different Instance types ○ Which role suits each Instance type ○ Instance types key facts
  • 17. vCPU ● What exactly AWS means by vCPU? Each vCPU is a hyperthread of an Intel Xeon core. In general, one vCPU more-or-less correlates to half a physical core.
  • 18. T2 (Burstable Performance Instances) ● Features ○ High Frequency Intel Xeon Processors with Turbo up to 3.3GHz ○ Burstable CPU, governed by CPU Credits, and consistent baseline performance ○ Lowest-cost general purpose instance type, and Free Tier eligible (t2.micro only) ○ Balance of compute, memory, and network resources
  • 19. Burstable Performance Instances ● Burstable Performance Instances provide a baseline level of CPU performance with the ability to burst above the baseline.
  • 20. Burstable Performance Instances #2 ● Understand how credit works
  • 21. M4 (General Purpose Instances) ● Features ○ 2.4 GHz Intel Xeon® E5-2676 v3 (Haswell) processors. ○ EBS-optimized by default at no additional cost. ○ Support for Enhanced Networking. ○ Balance of compute, memory, and network resources. ● No local storage, only EBS. ● Probably the most versatile Instances. ● Fixed Performance Instances as opposed to the T2 instances.
  • 22. EBS ● General Purpose SSD volumes. ● Provisioned IOPS SSD volumes. ● EBS Magnetic volumes. ● Snapshot capabilities. ● Bound to a specific Availability Zone. ● Not bound to the current instance.
  • 23. General Purpose SSD volume ● Speed and credit accumulation depends on the volume size ● Initial I/O credit balance is 5 400 000. This is enough to sustain 30minutes of maximum burst.
  • 24. EBS Optimized ● Free and enabled by default for M4, C4 and D2 Instances. ● Paying a fee if your instance is not M4, C4 or D2: http://aws.amazon. com/ec2/pricing/#EBS-Optimized_Instances ● Dedicated throughput between the EC2 Instance and Amazon EBS. Throughput Max 16K IOPS Max bandwidth (MB/s) 450 Mbps 3,600 56.25 M4.large EBS max performance
  • 25. Enhanced Networking ● What is Enhanced Networking? ● How it’s working?
  • 26. Enhanced Networking #2 ● Do you need it? In few words: probably not but depends on your usage. Benchmarks: http://blogs.scalablelogic.com/2013/12/enhanced-networking-in-aws- cloud.html
  • 27. Enhanced Networking #3 ● Requirements ○ Instances of the following type: C4, C3, R3, I2, M4, and D2 ○ HVM AMI ○ Launch in VPC ○ Linux kernel module ixgbevf, minimum recommended version 2.14.2 ● How-to enable it: http://docs.aws.amazon. com/AWSEC2/latest/UserGuide/enhanced-networking.html#test-enhanced- networking
  • 28. M3 (General Purpose Instances) ● Compare to the M4 ○ No EBS Optimized by default. ○ Has a SSD-based instance storage for fast I/O performance. ○ Lack enhanced networking. ○ More expensive than M4
  • 29. C4 (Compute Optimized Instances) ● Features ○ High frequency Intel Xeon E5-2666 v3 (Haswell) processors optimized specifically for EC2 ○ EBS-optimized ○ Ability to control processor C-state and P-state configuration on the c4.8xlarge instance type ○ Support for Enhanced Networking and Clustering
  • 30. C3 (Compute Optimized Instances) ● Compare to the C4 ○ No EBS Optimized by default. ○ Has a SSD-based instance storage for fast I/O performance. ○ Lack enhanced networking. ○ More expensive than M4
  • 31. R3 (Memory Optimized Instances) ● Features ○ High Frequency Intel Xeon E5-2670 v2 (Ivy Bridge) Processors ○ Lowest price point per GiB of RAM ○ SSD Storage ○ Support for Enhanced Networking Hint: EBS Optimized is not enabled by default Good for NoSQL databases like MongoDB, Distributed memory cache.
  • 32. I2 (High I/O Optimized Instances) ● Features ○ High Frequency Intel Xeon E5-2670 v2 (Ivy Bridge) Processors ○ SSD Storage ○ Support for TRIM ○ Support for Enhanced Networking ○ High Random I/O performance
  • 33. Purchasing Options ● First thing first. This site is a must: http://www.ec2instances.info/ while calculating the price. ● Three ways to pay for EC2 Instances ○ On-Demand ○ Reserved ○ Spot Instances
  • 34. On-Demand Instances ● Key features: ○ Pay by the hour ○ Without any up-front payment or long-term commitment ○ Increase/Decrease compute capacity at will
  • 35. Reserved Instances ● Key features: ○ Significant discount (up to 75%) compared to On-Demand instances. ○ Always available for the Operating System and Availability zone in which you purchased it. ○ If you don’t use it you lose money as you’ve already prepaid for it. ○ Somewhat hard to change or in some instances impossible to change. As example you can't move it in a different region. ○ You can sell it
  • 36. Spot Instances ● Key features: ○ Usually lower hourly rates than On-Demand instances. ○ No upfront commitment (same as On-Demand instances). ○ You bid for the Spot Instances (they are AWS spare resource). ○ They will be shutdown if the current price is above the maximum you have specified.
  • 37. Recap: Getting most of this presentation ● Use HVM AMI ● Use in the beginning On-Demand instances. They are flexible and you are paying only for each started hour. ● Choose instance By-Resource Approach ● Start with smaller instances and change with bigger if needed. Change instance type is cheap (stop/change/start) as long as you are using EBS and and the instance will not be moved to different Availability Zone. ● http://www.ec2instances.info/
  • 38. Q&A
  • 39. Thanks for your time! http://www.meetup.com/AWS-Bulgaria/ george.yanev@telerik.com #awsbulgaria