Soifyouactuallyneedtodosomethingwithyourdata, thatisnormallywhenyouhadtospendupattheveryleast, a virtualserverinordertobeabletodosomething, sodoinglike a videoencodingdoinganykindofprocessing, thattypeofthingyourequired a server.
Youalsohavetodowiththehardwareortheworkyourliesenvironmentthatit's in.
Soformetobeabletoencodevideosinthepast, I notonlyhadtoworryaboutthevideoencoderandallthesettingsandconfigurationsforthevideoencoder, but I hadtomakesureit's herthattheoperatingsystemwasstable.
Itwasuptodate, itwasmaintained, and I hadmakesurethehardwareandeverythingelseorthevirtualenvironmentwaswhereweshouldbesosimplytoget a videoencoded.
I alsohadtobe a Lennoxadministrator.
I alsohadtobeabletounderstandingthevirtualizationororserverhardware.
Now, basically, whatyoucoulddois, let's sayyousetup a pieceofsoftwareandwhatthatsoftwaredoesIsasoonis a videofilegetsuploadedinto a folder.
Basically, thefilegetsuploadedinto a folderthat's aneventthatoccurs.
Sothateventthentriggers a scripttorun.
Thatscriptcalls a serverlistarchitecturesobasicallyandencodingservicearchitectureandsays, Hey, I have a videofilesittinginthisforthisneedthatthisvideofileneedstobeencodedto 10 80 p 30 framespersecond.
Soagain, ifyou'regonnabeusing a serverlessarchitecture, therearecertainlanguagesthatwillworkwiththedifferentvendors.
SoitmaybeJavaandmaybeJavascriptandmaybesomethingcalledCurl, andmaybeitmaybe c sharpitMaybeanyofthesedifferentlanguagesdifferentdifferentcomponentsin a serverlessarchitecturemightrequiredifferentlanguagesalso.
So a vision, a machineofvision, cloudfunctionmayrequire a differentlanguagetocommunicatewithitthansomekindofothercloudfunction.
Andsooneofthingsthatyou'regonnahavetobelookingatwheneveryou'regonnabethinkingaboutwhatprogramminglanguagetolearnisbasicallywhatyoudoisyoulookatthecloudfunctions, youlookatyourrequirementsandthenyoufigureoutwhichoneoftheselanguagelanguageswillworkbestforwhatyou'retryingtoaccomplishandbeingabletobringinallofhisdifferentcloudfunctionsthatyoumaybetryingtouseanaccess, sothat's gonnabeoneofimportantthingsandthinkthat's gonnamakeit a littlebitcomplicatedfor a lotofoldschooladministratorsthataretryingtogetintothisnewserverlessarchitecturalworldisbecausein a lotofways, thisisreally, really, reallydifferentthanthewaythatthey'vebeendoing.
That's right.
Peopleare, youknow, oldschool I t administratorsthereusedto I P addressesanddefaultgatewaysandpermissionsandsecurityandthattypeofstuff.
That's howthey'vethoughtaboutadministeringsystemstheyhaven't thoughtbasicallyright, Rightnow, thesenasty 1000 longscript, the 1000 linelongscriptswhereyouhaveconnectionstoallthesedifferentserviceisyourinputs.
Youhaveoutputs.
Youhaveallthatkindofstuffagain.
It's liketheendresultmaylook a lotthesame, Buthowyouactuallybuildtheinfrastructureis a hellof a lotdifferent.
Sowiththat, let's goovertothecomputerso I canshowyousomeofthedifferentvendorsthatoffertheirownserverlessarchitectures.
Andthenwe'lldig a littlebitintotheazureserverlessarchitectureandtake a lookatwhat's requiredforimagerecognition.
Usingoneoftheircloudfunctionsbecause I thinkifyoustarttolookatthis a littlebitbetter, you'llstarttounderstandhowthisstuffworksandhowyouneedtobethinkingaboutserviceserverlessarchitectureandcloudfunctionsforhowyou'regonnabebringingthisintoyourinfrastructure.
IBMstilldoesexist, andespeciallyfor a lotofthis, thisthisnewarchitecturethat's gettingbuiltout, theyactuallyreallydohave a lotofcooloptionsoutthere s o again.
TheyhavetheirIBMcloudfunctions.
Andifyoucomehere, youcantake a lookandseeallthedifferentthingsthattheydoandhowtheirparticularproductsworkpastthatwecangotoeightofusandeightofushaswhat's calledlambdoseof L A B D A.
I alwaysbringupMicrosoftGenomicsbecause I justthinkthat's awesome.
I guessthatwasawesome.
Butthere's a cloud, a cloudfunctiononsequencingandGenomicsInc.
Recognizeorink, recognize?
Erisactuallyprettycool.
Sobasically, ifweopenthisup, wecantake a lookandwhatit's abletodioisthisisactuallyable.
Soifyouhave a drawing, whatit's abletodoisactuallyabletointerpretthedrawingandturnitintosomethingthat a computercanunderstandsothatyoucouldthenprocessbasedoffofthat, right?
Youcouldjustsimplycall a functionthat's goingtodowhateveritisthatyouneeddoneifwegooverhere.
Basically, whatwe'regonnabetaking a lookatistheirtheircomputervision, which I thinkisprettyinteresting.
Sobasicallytheyhave a computervisioncloudfunctionthatisabletoextractricinformationfromimagestocategorizeandprocessvisualdataandperformmachineassistantModerationofimagestohelpcurateyourserviceissoimagineifyou'recreatingthenextInstagramorlet's say, youknow, I thinkaboutthiswhere I had a friendofminewhoseclientswereinteriordesigncompanies, andsotheyhadlotsandlotsandlotsofpicturesoftheirinventory.
SoinsteadofhavingtohavesomebodygothroughandmanuallytagvideoswithMattMetadataaboutwhatourpictureswithmezutmetadataaboutwhat's inthepicture, imagineifyoucouldjustcall a cloudfunctiontodothatforyouautomatically.
It's a landvehicle, rightisactuallyabletopullallofthisinformationout, andthenyoumightbeabletoprocessthispicturebasedoffofwhateverwhateverisbeingtoldtoyou.
Now, ifwegooverandwetake a lookattheirlittlequickstartguideoveronthelefthandside, youcanseethedifferentlanguagesthatmakethatarerequiredinordertousethisparticularComputervisioncloudfunction S Sowe'relookingatCurlHereis a curl.
Itis a prettyeasyeasylanguage.
Er, basicallyinterpretertypething s, we'regoingtotake a lookatcurl, butyoucanseetoanalyze a remoteimage.
Whatdoyouneedtodotoadministerthatproductyougetbecauseyoujustfillinthoseblanksandthenyoulearnwhateverthehellthatis, right s wegodownhere, wecantake a lookatthethecurlesoittalksaboutbasicallyhowtoseteverythingupandallthethingsthatyouneedyouneed.
Andsobasically, that's whatwe'relookingathereagain, ifwegooverwhatwetake a look, ifyouhave a scriptSoagainanalyzingtheimagewithJavascript, thenyoujustcomehereandagain.
Andbasically, allallthiscodeisdoingisthisisthecodethat's requiredinordertogoout, take a lookatanimage, basicallyhaveMicrosoftcloudfunctions, processthatimageon.
Sobasically, that's just a simpleideaofwhatthesecloudfunctionsactuallylooklikeintherealworld.
Sothereyougo.
There's a briefintroductiontoserveEarlessarchitectureerandclownfunctions.
Now, ifyou'resittingtheretryingtofigureoutwhatwhatyouconduce A withclownfunctionsandserverlessarchitecture, basicallyallyouneedtodoisyouneedtogooutandyouneedtodo a bitofresearch.
Soagain, thesedifferentvendorshavejust a crap a tonofdifferentproducts.
Andsoit's prettysimple.
Basically, iftheyoffer a cloudfunctionthatyoucanuse, thenyoucanusethatcloudfunction.
Iftheydon't offer a cloudfunctionyoucanuse, thenyoucan't useitbecauseitdoesn't exist.
No 18 yearoldgeekwantstothinkaboutregulatorycompliance, butifyou'renotthinkingaboutregulatorycompliance, you'renot a realattack.
Professionalregulatorycompliancereallymattersnow.
Ifyou're a somemomandpop, youknowfloralshop, youmaynotworryaboutPC I orhip a compliance.
Butagain, ifyou'redealingwithmedicalinformationoryouaredealingwithcreditcardsorsomethinglikethat, thenyoudoneedtomakesurethattheirPC I ortheirhip a compliantbeyondthat, thenyouneedtolookatthingslike, whatcompaniesorwhatvendorsdoesyourcompanyorganizationalreadyhave a relationshipwithright?
You'regonnahavetoknowwhatprogramminglanguagesarerequiredinordertousethesedifferentarchitecturesagain, whetherit's gowhereJavascriptorJavaPHPorpythonor C sharporanyofthesethingsright?
Ontheotherhand, ifyou'reusingcloudfunctionstodosomethinglikeencodingvideos, Soifyou'vegot a threegigvideofilethatyou'regonnabeincodingright, thatismostlikelygoingtocost a hellof a lotmorethansimplyanalysingandsimplybecauseoftheircomputerresourcesthatarerequirednow, itmaynotmattertoyou, right?
IfyouIfyouupload 10 videospermonth, simplybehaving a cloudfunctionthatdoesthatvideoandCodyandyougetyourlittle $5 billattheendofthemonth, thatmightbe a k a.
Okay, withyou, wait $5.
I don't havetoworryabout a server.
I don't havetoworryaboutantivirusandafterwardthatanyofthesethingsgreatAnotherhandagain.
Ifyou'retryingtocreate a competitorforYouTubeandyou'replayingtogetthousandsofvideosprocessedperday, Ifyoustartpayingfor a cloudfunctiontoencodethosevideos, youmaystartgettinginsanelyhighbills.
Andthenfromthere, youfigureoutthebestoptionforyouandandserverlessarchitectureagainfor a lotofthesecoolthings, I thinkit'llbeveryimportantalsogoingforwardbecauseoneofthethingsthatyouseeinthetechnologyworld a lotoftimesisthatbasicallywhathappensthetechnologyworld's forestproductsareconcernedistheproductsthathavebeendeveloped.
Butifyouworryaboutittoomuch, you'renotgonnagetanythingaccomplishedin a daywhenthebigthingsnowisthat a lotpeoplefeellikewiththecloudslike, Oh, I'm notgoingtogotothecloudtocloudthescam.
Andthenatthatpoint, youdon't youdon't have a jobanymorebecausenotonlynotonlydidyounotupgradeyourinfrastructurealongtheway, butyouknowthepeople, theydidn't gettheskillsetsrequiredtobeabletomaintainandmanagethenewinfrastructure.
Sothesearesomeofthethings I thinkaboutit.
Thinkaboutthiswiththeoldvoiceover I p Worldaretheoldtelephonesystem.
WorldVoiceOver i p World.
Wheneverythingmovedoverthevoiceover i p.
I saw a lotofoldschooltelephoneadministratorsthatwerecompletelyscrewedbecausetheyknewdigitaltelephonesandanalogtelephones.
Er, rightnow, youneedtobelookingatthisandyouneedtobeupgradingyourskillsetsothatifthishastobeimplemented, orifyougointoaninfrastructurewiththistypeofstuffthatyoufeelatleastcomfortableenoughdealingwithit, thatyoucangetuptospeedandyou'renottotallyswampedwhenyouseeit.
Soasalways, I enjoydoingthisvideoand I lookforwardtothenextone.