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
![Page 1: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/1.jpg)
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
![Page 2: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/2.jpg)
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
![Page 3: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/3.jpg)
HANDS-ON WITH AMAZON WEB
SERVICES (AWS)
PART 1 – INTRODUCTORY
DISCUSSION
![Page 4: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/4.jpg)
Session Agenda
• Introductions
• Workshop Objectives
• What is Cloud Computing
• What is AWS
• Core AWS Services
![Page 5: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/5.jpg)
Introductions
• About me
• About you
![Page 6: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/6.jpg)
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!
![Page 7: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/7.jpg)
![Page 8: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/8.jpg)
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
![Page 9: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/9.jpg)
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
![Page 10: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/10.jpg)
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
![Page 11: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/11.jpg)
![Page 12: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/12.jpg)
Cloud Computing Companies (2)
![Page 13: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/13.jpg)
Cloud Computing Companies (3)
![Page 14: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/14.jpg)
Different Cloud models
• IaaS – Infrastructure as a Service
• PaaS – Platform as a Service
• SaaS – Software as a Service
![Page 15: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/15.jpg)
Application Stack
Hardware
Operating System
Systems Software
(Database, Web Server)
Application
![Page 16: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/16.jpg)
Different Cloud models
PaaS
Application
SaaS
IaaS
Database,
Web Server
Application
Hardware
Operating
System
Database, Web
Server
Application
![Page 17: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/17.jpg)
Building Blocks of Cloud
• Internet bandwidth/latency
• Server Virtualization
• Storage Virtualization
![Page 18: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/18.jpg)
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
![Page 19: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/19.jpg)
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
![Page 20: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/20.jpg)
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
![Page 21: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/21.jpg)
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
![Page 22: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/22.jpg)
Exercise 1 – My List
• Hardware – compute, storage, network
• Systems software – OS, Storage, Networking,
Database
• Power
• Cooling
• Systems administrator
• Network administrator
• Database administrator
![Page 23: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/23.jpg)
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
![Page 24: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/24.jpg)
Cloud Computing
• Pay a standard fee for the computing
resource
• This fee covers everything required for it –
hardware, software, people, power, etc.
![Page 25: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/25.jpg)
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
![Page 26: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/26.jpg)
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
![Page 27: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/27.jpg)
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
![Page 28: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/28.jpg)
AWS CONCEPTS AND
SERVICES
![Page 29: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/29.jpg)
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
![Page 30: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/30.jpg)
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
![Page 31: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/31.jpg)
AWS Concepts (3)
![Page 32: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/32.jpg)
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
![Page 33: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/33.jpg)
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
![Page 34: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/34.jpg)
EC2 Instance Types
• EC2 instances come in pre-defined
resource configurations
• Several Instance types
• http://aws.amazon.com/ec2/instance-types/
![Page 35: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/35.jpg)
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
![Page 36: Hands-On With Amazon Web Services (AWS) - part 1](https://reader034.vdocument.in/reader034/viewer/2022051210/54b4c26f4a795967178b45f4/html5/thumbnails/36.jpg)