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.
Presentation on how to chat with PDF using ChatGPT code interpreter
Â
Hands-On With Amazon Web Services (AWS) - part 1
1. 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, pavan@p3infotech.in
LinkedIn: http://in.linkedin.com/in/pavanv0
2. Workshop Agenda
• Part 1 – Introductory Discussion
Tea Break
• Part 2 – Hands on session
Lunch Break
• Part 3 – Discussion on more AWS
services
Tea Break
• Part 4 – Hands on session
• Part 5 – Closing discussion
6. 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!
7.
8. 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
9. 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
10. 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
14. Different Cloud models
• IaaS – Infrastructure as a Service
• PaaS – Platform as a Service
• SaaS – Software as a Service
15. Application Stack
Application
Systems Software
(Database, Web Server)
Operating System
Hardware
16. Different Cloud models
Application Application Application
Database, Web Database,
Server Web Server
SaaS
Operating
System
PaaS
IaaS
Hardware
17. Building Blocks of Cloud
• Internet bandwidth/latency
• Server Virtualization
• Storage Virtualization
18. 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
19. 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
20. 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
21. 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
22. Exercise 1 – My List
• Hardware – compute, storage, network
• Systems software – OS, Storage, Networking,
Database
• Power
• Cooling
• Systems administrator
• Network administrator
• Database administrator
23. Exercise 2
• Same as previous exercise 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
24. Cloud Computing
• Pay a standard fee for the computing
resource
• This fee covers everything required for it –
hardware, software, people, power, etc.
25. 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
26. 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
27. 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
29. 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 models
but the price varies according to region
30. 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
32. 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
33. 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
34. EC2 Instance Types
• EC2 instances come in pre-defined
resource configurations
• Several Instance types
• http://aws.amazon.com/ec2/instance-types/
35. 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