© joe mertz -m2c 1

33
© Joe Mertz - M2C 1

Upload: others

Post on 29-Dec-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © Joe Mertz -M2C 1

©JoeMertz- M2C 1

Page 2: © Joe Mertz -M2C 1

• TohaveageneralunderstandingofwhatfallsunderthenebulousdefinitionofCloudComputing– Nottobeconfusedwithnebulouscloudsnorthecloudnebula.

• TobefamiliarwiththeconceptsofSaaS,IasS,PaaS,(andHuaaS).

• Tounderstandthebenefitsandrisksofusingcloudcomputing

• TobeawareofthebreadthofservicesthatareavailableasXaaS– Includingbusinessmodelsandsoftwaredevelopmentsupport

©JoeMertz- M2C 2

Page 3: © Joe Mertz -M2C 1

• Cloudcomputingisamodelforenabling– convenient,on-demandnetworkaccess– toasharedpoolofconfigurablecomputingresources• (e.g.,networks,servers,storage,applications,andservices)

– thatcanberapidlyprovisionedandreleased• withminimalmanagementeffort• orserviceproviderinteraction

Source:USNationalInstituteofStandardsandTechnology,2009

©JoeMertz- M2C 3

Page 4: © Joe Mertz -M2C 1

• Payrollcompany– monthlyvariation– Haspeakloadsonitswebapplicationsonthelastworkingdayofthemonth

– Traffictailsofftherestofthemonth• Weathercompany– specialevents– Fairlysteadystateloadmostofthetime– Extremepeakloadswhenthereisaweatherevent(hurricane,icestorm,etc.)

©JoeMertz- M2C 4

Page 5: © Joe Mertz -M2C 1

• Short-TermCampaign– Youhaveacampaign(e.g.Superbowlcommercial)thatneedsashort-termincreasedcapacitytomanage.

©JoeMertz- M2C 5

Page 6: © Joe Mertz -M2C 1

• Problem:– Simulatetheinteractionofeachofmillionsofcompoundswithacancer-related

protein.– Estimated341,700hoursofcomputing

• I.e.39years!

• Solution:– Used10,600cloud-basedcomputeinstances

• Physicalequivalent:– 12,000sqfeetdatacenter– Wouldcost$44million

• Result– 2hoursetup– 9hoursuse– Peakcost$549.72/hour– Totalcost$4,362!

Source:http://blog.cyclecomputing.com/2013/02/built-to-scale-10600-instance-cyclecloud-cluster-39-core-years-of-science-4362.htmlMISM- 95-702- DistributedSystems 6

Page 7: © Joe Mertz -M2C 1

• Startupcompany- scalability–Minimalcapitalavailableforequipment–Minimalcapitalavailabletohiretechsupportstaff– Nowaytopredictwhentheirnewservicewillgoviral.

©JoeMertz- M2C 7

Page 8: © Joe Mertz -M2C 1

• Animoto madeitsserviceavailableviaFacebook• Resourceneedsdoubledevery12hoursforthreedays.

• Demandsurgedfrom50serversto3,500servers• Afterthepeaksubsided,trafficfelltoalowerlevel.

Source:MichaelArmbrust etal.» http://doi.acm.org/10.1145/1721654.1721672

©JoeMertz- M2C 8

Page 9: © Joe Mertz -M2C 1

– Source:MichaelArmbrust etal.» http://doi.acm.org/10.1145/1721654.1721672

©JoeMertz- M2C 9

Page 10: © Joe Mertz -M2C 1

• Youhaveaneedforanextensiblesoftwareapplicationthatscalesindefinitely(fromyourperspective)andisavailable24/7worldwide.

• Andyourcorebusinessisnotdistributedsoftwaredevelopment.

©JoeMertz- M2C 10

Page 11: © Joe Mertz -M2C 1

• On-demandself-service• Broadnetworkaccess• Resourcepooling• Rapidelasticity• Measuredservice

– USNationalInstituteofStandardsandTechnology,2009

©JoeMertz- M2C 11

Page 12: © Joe Mertz -M2C 1

• Consumercanunilaterally:– Provisioncomputingcapabilities,• E.g.servertimeandnetworkstorage,

– Asneeded– Automatically–Withoutrequiringhumaninteraction

©JoeMertz- M2C 12

Page 13: © Joe Mertz -M2C 1

• Capabilitiesareavailable– Overthenetwork– Accessedthroughstandard,publishedAPIs

©JoeMertz- M2C 13

Page 14: © Joe Mertz -M2C 1

• Provider’scomputingresourcesarepooled– Servingmultipleconsumersusingamulti-tenantmodel– Withdifferentphysicalandvirtualresourcesdynamicallyassignedandreassignedaccordingtoconsumerdemand.

• Customergenerallyhasnocontrolorknowledgeovertheexactlocationoftheprovidedresources– Butmaybeabletospecifylocationatahigherlevelofabstraction(e.g.,country,state,ordatacenter).

• Examplesofresourcesinclude– storage– processing– memory– networkbandwidth– virtualmachines.

©JoeMertz- M2C 14

Page 15: © Joe Mertz -M2C 1

• Resourcepoolingiskeytothebusinessmodel– Largescaledatacenters– Inlow-costgeographiclocations

• Realestate• Power• Labor

– Statisticalmultiplexingtoincreaseutilization– Resultedinsignificantdecreaseincosts

• Decreasefactorof5to7- Armbrust etal

• Therefore,cloudcomputingcouldwasableprovidebettersoftwareandcomputingservicescheaperthanmediumandsmallsizeddatacenters.

©JoeMertz- M2C 15

Page 16: © Joe Mertz -M2C 1

• Capabilitiescanberapidlyandelasticallyprovisioned– Insomecasesautomatically– Toquicklyscaleoutandrapidlyreleasedtoquicklyscalein.

• Totheconsumer,thecapabilitiesavailableforprovisioningoftenappeartobeunlimitedandcanbepurchasedinanyquantityatanytime.

©JoeMertz- M2C 16

Page 17: © Joe Mertz -M2C 1

• Providersuseameteringcapabilityatsomelevelofabstractionappropriatetothetypeofservice– (e.g.,storage,processing,bandwidth,andactiveuseraccounts).

• Resourceusagecanbemonitored,controlled,andreportedprovidingtransparencyforboththeproviderandconsumeroftheutilizedservice.

• 1000processorsfor1hourisnomoreexpensivethan1processorfor1000hours

©JoeMertz- M2C 17

Page 18: © Joe Mertz -M2C 1

• Essentialcharacteristicsofcloudcomputing– On-demandself-service– Broadnetworkaccess– Resourcepooling– Rapidelasticity–Measuredservice

– USNationalInstituteofStandardsandTechnology,2009

©JoeMertz- M2C 18

Page 19: © Joe Mertz -M2C 1

• IaaS - InfrastructureasaService• PaaS - PlatformasaService• SaaS - SoftwareasaService• HuaaS - HumansasaService

©JoeMertz- M2C 19

Page 20: © Joe Mertz -M2C 1

• Processing,storage,networks,andotherfundamentalcomputingresources

• Theconsumercanrunarbitrarysoftware– Includingoperatingsystemsandapplications

©JoeMertz- M2C 20

Page 21: © Joe Mertz -M2C 1

• IaaS example• Multipleinstancetypes,rangingfrom• MicroInstance– 613MBmemory– upto2ECUs– Networkstorage

• ExtraLargeInstance– 15GBmemory– 8ECUs– 1690GBlocalstorage– Highernetworkperformance

©JoeMertz- M2C 21

Page 22: © Joe Mertz -M2C 1

• Web-basedstorage• WebServicesinterface– SOAPandREST

(Twovarietiesofmachine-to-machinecommunication)

©JoeMertz- M2C 22

Page 23: © Joe Mertz -M2C 1

• Programminglanguages,tools,and/orsoftwaresystemsprovideaplatformuponwhichacustomercanbuildanapplications.

• Theconsumerdoesnotmanageorcontroltheunderlyingcomputinginfrastructure,buthascontroloverthedeployedapplications.

©JoeMertz- M2C 23

Page 24: © Joe Mertz -M2C 1

• Force.comdevelopmentplatform• Apexprogramminglanguage• API• EclipseIDEintegration• Database,security,workflow,anduserinterfacetools

• Freefordevelopers

©JoeMertz- M2C 24

Page 25: © Joe Mertz -M2C 1

• RunwebappsonGoogleinfrastructure– Automaticscalingandloadbalancing

• SecurityandAuthentication• Workqueuesforscheduledtasks• Messaging

©JoeMertz- M2C 25

Page 26: © Joe Mertz -M2C 1

• ProvidesJava,Python,Go,andPHPplatforms• EclipseIDEintegration• Persistentstoragevia:– CloudDatastore – NOSQL– CloudSQL– basedonMySQL– CloudStorage– objects&filesupto1TB

©JoeMertz- M2C 26

Page 27: © Joe Mertz -M2C 1

• Providesthecapabilitytousesoftwareapplicationsrunningoncloudinfrastructure.

• Applicationsareaccessiblefromvariousclientdevicesthroughathinclientinterfacesuchasawebbrowser(e.g.,web-basedemail).

©JoeMertz- M2C 27

Page 28: © Joe Mertz -M2C 1

• WhilewithIaaS andPaaS,theconsumerisanapplicationdeveloper,withSaaS,theconsumercanbeanenduser(orapplicationdeveloper).

• E.g.– CompaniescanusetheSaaS namedCakeHR• Humanresourcessoftware

– CakeHR usesthePaaS fromCenturyLink/AppFog• PHPplatformasaservice

– AppFog usestheIaaS fromAmazonWebServices• EC2,S3

©JoeMertz- M2C 28

Page 29: © Joe Mertz -M2C 1

• SalesForce.com – CRM• Flickr– PhotoManagement• YouTube,Vimeo – VideoStreaming• Piazza– Courseforums• Othersyouuse?

©JoeMertz- M2C 29

Page 30: © Joe Mertz -M2C 1

• Lesscommonassociationwithcloudcomputing• E.g.– YouTubecrowdsourcingof“newsworthy”videos– Amazonproductreviews– AmazonMechanicalTurk– ReCAPTCHA– duoLingo– Uber– Burpy– Thumbtack– FavorDelivery– HomeAdvisor

©JoeMertz- M2C 30

Page 31: © Joe Mertz -M2C 1

• Publiccloud:– Cloudcomputingprovidedtopubliccustomers– Serviceakautilitycomputing

• Privatecloud:– Cloudcomputingonlywithinafirm– Onlysensiblewheneconomiesofscalearebigenoughtojustify• Elseyoujusthavea"datacenter".

©JoeMertz- M2C 31

Page 32: © Joe Mertz -M2C 1

• Laptop– NostaticIPaddress– LaptopnotawakewhenTAwantstotest

• Andrew.cmu.edu– Onlystaticwebpages

• Traditionalwebhosting(e.g.DreamHost,BlueHost)– Donotallowcontinuousprocesses– Node.js isarunningprocess,notsomethingawebserverinvokes

• IaaS – E.g.AWS– Possible,butneedtocreateOSstacktorunNodeon.– Moreworkthanisneeded

• PaaS– Bestalternativeforwhatweneed.

©JoeMertz- M2C 32

Page 33: © Joe Mertz -M2C 1

• Zeit Now– Free– AmazinglyeasyCLItodeploy

• Heroku• Redhat OpenShift• MicrosoftAzure• IBMBluemix• Modulus• Nodejitsu• AppFog• EngineYard

©JoeMertz- M2C 33Andothers…