Beruflich Dokumente
Kultur Dokumente
AMAZONWRVICFORDUMMICHATHT
CHATHT
AMAZONWRVICFORDUMMI
CHATHT
FromAmazonWeerviceForDummie
ernardGolden
AmazonWeervice(AW)iaclouderviceproviderthato ereaaccetoa
varietofuefulcomputingreource,allo eredinanon-demand,cot-e ective
manner.IfoureanITpractitionerwhoreadtoemraceAmazonWeervice,
reakouroldapplicationdeignpatternhaitandimplementnewapproachethat
leverageAWcharacteriticandtrength.UndertandAWpoiilitieand
limitation,anduetheerviceainpirationforinnovativeideaforourorganization.
5KYCHARACTRITICOFAMAZONWRVIC
WhenitcometoAmazonWeervice(AW),itvitaltoundertanditke
characteritictoenurethatourapplicationrunwellintheAmazonenvironment.
Afterall,atheainggoe,oucantplathegamewithoutundertandingtherule.
HerearetheAWcharacteriticthatouhouldkeepinmindwhenplanningour
application:
AWo eravarietofervice,alldeignedtodeliveroneetof
functionalit.achervicetandalone,utoucanmixandmatchthemto
meetthepeci cneedofourapplication.
LARNMORWITHDUMMI
achervicei,well,aervice,o eredviaanAPI.omeofoumachooeto
nterouremailtojoinour
mailinglitforFRcontentright
AWdirectlviaAPIortheAWoftwaredevelopmentkit.Nomatterhowou
toourinox.a!
ueAmazonorathirdpartuerinterface,whileothermachooetoacce
accetheervice,rememerthateachhaitownfunctionalitand
idioncraie.
Youremail
TheAWinfratructureifailure-prone,andAmazonachieveervice
routnethroughredundanc.ForthoeervicethatAmazono erervice
levelagreement(LA),itcommonlmaintainthreecopieofthecomputingand
dataaociatedwithaervice.
UMIT
AWio eredonanon-demand,paforwhatouuemodel.AWcanea
fantaticargain,withverlowcotwhenoure rttartingtodevelopan
application.However,themeterialwarunning,otopeak,oitimportantto
trackwhatouue.
AWerviceareo eredonaregion-andavailailitzone-aed
partitioning.AcceingdatainoneregionfromC2intanceinanotherimpoe
networktra ccharge,oknowingwhereourdatailocatedandour
applicationneedtoruniimportantifouwanttokeepcotdown.
4TIPFORDIGNINGAPPLICATIONFORAMAZONWRVIC
ecaueAmazonWeervice(AW)di eromuchfromtraditional
infratructureo ering,attemptingtoappltraditionalapplicationdeign
principledoentalwareultintheetoutcome.Hereareomepointto
keepinmind:
LARNMORWITHDUMMI
verthingfailallthetime:ThoeareAmazonAWwatchword,andthe
nterouremailtojoinour
mailinglitforFRcontentright
houldeourawell.Inparticular,C2intancecanfailorquitreponding
unexpectedl,oincorporatereiliencetoreourcefailureintoourapplication.
toourinox.a!
Ueredundanctoenureapplicationuptime:ecaueAWreourcecan
fail,followAmazonoperatingprinciple,anddeignandimplementredundancin
Youremail
ourapplication.Redundancprotectourapplicationagaintreourcefailure.
Deignourapplicationtohorizontallcaleupanddown:ecaueAW
reourceincurcotwhetherthereheaviluedoruednotatall,itimportant
UMIT
thatourapplicationealetogrowandhrinkitreourceothatouareuing
onlwhatouneedtoupportourapplicationperformanceandreilience.
Ueopenourcecomponentamuchapoile:Notonldoeopen
ourceoftwarecotle,itliceningconditionmakeitmuchmorecongenialto
poradicue.Proprietaroftware,contrat,uuallrequireaigni cantlicene
feewhethertheoftwarerunfor veminuteor veear.
5UNCOMMONWAYTOUAMAZONWRVICFOR
APPLICATION
AmazonWeervice(AW)provideafarricheretofervicethanmotpeople
recognize.Whilemotarefamiliarwithanduewell-knownAWproductlikeC2and
3,toomanpeoplefailtoexplorefurtherintoAWandlearnaoutotherervice
thatthecoulduefortheirapplication.leveragingadditionalAWcoreand
platformervice,oucan:
Developfarricherapplication:Forexample,uinglaticearch,oucan
provideophiticatedearchingwithinourapplication.Thereawholerangeof
AWervicejutwaitingforoutouethem.
Deliverapplicationmuchmorequickl:Inteadoflocatingandimplementing
openourceoftwarepackage,or(evenwore)pendingendletimenegotiating
proprietarlicenecontract,oucaneginuingAWervicetouildoutour
applicationquicklandringitintoproductionooner.
LARNMORWITHDUMMI
ettermatcherviceuewithervicecot:AllofAmazonAWerviceare
nterouremailtojoinour
mailinglitforFRcontentright
deliveredinanon-demand,nocommitment,uage-aedpricingfahion.uing
AWerviceinourapplication,ouarealetomatchourcotwithour
toourinox.a!
ene t,enuringthatourapplicationachievegoodeconomicoutcome.
uildmorecalaleapplication:Amazondeignallofitervicetorunat
Youremail
cale.IfourapplicationrequiremaiveamountofwhateverAWproductit
ue,oucanecon dentthatAmazonhadeigneditervicetocaleto
whateverleveloumaneed.
UMIT
LeverageAmazonownexperience:ManoftheproductAWo erwere
originallcreatedtohelpAmazon.comrunitecommerceuine.Ifouuean
AWproduct,oucaneuretheveeenattle-tetedintheharhetofecommerceenvironment.
5THINGTHATAMAZONWRVICCANANDCANTDO
AurerecipefordiappointmentitoexpectmorefromAmazonWeervice
(AW)thanitcandeliver.WhileAWiarichcollectionofervicethatare
availaleine ectivelunlimitedcale,itimportanttoundertandthatthereare
anumerofthingAWcanandcannotdo:
AWcannotmakeourlegacapplicationcloud-aed.Legacapplication
havetpicalleendeignedfortaleloadwithtatichardwareinfratructure.
ThewillproalworkinAW,utthewontmagicallecomecloud
application.
LARNMORWITHDUMMI
nterouremailtojoinour
mailinglitforFRcontentright
capacit.Allthoeapplicationouhadtroulewithecauetheoutgrew
predicteduerload,torageue,ornetworktra c?Noprolemanmorewith
toourinox.a!
AW.Amazonprovidethereource,ouprovidetheapplicationload.
AWcannotmakeourapplicationfailure-proof.AmazondeignedAW
Youremail
aedonthenotionthateverthingfailallthetime.WhileAWideignedtoe
highlreilienttoreourcefailure,thatdoentmeanourapplicationcantfailit
jutmeanthatouhavetheailittomakeourapplicationmorerout,ifou
leverageAWapplicationdeignprinciple.
UMIT
AWcanmakeitcotletorunourapplication.ecaueAmazonprovide
AWonauage-aedcot,ifoudeignourapplicationtofollowthedownand
o principleofuingonlwhatouneedandthenkedaddling,oucantpicall
avealotofmonecomparedtothetraditionalmodelofreourcecot,whereou
paupfrontforreource.
AWcannotmakeourapplicationecureforou.Incloudcomputing
environment,ecuritiaharedreponiilit.Amazontakeonecurit
reponiilitforwhatitprovidethecomputingenvironmentwhileoutake
onecuritreponiilitforwhatouprovideapplicationoftwarecomponent.
Ifoudontdoagoodjomanagingourapplicationecurit,therenothing
Amazoncandotomakeitecure.
4INNOVATIVWAYTOUAMAZONWRVIC
ThemotuccefuluerofAmazonWeervice(AW)dontueitliketraditional
infratructureo eredonapa-a-ou-goai.Intead,thetudAWandthenthink
aouthowthecanueiterviceandcharacteritictodeignnewo eringthat
wereimpoilewithtraditionalinfratructure.
HereareomeinnovativewatoueAW:
Deignanapplicationthatupportenormounumerofuer.The
e ectivelunlimitedcaleofreourcethatAWprovidemakeitpoile,forthe
LARNMORWITHDUMMI
rttimeinthehitorofcomputing,touildapplicationthatcanupport
unlimiteduerpopulation.ThienaleapplicationlikePinterettotartand
cale;whatcancaledoforou?
nterouremailtojoinour
mailinglitforFRcontentright
toourinox.a!
ParticipateinTheInternetofThing.Onewaofaingitioftwarei
eatingtheworld.Anotherithateverthingiecomingacomputingdevice
ourwatch,ourcar,ourfrontdoorlock.TheIoT,aitknown,willgenerate
Youremail
hugeamountofdataandnetworktra c.UeAWtocreateanapplicationthat
deliveranewerviceoranalzeexitingone.
Comineanumeroferviceintoanewapplication.verapplicationand
UMIT
erviceinowecomingAPI-enaled,makingiteatoaggregateexitingervice
intoanewapplication.Comineaweathererviceandaperonalhealtherviceto
enalepeopletocalculatehowmuchVitaminD3theregoingtogettoda.Ue
AWtohotourapplication,ecureintheknowledgethatitcanupportou
whetherourapplicationtra citinorhuge.
IntegrateAWerviceintoourapplicationtomakeitmorepowerful.You
canueimplemailervice()tonotifuerofanimportantevent.Youcan
uelaticTrancodertoenaleuervideouploadtomakeourapplication
functionalitricher.TherearetonofAWproducttochooefromueaman
aoucan.
LARNMORWITHDUMMI