amazon web services s) · n aws. these can be isolated add a public-facing subnet that ccessible...
Post on 13-May-2020
1 Views
Preview:
TRANSCRIPT
Amazon We(AW
Slices from MajSlices from Maj
AW
eb ServicesWS)
jd F Sakr CMUjd F. Sakr, CMU
WS
AWWS
AWAWAWAW• Provides computing resoup g
can use to build applicatioas-you-go pricing.Example: you can rent a server on AWsecure, and run just as you would a phvirtual server runs on top of a planet svirtual server runs on top of a planet-s
• You pay for your virtual seno up-front purchase costno up front purchase costcosts. Backed by the AWSserver can do things no pserver can do things no pautomatically scaling into demand for your applicatiy pp
Getting started with AWS - http://s3.amazonaws.co
WSWSWSWSurces and services that you yons within minutes at pay-
WS that you can connect to, configure, hysical server. The difference is the
scale network managed by AWSscale network managed by AWS.
erver only while it runs, with ts or ongoing maintenancets or ongoing maintenance S network, your virtual
physical server can, such asphysical server can, such as multiple servers when
ion increases.
om/awsdocs/gettingstarted/latest/awsgsg-intro.pdf
What canWhat canWhat canWhat can• You can run nearly anythiy y
run on physical hardwaredatabases, mobile apps, distributed data analysis, networks. The services w
k h hwork together so that yousolutions.
• There are currently dozenbeing added each year.
Getting started with AWS - http://s3.amazonaws.co
n you do?n you do?n you do?n you do?ing on AWS that you would g y
e: websites, applications, email campaigns, media storage, and private
we provide are designed to b ild lu can build complete
ns of services, with more
om/awsdocs/gettingstarted/latest/awsgsg-intro.pdf
Getting started with AWS - http://s3.amazonaws.coom/awsdocs/gettingstarted/latest/awsgsg-intro.pdf
StoreStoreStoreStore
Getting started with AWS - http://s3.amazonaws.co
e filese filese filese files
om/awsdocs/gettingstarted/latest/awsgsg-intro.pdf
Host a Host a static static wewe
Getting started with AWS - http://s3.amazonaws.co
bsite (html, bsite (html, csscss))
om/awsdocs/gettingstarted/latest/awsgsg-intro.pdf
Host a Host a dynamic dynamic webweb.NET & SQ.NET & SQ
bsite (bsite (phpphp & & mysqlmysql, , QL Server )QL Server )))
Host a Host a dynamic dynamic webweb.NET & SQ.NET & SQ
bsite (bsite (phpphp & & mysqlmysql, , QL Server )QL Server )))
Run a DRun a DRelational DBRelational DBRelational DBRelational DB
NoSQLNoSQL DBDB
atabaseatabase
1
Deploy an ADeploy an AApplicationApplication
1
Create a Create a
• Create virtual private clouds ofrom the Internet, or you can ymakes part of your network a
• Create a hardware virtual privb t t k d AWbetween your network and AWsolution in which part of your physical data center and partphysical data center and partcloud on AWS.
networknetwork
on AWS. These can be isolated add a public-facing subnet that p g
accessible from the Internet. vate network (VPN) connection WS i d t t h b idWS in order to create a hybrid IT infrastructure runs in your
t of it runs in your virtual privatet of it runs in your virtual private
1
AWWS 1
AWWS 1
AWWS1
AWWS1
AWWS 1
AWWS 1
StoStoStoSto• In earlier days when you y y
to scare up enough monepurchase process, and thdelivered, installed, and cFinally (finally!), you gaine
’ f hiwasn’t uncommon for thisto six months!
• EC2 is the most revolutiobecause it has transformeth f i i ithe use of provisioning se
• EC2 provides virtual servll i lf iall via self-service
oryoryoryoryneeded a server, you had , y
ey to buy one, complete the hen have the server connected to the network. ed access to your server. It
k f hs process to take from three
nary of the AWS services ed a fundamental part of IT: ervers.ers in a matter of minutes,
1
EC2 VirtualizatEC2 VirtualizatEC2 VirtualizatEC2 Virtualizat• EC2 is based on virtualiza
using software to create vcarry out all the tasks youcomputer using a “real” ocomputer using a real o
• In a standard virtualizatiomachine is either runningmachine is either runningof saying “not running”).
• EC2 has come up with itsEC2 has come up with itsvirtual machine is runningan instance; when an insti ’ f d iit’s referred to as an imagIn virtualization, a virtual mEC2 an instance is la nchEC2 an instance is launch
ionion vsvs VMWareVMWareion ion vsvs VMWareVMWareation — the process of virtual machines that then u’d associate with a “real” perating systemperating systemn product, a virtual or quiescent (a fancy way or quiescent (a fancy way
s own terminology: When as own terminology: When a g in EC2, it’s referred to as tance isn’t running in EC2,
ge. machine is started, and in hedhed.
2
EC2 VirtualizatEC2 VirtualizatEC2 VirtualizatEC2 Virtualizat• A virtualization product stp
machine on disk; the onlybetween a running virtualvirtual machine is that thebrought into the virtual ma
i l h di koperational — the disk stoexactly the same.
• EC2, by contrast, stores onecessary to provide the
ti toperating system,
ionion vsvs VMWareVMWareion ion vsvs VMWareVMWareores the entire virtual
y difference in storage machine and a quiescent
e running machine is achine manager and made
iorage requirements are
only the actual data virtual machine and
2
Amazon MachinAmazon MachinAmazon MachinAmazon Machin• Amazon Simple Storage Sp g
Images: These S3-backestandard treatment — a fas an instance but a striprunning. ~ LiveCD
• EBS- backed image (Elasoperates more like traditiostorage of the entire instamuch of it has no data.
e Images (AMIs)e Images (AMIs)e Images (AMIs)e Images (AMIs)Service (known as S3) ( )d images are given the ull file system while running peddown image when not
stic Block Storage), onal virtualization, with full ance file system, even if
2
AWWS2
AWWS2
AWWS 2
AWWS 2
AWWS2
2
AWWS 2
AWWS 3
AWWS3
AWWS 3
AAWS 3
AWS NetAWS NetAWS NetAWS Net• Without networking, noneg,
would be able to send an• Virtual LAN (VLAN)…( )• AWS networking is often
completely flat — all traffico p e e y a a aand no hierarchy is implieassigned to an instance. gcompletely flat network imcomplexity on Amazon, bnetwork use.
tworkingtworkingtworkingtworkinge of your AWS instances yd receive network traffic.
described as being c is iPad-address-based, c s ad add ess based,
ed by the IP address Undoubtedly, managing a y g g
mposes challenges and ut it simplifies customer
3
AWS NetworkAWS NetworkAWS Network AWS Network • Unlike other cloud-compup
assign a fixed range of admachines hosted within aVLANs, AWS dynamicallyfrom within its own IP add
• No IP address is persisteaccount, and a server laumay be assigned one IP adifferent IP address tomo
• AWS assigns two IP addrVNIC
IP AddressingIP AddressingIP AddressingIP Addressinguting providers, which g p ,ddresses to virtual a customer’s assigned y assigns IP addresses dress rangently assigned to a customer
unched from a given image address today and a rrow.resses to an instance’s
3
3
AWS NetworkAWS NetworkAWS Network AWS Network • Having two IP addresses
can send and receive trafpublic IP address that anyWithi AWS i t• Within AWS, instances caanother using the private assignedassigned.
• Example: if I have two sehas assigned 10.1.2.3 anhas assigned 10.1.2.3 anassigned 10.1.2.4, those one another via the 10.X.i h bli IP ddvia the public IP address
traffic isn’t routed by the pconfined within AWSconfined within AWS.
IP AddressingIP AddressingIP AddressingIP Addressingmeans that each instance
ffic from outside AWS on a yone can reach.
i t ithan communicate with one IP address they’ve been
rvers, one of which AWS d one of which it hasd one of which it has servers can send traffic to X.X addresses rather than h AWS i d Ththat AWS assigned. That
public Internet; instead, it’s
3
3
3
Three choices ofThree choices ofThree choices ofThree choices off Network Trafficf Network Trafficf Network Trafficf Network Traffic
4
For others, reaFor others, rea(and (and AWS gAWS g
ad the textbook ad the textbook guidelines)guidelines)
top related