Introduction to Amazon EC2

1,057 views

Published on

Amazon Elastic Compute Cloud (Amazon EC2) provides resizable compute capacity in the cloud and makes web scale computing easier for customers. Amazon EC2 provides a wide variety of compute instances suited to every imaginable use case, from static websites to high performance supercomputing on-demand, available via highly flexible pricing options. Amazon EC2 works with Amazon Elastic Block Store (Amazon EBS) and Auto Scaling to make it easy for you to get the performance and availability you need for your applications. This session will introduce the key features and different instance types offered by Amazon EC2, demonstrate how you can get started and provide guidance on choosing the right types of instance and purchasing options.

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,057
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
94
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction to Amazon EC2

  1. 1. © 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc. Introduction to Amazon EC2 John Phillips, Amazon Web Services July 10th 2014
  2. 2. What we’ll cover: • Amazon EC2 – Brief history – Key functionality – Companion services • Demo • Q&A
  3. 3. What is Amazon EC2?
  4. 4. Amazon Elastic Compute Cloud Elastic Virtual servers in the cloud
  5. 5. A Brief look back… Amazon EC2: Seven Years Young
  6. 6. Amazon EC2 – Seven years ago • Single instance family and size – m1.small (1 vCPU, 1.7 GiB RAM, 160 GB storage) • Linux only • On Demand pricing only • No AWS Management Console • No EBS • No Elastic IPs • No Auto Scaling • No Elastic Load Balancing • No VPC Amazon EC2
  7. 7. Since then • Many new instance families and sizes – M1, M3, T1, T2, M2, CR1, R3, C1, CC1, CC2, C3, CG1, G2, HS1, HI1, I2 • Windows (and Enterprise Linux) • Reserved Instances and Spot Instances • AWS Management Console • Elastic Block Store • Elastic IP Addresses • Virtual Private Cloud (VPC) • Auto Scaling • Elastic Load Balancing • Performance, security, manageability, and scalability improvements
  8. 8. AWS Global Infrastructure 10 Regions 25 Availability Zones 51 Edge locations
  9. 9. Amazon EC2 Instances - Families Compute Optimized General Purpose Memory Optimized Storage Optimized GPU Instances
  10. 10. Amazon EC2 Instances - Generations C3 CC2 C1 T2, M3 M1 R3 CR1 M2 I2, HS1 HI1 G2 CG1
  11. 11. Amazon EC2 Instances – Sizes* c3.2xlarge c3.xlarge m3.2xlarge m3.xlarge r3.2xlarge r3.xlarge i2.2xlarge i2.xlarge g2.2xlarge *Note: Only one or two instance sizes are shown from each family/generation, as an example
  12. 12. Recent Instance Highlights • T2 – lowest cost, general purpose instance • R3 – Next generation memory optimized, up to 244 GiB • I2 – Next generation I/O optimized (350,000+ random read IOPS) • C3 – 2.8 GHz Intel Xeon E5-2680v2 (Ivy Bridge) CPUs (SSD) • G2 – Next generation GPU instances, 1 NVIDIA GK104 GPU (Kepler) • Enhanced networking
  13. 13. A choice of block storage options • Locally attached, “instance storage” – Type/amount differs by instance • Amazon EBS General Purpose (SSD) • Amazon EBS Provisioned IOPS (SSD) • Amazon EBS Magnetic
  14. 14. T2 and Amazon EC2 Free Tier • T2 is a Burstable Performance Instance – Burstable Performance Instances provide a baseline level of CPU performance with the ability to burst above the baseline. – T2 instances are for workloads that don’t use the full CPU often or consistently, but occasionally need to burst. – Great for getting started on Amazon EC2 • Amazon EC2 Free Tier – 750 hours of Amazon EC2 Linux t2.micro instance usage (1 GiB of memory and 32-bit and 64-bit platform support)
  15. 15. Who uses EC2?
  16. 16. Using AWS, Dow Jones saved $40,000; improves time-to-market by 30% • Dow Jones & Company provides news and business information for the global investment market. • Dow Jones needed to replace its Asian data center with a flexible, cost-effective alternative that allowed its staff to focus on building products • Moving its data center to AWS saved $40,000 in hardware costs and enabled Dow Jones staff to focus on creating revenue-producing applications for the website
  17. 17. • One of the world's leading online travel companies, providing leisure and business travel to customers worldwide • Expedia needed a global infrastructure to support its commitment to create a great experience for customers worldwide • Using AWS, Expedia created a global infrastructure for its critical applications while reducing network latency to under 50 milliseconds and enabling a 230% CPU consumption efficiency for data processing Expedia uses AWS to run critical, high volume applications globally
  18. 18. Some Amazon EC2 Benefits • Elastic • Completely Controlled • Flexible • Reliable • Secure • Inexpensive
  19. 19. Elasticity
  20. 20. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day
  21. 21. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server
  22. 22. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server Traditional capacity required
  23. 23. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server Traditional capacity required 1 Server for 8 hours
  24. 24. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server Traditional capacity required 1 Server for 8 hours 1 Server for 8 hours
  25. 25. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server Traditional capacity required 1 Server for 8 hours 1 Server for 8 hours 1 Server for 8 hours
  26. 26. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server Traditional capacity required 1 Server for 8 hours 1 Server for 8 hours 1 Server for 8 hours 1 Server for 8 hours
  27. 27. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ServerLoad Hour of day Capacity of 1 Server Traditional capacity required 1/3rd Saving
  28. 28. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 InstanceCount Day of Month
  29. 29. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 InstanceCount Day of Month Monthly predictable peak processing
  30. 30. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 InstanceCount Day of Month Traditional capacity required
  31. 31. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 InstanceCount Day of Month Elastic Capacity Traditional capacity required
  32. 32. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 InstanceCount Day of Month 75% Savings Traditional capacity required Elastic Capacity
  33. 33. Scaling Automatically Amazon EC2 Auto Scaling Elastic Load Balancing Actual EC2 Elastic Virtual servers in the cloud Dynamic traffic distribution Automated scaling of EC2 capacity
  34. 34. Completely Controlled
  35. 35. Completely Controlled • You have control of your instances • Log on as root (Linux) / Administrator (Windows) • Install the software you need • Start/Stop and control via console or APIs • Make the configuration changes you like • Create an AMI (Amazon Machine Image)
  36. 36. Flexibility
  37. 37. Multiple Instance Types • Choose the instance type that suits you • Change the instance type when you want to • Attach as much or as little storage as you need • Choose your operating system • Choose a pre-configured image (AMI)
  38. 38. Reliability
  39. 39. Build Reliable Architectures • Easily build highly available applications • AWS Elastic Load Balancing distributes load • Auto Scaling helps ensure availability and scale • Use multiple Availability Zones (AZs)
  40. 40. Example 3-tier Web App architecture
  41. 41. Security
  42. 42. Security Certifications: • Secured premises • Secured access • Built-in firewalls • Unique users • Multi-factor authentication • Private subnets • Encrypted data storage • Dedicated connection
  43. 43. Amazon Virtual Private Cloud (VPC) - Default • Provision a logically isolated section of the AWS cloud • Control your virtual networking environment – Subnets – Route Tables – Security Groups – Network ACLs • Control if and how your instances access the Internet • Connect to your on-premises network via HW VPN
  44. 44. Availability Zone 1a Availability Zone 1b Internet 10.0.0.5 10.0.0.6 10.0.3.17 10.0.3.5 10.0.1.5 10.0.1.25 10.0.1.8 10.0.1.6 VPC Subnet VPC Subnet VPC Subnet Virtual Private Gateway Customer Gateway VPN Connection Internet Gateway Customer Data Center
  45. 45. Inexpensive
  46. 46. Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-Demand Instances On-Demand Instances
  47. 47. Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Reserved Instances
  48. 48. Up to >50% Savings Heavy utilization RI Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Reserved Instances
  49. 49. > 80% utilization Lower costs up to >50% Heavy utilization RI Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Reserved Instances
  50. 50. Up to ~50% Savings Medium utilization RI Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Reserved Instances > 80% utilization Lower costs up to >50% Heavy utilization RI
  51. 51. Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Reserved Instances > 80% utilization Lower costs up to >50% Heavy utilization RI ~40-80% utilization Lower costs up to ~50% Medium utilization RI
  52. 52. ~15-40% utilization Lower costs up to ~35% Light utilization RI Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Reserved Instances > 80% utilization Lower costs up to >50% Heavy utilization RI ~40-80% utilization Lower costs up to ~50% Medium utilization RI
  53. 53. Best RI for Utilization $- $2,000 $4,000 $6,000 $8,000 $10,000 $12,000 $14,000 $16,000 $18,000 Heavy Medium Light O-Demand
  54. 54. Best RI for Utilization $- $2,000 $4,000 $6,000 $8,000 $10,000 $12,000 $14,000 $16,000 $18,000 Heavy Medium Light O-Demand
  55. 55. 0 2 4 6 8 10 12 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 On Demand Light Utilization RI Medium Utilization RI Heavy utilization RI Optimizing costs with RIs
  56. 56. Improving Reserved Instance Flexibility
  57. 57. Bid on unused EC2 capacity Spot Price based on supply/demand, determined automatically Cost / Large Scale, dynamic workload handling Spot instances Unix/Linux instances start at $0.013/hour Pay as you go for compute power Low cost and flexibility Pay only for what you use, no up-front commitments or long-term contracts On-demand instances 1- or 3-year terms Pay low up-front fee, receive significant hourly discount Low Cost / Predictability Helps ensure compute capacity is available when needed Reserved instances Spot Instances
  58. 58. We like to save you money…
  59. 59. EC2 Usage Reports • Two new interactive reports: – Instance Usage Report – Reserved Instance Utilization Report • Easy to access in the Management Console
  60. 60. EC2 Usage Reports
  61. 61. EC2 Usage Reports
  62. 62. Easy to get started!
  63. 63. Demo
  64. 64. AWS Marketplace – in the console Browse, search, discover and launch thousand of AWS Marketplace AMIs directly from within the Amazon EC2 console.
  65. 65. AWS Marketplace • AWS Online Software Store • Find, research and buy software • Simple pricing, aligns with the utility model • 1-Click launch products - run in minutes • Over 1300 products listed in 25 categories • Free trials and Enterprise offerings – Move seamlessly from PoC to production
  66. 66. Benefits for You • 1-Click launch, no procurement of hardware and software launches pre-configured for AWS • Minutes for deployment, instead of weeks or months • Vetted, tested, secure and approved products • Use your AWS account to purchase • Supports Invoice Billing • See charges for software and AWS services separately • Clear pricing for all products, hourly and monthly options, different instance size and region choices • Tools to track your purchases and control usage • Ability to scale software up or down on-demand Find and Deploy Fast One Bill Simple Purchasing http://aws.amazon.com/marketplace
  67. 67. Next Steps • Sign-up for an AWS account! • Take advantage of the free tier – aws.amazon.com/free • Learn more: aws.amazon.com/ec2 • Join us at the booth
  68. 68. © 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc. Introduction to Amazon EC2 Thank you! John Phillips, Amazon Web Services July 10th 2014

×