hands-on with amazon web services (aws) - part 1
DESCRIPTION
Slides used for the workshop "Hands-On With Amazon Web Services (AWS)" in December 2012. P3 InfoTech Solutions Pvt. Ltd. helps organizations achieve business breakthroughs by adopting Cloud Computing through our Outsourced Product Development and Cloud Consulting service offerings. Check out our service offerings at http://www.p3infotech.in.TRANSCRIPT
HANDS-ON WITH AMAZON
WEB SERVICES (AWS)
8-Dec-2012
Pavan Verma
Founder, P3 InfoTech Solutions Pvt. Ltd.
Consulting, Training, and Software Development in Cloud Computing, Web Apps and Mobile Apps
http://p3infotech.in, [email protected]
LinkedIn: http://in.linkedin.com/in/pavanv0
Workshop Agenda
•Part 1 – Introductory DiscussionTea Break
•Part 2 – Hands on sessionLunch Break
•Part 3 – Discussion on more AWS
servicesTea Break
•Part 4 – Hands on session
•Part 5 – Closing discussion
HANDS-ON WITH AMAZON WEB
SERVICES (AWS)
PART 1 – INTRODUCTORY
DISCUSSION
Session Agenda
• Introductions
• Workshop Objectives
• What is Cloud Computing
• What is AWS
• Core AWS Services
Introductions
• About me
• About you
Workshop Objectives
• Understand fundamental concepts of Cloud
Computing and AWS
• Understand the core AWS services
• Get hands-on experience with core AWS
services
• Learn by doing!
Utility Computing
• A business model for on-demand delivery
of computing power
• Consumers pay providers based on usage
(“pay-as-you-go”)
• Similar to the way we pay for traditional
public utility services such as water,
electricity, gas, and telephony
Cloud Computing
• Cloud computing is the use of computing
resources (hardware and software) that are
delivered as a service over a network
(typically the Internet) as a Utility
Cloud Computing
• Cloud computing is the use of computing
resources (hardware and software) that are
delivered as a service over a network
(typically the Internet) as a Utility
Cloud Computing Companies (2)
Cloud Computing Companies (3)
Different Cloud models
• IaaS – Infrastructure as a Service
• PaaS – Platform as a Service
• SaaS – Software as a Service
Application Stack
Hardware
Operating System
Systems Software
(Database, Web Server)
Application
Different Cloud models
PaaS
Application
SaaS
IaaS
Database,
Web Server
Application
Hardware
Operating
System
Database, Web
Server
Application
Building Blocks of Cloud
• Internet bandwidth/latency
• Server Virtualization
• Storage Virtualization
Amazon Web Services (AWS)
• AWS is a global scale Cloud Computing provider
that provides computing resources as a utility
• AWS is primarily an IaaS provider
• AWS offers a self-service model where anyone
with a reasonable amount of technical expertise
can build there own datacenter using AWS
AWS (2)
• Biggest Cloud Computing provider today
• Estimates guess that AWS share in Cloud
Computing market is more than 60%-70%
• The scale allows AWS to:
• Innovate faster
• Offer lower prices
AWS (3)
• The Cloud Computing concept is not new
• The key reason why Cloud Computing and
AWS are so relevant today is: the global scale
at which AWS is operating
• This global scale has been enabled by:
• Ability to operate at a global scale – Technology
and Operations
• Economics of Cloud Computing – Business Model
Exercise 1
• Let’s say we need to run 10 computing
systems (plus, of course, the storage,
networking, database, etc. required to
make use these systems)
• List down all the items against which we
will incur cost
Exercise 1 – My List
• Hardware – compute, storage, network
• Systems software – OS, Storage, Networking,
Database
• Power
• Cooling
• Systems administrator
• Network administrator
• Database administrator
Exercise 2
• Same as previous exerciseJ but now
consider that you did not need all the 10
systems from the beginning.
• You can start with 1 system and add more
as the demand increases
Cloud Computing
• Pay a standard fee for the computing
resource
• This fee covers everything required for it –
hardware, software, people, power, etc.
Economics of Cloud Computing
• Pay for what you use
• ZERO upfront fees
• ZERO minimum usage
• ZERO monthly usage commitment
• This applies to ALL AWS services
Exercise 3
• Consider that you are building some. For
example:
• Application to manage recruiting for a company
• Application to connect with your friends
• What type of application will you build?
• Desktop app
• Mobile app
• SaaS
Application Trends and Cloud
Computing
• Many new applications are being written using
a pure SaaS or hybrid SaaS model
• Where are these SaaS applications are
hosted?
• The trend towards SaaS makes Cloud
Computing very relevant – not only as a SaaS
model but also PaaS and IaaS models
AWS CONCEPTS AND
SERVICES
AWS Concepts
• Regions
• 9 regions worldwide
• US – N. Virginia, Oregon, N. California
• Europe – Ireland
• Asia – Singapore, Tokyo
• South America – São Paulo
• Australia – Sydney
• All regions have the same pricing modelsJ
but the price varies according to region
AWS Concepts (2)
• Availability Zones (AZ)
• Availability Zones are distinct locations that are
engineered to be insulated from failures in other
Availability Zones and provide inexpensive, low
latency network connectivity to other Availability
Zones in the same Region
• Each AZ is an independent datacenter
AWS Concepts (3)
Elastic Compute Cloud – EC2
• EC2 is one of the core AWS services
• Provides compute capacity as Virtual Machines
(VMs)
• Can create, terminate new machines with ease
• At time of EC2 instance creation, can choose
the operating system or use an existing image
EC2
• Compute capacity is measured in terms of
EC2 Compute Units (ECUs)
• One ECU provides the equivalent CPU
capacity of a 1.0-1.2 GHz 2007 Opteron or
2007 Xeon processor
• EC2 uses Xen virtualization
EC2 Instance Types
• EC2 instances come in pre-defined
resource configurations
• Several Instance types
• http://aws.amazon.com/ec2/instance-types/
EC2 Instance Types
Type Name CPU Units CPU Cores Memory
T1 Micro t1.micro Up to 2 ECUs 1 Core 613 MiB
M1 Small m1.small 1 ECU 1 Core 1.7 GiB
M1 Medium m1.medium 2 ECUs 1 Core 3.7 GiB
M1 Large m1.large 4 ECUs 2 Cores 7.5 GiB
M1 Extra Large m1.xlarge 8 ECUs 4 Cores 15 GiB
M3 Extra Large m3.xlarge 13 ECUs 4 Cores 15 GiB
M3 Double Extra Large m3.2xlarge 26 ECUs 8 Cores 30 GiB
M2 High-Memory Extra Large m2.xlarge 6.5 ECUs 2 Cores 17.1 GiB
M2 High-Memory Double Extra Large m2.2xlarge 13 ECUs 4 Cores 34.2 GiB
M2 High-Memory Quadruple Extra Large m2.4xlarge 26 ECUs 8 Cores 68.4 GiB
C1 High-CPU Medium c1.medium 5 ECUs 2 Cores 1.7 GiB
C1 High-CPU Extra Large c1.xlarge 20 ECUs 8 Cores 7 GiB
High I/O Quadruple Extra Large hi1.4xlarge 35 ECUs 8 Cores 60.5 GiB