Cloud Computing: Amazon AWS and EC2

4,151 views

Published on

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

No Downloads
Views
Total views
4,151
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
105
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Cloud Computing: Amazon AWS and EC2

    1. @TeamSkunkworksvn Cloud Computing: Building an Infrastructure with Amazon AWS and EC2Chris Dollmont@MrCerulean
    2. Agenda• Cloud
Compu7ng
Overview• Why?• How?• Discipline• Tools• Concept 2
    3. Overview• What
is
the
“Cloud”?• Where
is
it?• Who
provides
it? – Amazon – Rackspace – GoGrid – In
house
cloud 3
    4. Overview• Amazon
Services
alphabet
soup – EC2
(Elas7c
Compute
Cloud) – S3
(Simple
Storage
Service) – EBS
(Elas7c
Block
Storage) – ELB
(Elas7c
Load
Balancing) – SimpleDB – RDS
(Rela7onal
Database
Service) – Route
53
(Elas7c
DNS) – CloudWatch 4
    5. Why?• Reduce
hardware
costs• Management• Ease
of
Deployment• Management• Scalability 5
    6. Why
not?• Reducing
costs – bandwidth – cycles – storage – instances• Simplifying
management – upfront
investment 6
    7. How?• Create
an
Amazon
Web
Services
account – provide
your
credit
card
details• Launch
an
instance – Hundreds
of
publicly
available
instances – Linux,
Windows,
Solaris,
BSD• Configure
storage – S3
or
EBS• Configure
access 7
    8. Discipline• Best
prac7ces
are
cri7cal – Standard
images – Standard
tools – Define
conven7ons• Support
or
not? – Paid
support – Community
support 8
    9. Discipline• Moving
to
the
cloud – Get
your
meatspace
in
order – Create
your
own
AMI
(image) – Use
sane
defaults• Test – And
test – And
test
some
more 9
    10. Discipline• Loca7on,
loca7on,
loca7on – Be
aware
of
latency – Amazon
offers
many
loca7ons
(regions) • US
East • US
West • EU
(Ireland) • Asia/Pacific
(Singapore) 10
    11. Discipline• Decide
on
image
availability – Reserved
instances – Spot
instances – On
demand
instances• Tie
storage
to
an
instance – Only
when
necessary• Create
with
transience
in
mind 11
    12. Tools• Web
based – Amazon’s
AWS
console • Free • Full
featured – Rightscale • Not
free • Excellent
for
full
automa7on – SCALR • Not
free • Excellent
for
full
automa7on 12
    13. Tools• Elas7fox – Graphical – Firefox
based – 80%• Tim
Kay’s
aws
tools – Command
line – hep://www.7mkay.com/aws/ – scriptable
(key!) 13
    14. Tools• boto – Python
based – hep://code.google.com/p/boto/ – command
line – scriptable• mr.awsome – Python
based – Uses
boto – hep://pypi.python.org/pypi/mr.awsome – command
line – scriptable 14
    15. Tools• puppet – configura7on
management• ZenOSS – system
monitoring• flume – log
aggrega7on• fabric – code
deployment 15
    16. Concept• Base
AMI – Built
on
Debian
Lenny – Stripped
to
the
minimum – puppet
client
installed• Start
new
AMI – Assign
a
class – Authen7cate
to
puppet – Go
get
coffee 16
    17. Concept• puppet – installs
packages
based
on
class – sets
up
configura7on – adds
users
and
groups – sets
up
ssh
auth – starts
essen7al
services 17
    18. Concept• ZenOSS – Can
autodiscover
new
hosts – Hosts
can
be
grouped
by
func7on – Monitoring
and
stats
gathering• flume – Centralizes
logs – Allows
for
analysis 18
    19. Ques%ons?
 @teamskunkworksvn,
@MrCerulean
#barcampsaigon
 #skunkworksvn
    20. PSA 20/20/20Fixing
Powerpoint,
one
presenta7on
 at
a
7me 20

    ×