INTRODUCTION TO EC2
HELLO!I am Sid Pandey CEO at NodeXperts. I am here because, I am keen to learn what others know and love to share what I know You can find me at @sidd625 2
Agenda 3
4 Agenda
What is EC2? Amazon Elastic Compute Cloud 5 1
What is EC2? ▰ A core part of Amazon’s cloud computing platform i.e AWS. ▰ Secured Virtual Machines known as Instances ▰ Elastic - By Nature 6
Cloud Computing ▰ A way to access shared pools of configurable resource over internet. ▰ Minimize up-front IT infrastructure ▰ Enable organizations to focus on their core businesses 7
What about the performance? 8 ▰ Do we get appropriate latency? ▰ How does AWS resolves this?
AWS INFRASTRUCTURE ▰ Built around Regions and Availability Zones (AZ) ▻ Optimizing Latency ▻ High level of Redundancy 9
16 Regions 6 Upcoming new Regions 44 AZ 10 17 Upcoming new AZ
11
How AZs delivers performance? ▰ What about the hardware? ▻ CPU ▻ Storage 12
Performance Factor: Instance Family 13 ▰ Family: Different compute capabilities ▰ Size: CPU Number, Memory(RAM) Size ▰ Generation: Changes in processor architecture ▰ Eg: ▻ C3.xlarge (4 CPU, 7.5 GB) ▻ C3.x4large (8 CPU, 15 GB)
Performance Factor: Family 14 ▰ General Purpose ▻ T1, T2 - Lightweight web servers, Developer environments ▻ M3, M4 - Enterprise application servers ▰ Memory Optimized ▻ X1 - Memory-intensive workloads ▻ R3 - Business intelligence workloads, Data mining ▰ Compute Optimized ▻ C3,C4 - Compute-intensive: Batch processing, simulations, 3D rendering ▰ Storage Optimized ▻ I3 - Random I/O performance eg. NOSQL databases ▻ D2 - Dense storage and high disk throughput e.g. Hadoop, parallel processing.
Performance Factor: Storage 15 ▰ Throughput Optimized HDD ▰ Cold HDD ▰ Amazon EBS General Purpose (SSD) volumes (Recommended) ▰ Amazon EBS Provisioned IOPS (SSD) volumes ▰ S3/Glacier
PRICING MODEL 16
PRICING MODEL 17 ▰ It’s free to use 😉 But... ▰ 750 hours of Linux and Windows each month for one year. ▰ Only for t2.micro instances Prices ranges from ▰ Linux: $0.004000 to $26.00 per hour ▰ Windows: $0.006 to $32.00 per hour depending upon instance type
On-Demand ▰ Pay by per hour or per second depending on which instances you run ▰ No longer-term commitments . PRICING MODEL 18 Spot Allow you to bid on spare Amazon EC2 computing capacity for up to 90% off the On-Demand price Reserved ▰ Provide you with a significant discount (up to 75%) compared to On-Demand instance pricing ▰ Longer-term commitments from 1-3 years
Pricing Factors 19 ▰ Region ▰ EC2 instance types ▻ CPU ▻ Memory ▻ Storage ▻ Operating System
EC2 Features Elastic Web-Scale Computing ▰ Increase or decrease capacity within minutes ▰ Automatically scale your application up and down depending on its needs Secure ▰ Cloud Security at AWS is at highest priority ▰ EC2 works in conjunction with Amazon VPC to provide security Integrated Service Level Agreement commitment is 99.95% availability for each Amazon EC2 Region. 20 Reliable EC2 is integrated with most AWS services such as ▰ S3 ▰ RDS ▰ VPC ▰ LAMBDA and many more
Featured Customers Case studies 21
Featured EC2 Customers ❏ A renting application ❏ Has grown significantly over the last 3 years. ❏ To support demand, the company uses 200 EC2 instances for its application, memcache, and search servers. 22
Featured EC2 Customers ❏ Netflix is a streaming service. ❏ Deployed thousands of servers and terabytes of storage within minutes ❏ Delivers Billions of Hours of Content Globally by Running on AWS 23
To get started with EC2 24
25 ❏ Ways to use: ❏ AWS Management Console ❏ AWS Command Line Tools (CLI) ❏ Free to get started.
Signup and Login to AWS Console 26 ❏ Setup an account with AWS ❏ Go to EC2 dashboard ❏ Click on Launch Instance. ❏ Follow this link: https://aws.amazon.com/ec2/get ting-started/
Select Instance from AWS Marketplace 27 ❏ Select desired AMI that contains the software configuration (operating system, application server, and applications) ❏ There are 1000+ AMIs available ❏ 4500+ different softwares available over different categories
Select Instance and storage type 28 ❏ Select instance type from available instance family ❏ Attach storage volume (EBS) ❏ Create security policy ❏ And connect to your instance.
NEXT STEPS ▰ Sign-up for an AWS account! ▰ Take advantage of the free tier: aws.amazon.com/free ▰ Learn more: aws.amazon.com/ec2 ▰ Follow us on: ▻ Meetup ▻ Facebook ▻ Twitter 29
30 THANKS! Any questions? You can find me at @sid625 & sid@nodexperts.com

Introduction to EC2 (AWS)

  • 1.
  • 2.
    HELLO!I am SidPandey CEO at NodeXperts. I am here because, I am keen to learn what others know and love to share what I know You can find me at @sidd625 2
  • 3.
  • 4.
  • 5.
    What is EC2? AmazonElastic Compute Cloud 5 1
  • 6.
    What is EC2? ▰A core part of Amazon’s cloud computing platform i.e AWS. ▰ Secured Virtual Machines known as Instances ▰ Elastic - By Nature 6
  • 7.
    Cloud Computing ▰ Away to access shared pools of configurable resource over internet. ▰ Minimize up-front IT infrastructure ▰ Enable organizations to focus on their core businesses 7
  • 8.
    What about theperformance? 8 ▰ Do we get appropriate latency? ▰ How does AWS resolves this?
  • 9.
    AWS INFRASTRUCTURE ▰ Builtaround Regions and Availability Zones (AZ) ▻ Optimizing Latency ▻ High level of Redundancy 9
  • 10.
  • 11.
  • 12.
    How AZs deliversperformance? ▰ What about the hardware? ▻ CPU ▻ Storage 12
  • 13.
    Performance Factor: InstanceFamily 13 ▰ Family: Different compute capabilities ▰ Size: CPU Number, Memory(RAM) Size ▰ Generation: Changes in processor architecture ▰ Eg: ▻ C3.xlarge (4 CPU, 7.5 GB) ▻ C3.x4large (8 CPU, 15 GB)
  • 14.
    Performance Factor: Family 14 ▰General Purpose ▻ T1, T2 - Lightweight web servers, Developer environments ▻ M3, M4 - Enterprise application servers ▰ Memory Optimized ▻ X1 - Memory-intensive workloads ▻ R3 - Business intelligence workloads, Data mining ▰ Compute Optimized ▻ C3,C4 - Compute-intensive: Batch processing, simulations, 3D rendering ▰ Storage Optimized ▻ I3 - Random I/O performance eg. NOSQL databases ▻ D2 - Dense storage and high disk throughput e.g. Hadoop, parallel processing.
  • 15.
    Performance Factor: Storage 15 ▰Throughput Optimized HDD ▰ Cold HDD ▰ Amazon EBS General Purpose (SSD) volumes (Recommended) ▰ Amazon EBS Provisioned IOPS (SSD) volumes ▰ S3/Glacier
  • 16.
  • 17.
    PRICING MODEL 17 ▰ It’sfree to use 😉 But... ▰ 750 hours of Linux and Windows each month for one year. ▰ Only for t2.micro instances Prices ranges from ▰ Linux: $0.004000 to $26.00 per hour ▰ Windows: $0.006 to $32.00 per hour depending upon instance type
  • 18.
    On-Demand ▰ Pay byper hour or per second depending on which instances you run ▰ No longer-term commitments . PRICING MODEL 18 Spot Allow you to bid on spare Amazon EC2 computing capacity for up to 90% off the On-Demand price Reserved ▰ Provide you with a significant discount (up to 75%) compared to On-Demand instance pricing ▰ Longer-term commitments from 1-3 years
  • 19.
    Pricing Factors 19 ▰ Region ▰EC2 instance types ▻ CPU ▻ Memory ▻ Storage ▻ Operating System
  • 20.
    EC2 Features Elastic Web-ScaleComputing ▰ Increase or decrease capacity within minutes ▰ Automatically scale your application up and down depending on its needs Secure ▰ Cloud Security at AWS is at highest priority ▰ EC2 works in conjunction with Amazon VPC to provide security Integrated Service Level Agreement commitment is 99.95% availability for each Amazon EC2 Region. 20 Reliable EC2 is integrated with most AWS services such as ▰ S3 ▰ RDS ▰ VPC ▰ LAMBDA and many more
  • 21.
  • 22.
    Featured EC2 Customers ❏A renting application ❏ Has grown significantly over the last 3 years. ❏ To support demand, the company uses 200 EC2 instances for its application, memcache, and search servers. 22
  • 23.
    Featured EC2 Customers ❏Netflix is a streaming service. ❏ Deployed thousands of servers and terabytes of storage within minutes ❏ Delivers Billions of Hours of Content Globally by Running on AWS 23
  • 24.
    To get startedwith EC2 24
  • 25.
    25 ❏ Ways touse: ❏ AWS Management Console ❏ AWS Command Line Tools (CLI) ❏ Free to get started.
  • 26.
    Signup and Loginto AWS Console 26 ❏ Setup an account with AWS ❏ Go to EC2 dashboard ❏ Click on Launch Instance. ❏ Follow this link: https://aws.amazon.com/ec2/get ting-started/
  • 27.
    Select Instance fromAWS Marketplace 27 ❏ Select desired AMI that contains the software configuration (operating system, application server, and applications) ❏ There are 1000+ AMIs available ❏ 4500+ different softwares available over different categories
  • 28.
    Select Instance andstorage type 28 ❏ Select instance type from available instance family ❏ Attach storage volume (EBS) ❏ Create security policy ❏ And connect to your instance.
  • 29.
    NEXT STEPS ▰ Sign-upfor an AWS account! ▰ Take advantage of the free tier: aws.amazon.com/free ▰ Learn more: aws.amazon.com/ec2 ▰ Follow us on: ▻ Meetup ▻ Facebook ▻ Twitter 29
  • 30.
    30 THANKS! Any questions? You canfind me at @sid625 & sid@nodexperts.com