text
stringlengths
1
3.55k
source
stringlengths
24
207
emb
listlengths
1.02k
1.02k
a cloud computing platform that offers a wide range of services that allow customers to build, deploy, and manage applications and services in the cloud. the sample cloud - native application13 includes two microservices. both communicate with a single datastore. each microservice is containerized and deployed in a kub...
openstax_introduction_to_computer_science_-_web
[ -0.001858394593000412, 0.022730480879545212, -0.011804888024926186, -0.008677482604980469, -0.034420743584632874, -0.05861292779445648, -0.029370468109846115, -0.0041185771115124226, 0.025861989706754684, 0.05755230039358139, 0.0214823167771101, -0.018309537321329117, 0.04105878621339798, ...
12. 3 • example paas and faas deployments of cloud - native applications 711 figure 12. 36 a cloud - native application is deployed in azure. ( attribution : copyright rice university, openstax, under cc by 4. 0 license ) one microservice implements a web service in javascript using node. express. js is used to impleme...
openstax_introduction_to_computer_science_-_web
[ 0.017841173335909843, 0.022490769624710083, -0.008094284683465958, 0.003076595487073064, -0.054325126111507416, -0.0339059941470623, -0.018100228160619736, -0.010671927593648434, 0.040043625980615616, 0.06732555478811264, -0.006366585846990347, -0.020638879388570786, 0.01755235344171524, -...
, the resource group rg - nativeapps - eastus is used. set up a postgres database in azure the first step is to create a datastore that both microservices will communicate with. azure database for postgresql is the resource used for this purpose. the following steps create a relational database management service ( rdb...
openstax_introduction_to_computer_science_-_web
[ 0.019436579197645187, 0.05732083320617676, 0.021057644858956337, 0.01874937117099762, -0.05227745696902275, -0.021579410880804062, -0.0033685285598039627, 0.02296699769794941, 0.02762577123939991, 0.06204789876937866, -0.0020133969374001026, -0.009818586520850658, 0.02844957262277603, 0.01...
. 1 configuration for the postgresql database 4. to create the resources as configured in the table 12. 1, click review + create and then click create. the provisioning of the database server may take several minutes. a status message appears when the deployment is complete. click on go to resource. configure connectio...
openstax_introduction_to_computer_science_-_web
[ -0.007643041200935841, 0.04581982642412186, 0.011523948982357979, -0.002241608453914523, -0.019439708441495895, -0.012984717264771461, -0.0017792434664443135, 0.02254047989845276, 0.015139137394726276, 0.04069242998957634, -0.013595744036138058, -0.04062388464808464, 0.05848993733525276, 0...
12. 3 • example paas and faas deployments of cloud - native applications 713 do the following : click server parameters. in the search field, search for “ require _ secure _ transport. ” click off ( figure 12. 38 ). figure 12. 38 be sure to disable the ssl settings. ( used with permission from microsoft ) click save. 2...
openstax_introduction_to_computer_science_-_web
[ 0.004849819932132959, 0.030080975964665413, 0.04882645234465599, 0.007582786958664656, -0.03761560842394829, -0.01289273053407669, -0.03850717470049858, 0.03118809312582016, 0.041891783475875854, 0.05127275735139847, 0.01938173919916153, -0.021234998479485512, 0.028752492740750313, 0.01476...
##ventory ; run the command below to switch to the newly created database. this step is necessary so that the tables are created in the correct database. \ c cnainventory run the sql statement below to create a new table. the table created for this example is inventory. it contains four fields : id, which is the primar...
openstax_introduction_to_computer_science_-_web
[ -0.01781502179801464, 0.027434995397925377, 0.011334314942359924, 0.019825832918286324, -0.051348306238651276, -0.029988262802362442, -0.017966995015740395, 0.01658053696155548, 0.03834288939833641, 0.1020343080163002, 0.008571179583668709, 0.007975033484399319, 0.012983114458620548, -0.01...
is the back - end service. this service exposes a set of functions that can receive requests via a rest api that inserts inventory data into the datastore. 1. open the azure cloud shell. to do this, click on the cloud shell icon to the right of the search bar in the azure portal. in the bottom frame of the browser page...
openstax_introduction_to_computer_science_-_web
[ -0.021483484655618668, 0.035446006804704666, 0.003894469002261758, -0.00664856843650341, -0.03924151137471199, -0.013229239732027054, -0.04320096969604492, 0.011649951338768005, 0.04044875502586365, 0.07705801725387573, -0.021543804556131363, -0.012043964117765427, 0.021538875997066498, 0....
the cloud - native application to the database now that the back - end service has been successfully created, the next step is to add code to the express. js application that allows it to connect to the datastore. the object - relational mapping ( orm ) technique converts a data object in the express. js code to a tabl...
openstax_introduction_to_computer_science_-_web
[ 0.012058462016284466, 0.02770538628101349, 0.012053482234477997, -0.00736089376732707, -0.008589190430939198, 0.004321733023971319, -0.007629876956343651, 0.015279864892363548, 0.03476618230342865, 0.05447620898485184, -0.03178859129548073, -0.0300199706107378, -0.006361476145684719, 0.024...
12. 3 • example paas and faas deployments of cloud - native applications 715 sequelize ('postgres : / / student % 40 < server _ name > : pa55w0rd1234 @ < server _ name >. postgres. database. azu cnainventory ) sequelize. authenticate ( ). then ( ( ) = > { console. log ('connection has been established successfully.') ;...
openstax_introduction_to_computer_science_-_web
[ 0.008008253760635853, 0.03489721193909645, 0.012355980463325977, 0.013596002012491226, -0.03451022505760193, 0.02075158804655075, -0.03312542289495468, 0.010835601016879082, 0.018253318965435028, 0.07607739418745041, -0.009044070728123188, -0.00329253519885242, -0.01619749143719673, 0.0043...
the postgresql database. two express. js routes are added in the code. the first route performs a read from the database in response to receiving a get http request. the second route performs a write to the database in response to receiving a post http request. 1. edit the index. js file and add the code shown. the cod...
openstax_introduction_to_computer_science_-_web
[ -0.020390966907143593, 0.02359023131430149, -0.012686817906796932, 0.011324742808938026, -0.0475103035569191, -0.011426487006247044, -0.028881464153528214, -0.005386462900787592, 0.06601537019014359, 0.10601542890071869, -0.0028174985200166702, -0.021355530247092247, 0.003366038901731372, ...
this web service provides a web - based user interface to fetch inventory data. 1. in the azure cloud shell, use this command to create a next. js application. npx create - next - app 2. answer the prompts. it is important to select no for the app router prompt. note that the project name is cna - next. this is the roo...
openstax_introduction_to_computer_science_-_web
[ -0.007390523329377174, -0.002643326995894313, -0.023053674027323723, 0.011096354573965073, -0.02908170595765114, 0.015664931386709213, -0.04909812659025192, -0.013046148233115673, 0.04264979809522629, 0.08482830971479416, -0.004455295391380787, -0.0071030729450285435, -0.0006042211316525936,...
##v (. env ) file and change the database connection string as shown in the code snippet below. replace user _ name with admin name,
openstax_introduction_to_computer_science_-_web
[ -0.003156517166644335, -0.022802185267210007, -0.0007103481329977512, 0.004074055701494217, -0.022360147908329964, -0.024086015298962593, -0.011306874454021454, 0.0008114926749840379, 0.002281512599438429, 0.012993051670491695, 0.06294955313205719, -0.035094354301691055, 0.052317116409540176...
12. 3 • example paas and faas deployments of cloud - native applications 717 password with password, and server _ name with server name for the cnainventory postgresql database. database _ url = " postgresql : / / user _ name % 40server _ name : password @ server _ name. postgres. database. az cnainventory " make a cop...
openstax_introduction_to_computer_science_-_web
[ -0.0034661043900996447, 0.008849577978253365, -0.022159425541758537, -0.0028695871587842703, -0.04208606109023094, 0.003492533229291439, -0.05687003210186958, -0.006970846559852362, 0.03639868646860123, 0.05052346736192703, 0.018740711733698845, 0.0038514717016369104, -0.0071326689794659615,...
that render in a browser. the react component inventoryprops is an array of data records once fetched from the database. the react component inventory implements how the data is displayed as a web page in the browser. the react component layout adds additional navigation to the web page. in the cna - next / directory :...
openstax_introduction_to_computer_science_-_web
[ -0.040120601654052734, -0.023409536108374596, -0.03776903077960014, 0.005235267337411642, -0.0019762099254876375, 0.0150343282148242, -0.017212582752108574, -0.020512672141194344, 0.06281435489654541, 0.0684373751282692, 0.00839279405772686, -0.01918523944914341, 0.01426228228956461, 0.005...
< / div > < / div > < / div > < / div > < / div > ) ; } ; export default inventory ; ▪ create the file layout. tsx and add the following code. import react, { reactnode } from " react " ; import head from " next / head " ; type props = { children : reactnode ; } ; const layout : react. fc < props > = ( props ) = > ( < ...
openstax_introduction_to_computer_science_-_web
[ -0.027667870745062828, -0.008703420870006084, -0.006517316214740276, -0.004187599755823612, -0.016639279201626778, -0.015277992933988571, 0.010101490654051304, -0.01260265801101923, 0.03505091741681099, 0.0691218376159668, -0.009709136560559273, -0.0013187485747039318, 0.011626994237303734, ...
12. 3 • example paas and faas deployments of cloud - native applications 719 padding : 0 ; font - size : 16px ; font - family : - apple - system, blinkmacsystemfont, " segoe ui ", roboto, helvetica, arial, sans - serif, " apple color emoji ", " segoe ui emoji ", " segoe ui symbol " ; background : rgba ( 0, 0, 0, 0. 05 ...
openstax_introduction_to_computer_science_-_web
[ 0.004890402313321829, -0.002623623237013817, 0.024722712114453316, 0.0308893620967865, -0.05482132360339165, 0.003909577615559101, -0.004064826760441065, -0.00941233430057764, 0.026127342134714127, 0.06338789314031601, 0.00488530658185482, 0.01852550357580185, -0.022082554176449776, -0.017...
layout > < div classname = " page " > < br / > < main > { props. inventoryrecs. map ( ( inventoryrec ) = > ( < div key = { inventoryrec. id } classname = " post " > < inventory inventoryrec = { inventoryrec } / > < / div > ) ) } < / main > < / div > < style jsx > { `. post : hover { box - shadow : 1px 1px 3px # aaa ; }...
openstax_introduction_to_computer_science_-_web
[ 0.002578296698629856, 0.019341768696904182, -0.004513564985245466, 0.004627879709005356, -0.049541689455509186, -0.036061882972717285, 0.011377088725566864, -0.004111203830689192, 0.03596416488289833, 0.0574629083275795, 0.010046412236988544, -0.02008284628391266, 0.017273878678679466, 0.0...
table 12. 2 configuration for the azure container registry
openstax_introduction_to_computer_science_-_web
[ -0.030018135905265808, 0.0018914249958470464, 0.031947825103998184, -0.0027243669610470533, -0.07400386780500412, -0.013217814266681671, -0.009957085363566875, 0.009064177051186562, 0.02045692503452301, 0.02698921039700508, 0.0005653263069689274, -0.001494480180554092, 0.009918606840074062, ...
12. 3 • example paas and faas deployments of cloud - native applications 721 3. click review + create. make a note of the registry name and resource group as these will be needed in a later step. click create. when the provisioning is completed, a status message appears. 4. click on go to resource. make a note of the r...
openstax_introduction_to_computer_science_-_web
[ 0.0035734360571950674, 0.03424650430679321, 0.023816093802452087, 0.0012174490839242935, -0.04199916124343872, -0.04160137474536896, -0.012453224509954453, 0.014833145774900913, 0.03315320238471031, 0.044214922934770584, 0.016838688403367996, 0.003699877066537738, 0.010689590126276016, -0....
. json file are used to install the dependent packages. next, the source code for the express. js application is copied. port 8080 is exposed for the express. js application listens on. finally, the command to start the express. js application server is added as the last instruction. from node : 14 - alpine # create ap...
openstax_introduction_to_computer_science_-_web
[ 0.02688467875123024, 0.033161792904138565, -0.01776985079050064, -0.019462930038571358, -0.010844951495528221, -0.0051138740964233875, -0.015989400446414948, 0.008439515717327595, 0.05138958618044853, 0.04922008141875267, 0.003650134429335594, -0.030155593529343605, 0.00817812792956829, -0...
. note : run “ docker images ” to confirm the correct image name is used for the docker tagging. substitute < registry _ name > with the correct name of the acr registry. docker tag expressimage : latest < registry _ name >. azurecr. io / expressimage : v1 containerize the front - end service to containerize the front ...
openstax_introduction_to_computer_science_-_web
[ 0.018601318821310997, 0.02148011513054371, -0.003082999959588051, -0.024976646527647972, 0.0012659623753279448, -0.0316305011510849, -0.02061638794839382, -0.004654503893107176, 0.04677552729845047, 0.043622516095638275, -0.004641379229724407, -0.016039593145251274, 0.008953266777098179, -...
build / app / prod _ node _ modules / app / node _ modules copy " - - " from " = " build / app /. next / app /. next copy " - - " from " = " build / app / public / app / public copy " - - " from " = " build / app / prisma / app / prisma expose 3000 cmd [ " yarn ", " start "
openstax_introduction_to_computer_science_-_web
[ 0.024466879665851593, -0.0041859638877213, -0.029392458498477936, -0.014683633111417294, 0.01486979890614748, -0.025345230475068092, -0.03179365396499634, -0.014366071671247482, 0.019589630886912346, 0.05347352474927902, 0.000939643825404346, -0.006616123020648956, 0.048719462007284164, -0...
12. 3 • example paas and faas deployments of cloud - native applications 723 2. create the docker - compose. yml file and add the content below. this step is required so that the. env. local file is properly copied into the docker container. services : web : ports : – " 3000 : 3000 " build : dockerfile : dockerfile con...
openstax_introduction_to_computer_science_-_web
[ 0.02798943594098091, 0.02649029716849327, -0.0019188744481652975, 0.004378882702440023, 0.00037001437158323824, -0.006813566200435162, -0.027674442157149315, 0.010827152989804745, 0.07246751338243484, 0.028951767832040787, 0.03508196026086807, -0.02721978724002838, 0.015892187133431435, -0...
command : “ docker images. ” the following four images should be listed ( the originally built images, and then the images tagged for the acr registry ). ( attribution : copyright rice university, openstax, under cc by 4. 0 license ) 7. log in to the acr registry with the command below. az acr login - - name $ registry...
openstax_introduction_to_computer_science_-_web
[ 0.038152243942022324, 0.028918497264385223, -0.000704751699231565, 0.007450875360518694, -0.023181067779660225, -0.044859956949949265, -0.004378059413284063, 0.025286555290222168, 0.030115962028503418, 0.05148906633257866, 0.011517142876982689, -0.028923433274030685, 0.025670533999800682, ...
, click containers. click on azure kubernetes service ( aks ). 3. on the basics tab, configure the resource attributes. table 12. 3 shows the list of settings to configure on the basics tab. any settings not included should be set to the default values provided in the wizard. basics tab settings subscription select the...
openstax_introduction_to_computer_science_-_web
[ 0.0009992776904255152, 0.03168876841664314, -0.002483805874362588, 0.009837295860052109, -0.04753081128001213, -0.06287534534931183, 0.01756366528570652, 0.0029462731909006834, 0.0033408929593861103, 0.051702141761779785, 0.007063270080834627, 0.009949048981070518, 0.04861826077103615, 0.0...
12. 3 • example paas and faas deployments of cloud - native applications 725 2. the kubernetes cluster must be able to connect to the acr registry to pull the docker images from it. connect the kubernetes cluster to the acr registry using this command. az aks get - credentials - - resource - group $ resourcegroup - - n...
openstax_introduction_to_computer_science_-_web
[ 0.04188840091228485, 0.03608112037181854, -0.009769856929779053, 0.029851209372282028, 0.01284232921898365, -0.03760165721178055, 0.00828972365707159, 0.005724184215068817, 0.040971528738737106, 0.06419391185045242, 0.022959116846323013, -0.03045339323580265, 0.024495849385857582, -0.03366...
##ml file and enter the following content. the deployment manifest deploys the back - end service with the label cna - express. in this deployment manifest file, the docker image is pulled from the registry and gets deployed in a pod in kubernetes. # deployment. yaml apiversion : apps / v1 kind : deployment metadata : ...
openstax_introduction_to_computer_science_-_web
[ -0.0026789354160428047, -0.0204867385327816, -0.02763594128191471, 0.024145878851413727, 0.015297245234251022, -0.025523312389850616, 0.007296980824321508, 0.00633355462923646, 0.04437832906842232, 0.04737791046500206, -0.006090854294598103, 0.010506819933652878, 0.043979380279779434, -0.0...
: app : cna - web spec : containers : - image : ncaregistry. azurecr. io / webimage name : webimage ports : - containerport : 80 4. apply the deployment manifest to the kubernetes cluster with this command. a message indicates that the deployment object was successfully created. kubectl apply - f. / web - deployment. y...
openstax_introduction_to_computer_science_-_web
[ -0.0022756645921617746, -0.019956156611442566, -0.03300461918115616, 0.044704191386699677, 0.008467759005725384, -0.02791525609791279, 0.0033320144284516573, 0.00410397257655859, 0.0470677949488163, 0.03542718663811684, -0.014766481705009937, -0.008035542443394661, 0.06317633390426636, -0....
12. 3 • example paas and faas deployments of cloud - native applications 727 name : cna - express spec : type : clusterip selector : app : cna - express ports : - port : 8080 # service exposed port name : http # service port name protocol : tcp # the protocol the service will listen to targetport : 8080 2. apply the se...
openstax_introduction_to_computer_science_-_web
[ -0.01465305034071207, -0.023686017841100693, -0.013083986937999725, 0.01964828372001648, -0.018347036093473434, -0.010730388574302197, 0.00359137705527246, 0.0030286256223917007, 0.03603895381093025, 0.04540743678808212, 0.004611627664417028, 0.01063537783920765, 0.0685749426484108, -0.015...
1. first, enable the kubernetes cluster so that it can use http application routing with the following command. az aks enable - addons - - resource - group $ resourcegroup \ - - name $ clustername - - addons http _ application _ routing 2. next, configure and deploy the ingress controller. as mentioned earlier, an fqdn...
openstax_introduction_to_computer_science_-_web
[ -0.0020782509818673134, -0.004694459494203329, -0.049050506204366684, 0.04386627674102783, -0.010099077597260475, 0.019129009917378426, -0.02608010545372963, 0.009943884797394276, 0.02006603218615055, 0.08535020798444748, 0.005455352365970612, 0.024414487183094025, 0.08057841658592224, -0....
the requests service : name : cna - express # which service the request will be forwarded to port : name : http # which port in that service 4. apply the ingress manifest to the kubernetes cluster with this command. a message indicates that the ingress object was successfully created. kubectl apply - f. / express - ing...
openstax_introduction_to_computer_science_-_web
[ -0.007732198107987642, -0.048609957098960876, -0.05480651929974556, 0.02368045225739479, 0.002021410036832094, 0.02506593056023121, -0.0037020198069512844, 0.006027421448379755, 0.022523144260048866, 0.07186231017112732, -0.0021756181959062815, 0.03722669556736946, 0.07760230451822281, -0....
12. 3 • example paas and faas deployments of cloud - native applications 729 ingress object was successfully created. kubectl apply - f. / web - ingress. yaml 7. confirm the ingresses were deployed successfully with the commands below. the ingresses for both microservices will display host names ( hosts ) that are uniq...
openstax_introduction_to_computer_science_-_web
[ -0.01599019207060337, -0.007711161393672228, -0.020490843802690506, 0.039803147315979004, -0.024707254022359848, 0.0016227299347519875, -0.015405281446874142, 0.00939755979925394, 0.028418375179171562, 0.0899682268500328, 0.009564116597175598, 0.030752817168831825, 0.04947781562805176, -0....
create and store inventory records into the datastore. it also retrieves inventory records from the datastore and renders them in json format. ( attribution : copyright rice university, openstax, under cc by 4. 0 license ) 11. in a browser, access the front - end web service using the url that is generated ( e. g., htt...
openstax_introduction_to_computer_science_-_web
[ -0.03528686240315437, 0.012347103096544743, -0.027851782739162445, 0.00803129468113184, -0.0266022440046072, -0.0045616659335792065, -0.0531071275472641, -0.022260913625359535, 0.07626696676015854, 0.061462778598070145, -0.020802808925509453, -0.032378219068050385, 0.03308809548616409, 0.0...
launch instance. amazon elastic compute cloud ( ec2 ) is a cloud based, on - demand, compute platform that can be auto - scaled to meet demand. 2. under application and os images ( amazon machine image ), select ubuntu, and leave the remaining configurations to the default settings for this section. 3. under the instan...
openstax_introduction_to_computer_science_-_web
[ -0.007300746161490679, 0.027669290080666542, -0.004805385135114193, -0.0017265229253098369, -0.004697396885603666, 0.02102239802479744, -0.02678506448864937, 0.022550106048583984, 0.04257241636514664, 0.05133725702762604, 0.03099542297422886, -0.04613618180155754, 0.0387021042406559, -0.01...
management system used to install and manage packages on macos and linux operating systems. homebrew, also referred to as “ brew, ” is used to install octant later. 1. homebrew uses a compiler environment to build packages that may need to be built. the first step is to install a compiler environment with this command....
openstax_introduction_to_computer_science_-_web
[ -0.019325019791722298, 0.025272279977798462, -0.011085877195000648, -0.01340118795633316, -0.038076017051935196, -0.016973232850432396, 0.01117737963795662, 0.010702543891966343, 0.03731131926178932, 0.04799310863018036, 0.027903789654374123, -0.009469995275139809, -0.008186332881450653, -...
12. 3 • example paas and faas deployments of cloud - native applications 731 package tool ( apt ) is used. apt is a packaging tool used to install new packages and update existing packages. 1. run the command to update the apt utility itself before installing docker. sudo apt update 2. run the command below to install ...
openstax_introduction_to_computer_science_-_web
[ 0.023121943697333336, 0.02959619089961052, -0.008072095923125744, -0.0076615409925580025, -0.004344918765127659, 0.018133366480469704, -0.0170229971408844, -0.014401985332369804, 0.06535282731056213, 0.035382986068725586, 0.028765494003891945, -0.03752700611948967, 0.019410159438848495, -0...
ce 7. run the next three commands to configure docker and install docker compose. add the current ubuntu user to the docker group. sudo usermod - ag docker $ { user } download docker compose. docker compose is a tool used for defining, via descriptor files, and managing applications that consist of multiple docker cont...
openstax_introduction_to_computer_science_-_web
[ 0.017531728371977806, 0.004971075337380171, -0.026911389082670212, -0.006749267224222422, -0.00758258905261755, 0.00745505653321743, -0.01958661898970604, 0.0016780848382040858, 0.06081736087799072, 0.04384395480155945, 0.00396868959069252, -0.014525295235216618, 0.023153958842158318, -0.0...
release / $ ( curl - l - s \ https : / / dl. k8s. io / release / stable. txt ) / bin / linux / amd64 / kubectl " 2. install kubectl with the command below. sudo install - o root - g root - m 0755 kubectl / usr / local / bin / kubectl 3. run the following commands to change the permissions to kubectl file to executable ...
openstax_introduction_to_computer_science_-_web
[ 0.010193118825554848, -0.012897061184048653, -0.0162650179117918, 0.020724797621369362, -0.00701001426205039, -0.011384095996618271, -0.0035102369729429483, -0.003392445622012019, 0.042918797582387924, 0.07438134402036667, 0.0043020970188081264, 0.017674848437309265, 0.038096241652965546, ...
api. github. com / repos / vmware - tanzu / community - edition / contents / hack / get - tce - release. sh \ | bash - s v0. 10. 0 linux 4. unpack the gzip file and install tanzu using the provided shell script with the command below. tar xzvf tce - linux - amd64 - v0. 10. 0. tar. gz 5. navigate into the tce - linux - ...
openstax_introduction_to_computer_science_-_web
[ 0.007587488740682602, 0.014825270511209965, -0.017701778560876846, -0.0037620796356350183, -0.04229092225432396, -0.02964458055794239, -0.032063987106084824, 0.006831494625657797, 0.03583419322967529, 0.05157176032662392, 0.0011673562694340944, -0.0011702990159392357, 0.02663934789597988, ...
12. 3 • example paas and faas deployments of cloud - native applications 733 1. in the aws shell, install awscli. first, download the aws cli zip file with the curl command below. curl " https : / / awscli. amazonaws. com / awscli - exe - linux - x86 _ 64. zip " - o " awscliv2. zip " install the unzip cli utility that ...
openstax_introduction_to_computer_science_-_web
[ 0.0035128272138535976, 0.038545627146959305, 0.028457000851631165, 0.00010394915443612263, -0.04182322323322296, -0.017016837373375893, -0.044481147080659866, 0.010318725369870663, 0.06141919270157814, 0.05945587903261185, 0.03241225704550743, -0.0018946737982332706, 0.017547333613038063, ...
to create a tanzu management cluster. a management cluster configuration file is needed. one way to create a management cluster configuration file is to use the tanzu installer, which is a web page that is used to generate the configuration file. 14 1. use the tanzu installer to create the management cluster configurat...
openstax_introduction_to_computer_science_-_web
[ 0.00726129999384284, 0.037828609347343445, -0.00010549327998887748, 0.007232003845274448, -0.019640788435935974, -0.02595735341310501, -0.019520163536071777, -0.009260662831366062, 0.05660475790500641, 0.0466618537902832, -0.008187315426766872, -0.012325266376137733, 0.02770271524786949, -...
settings expected for configuring the tanzu management cluster. iaas provider settings iaas provider validate the aws provider credentials for tanzu community edition aws credential profile default region us - east - 2 vpc for aws settings vpc for aws specify vpc settings for aws vpc cidr 10. 0. 0. 0 / 16 table 12. 4 c...
openstax_introduction_to_computer_science_-_web
[ -0.00810164399445057, -0.013566898182034492, -0.005416641477495432, 0.005116048268973827, -0.03129064664244652, -0.0059129768051207066, -0.01889585331082344, -0.018906280398368835, -0.009816296398639679, 0.02406279370188713, -0.033730871975421906, 0.014864349737763405, 0.0195521991699934, ...
12. 3 • example paas and faas deployments of cloud - native applications 735 iaas provider settings management cluster settings management cluster settings development cluster selected : 1 node control plane dev instance type t3a. large management cluster name tkg - cnamgmt - cluster - aws ec2 key pair tanzu - key - pa...
openstax_introduction_to_computer_science_-_web
[ 0.008174420334398746, -0.00849873572587967, 0.028513388708233833, 0.020868152379989624, -0.03405828773975372, -0.04321499541401863, -0.0244735237210989, -0.026435768231749535, 0.016695290803909302, 0.034113768488168716, -0.0036767874844372272, -0.004617604892700911, 0.02786102518439293, -0...
. in this example, the generated filename for the configuration file is kldlaarqyl. yaml. run the copied command in the aws shell to provision the tanzu management cluster. 9. after the copied command is executed, a config file, with “ config _ ” prepended as the filename, is generated, and copied into the kube - tkg /...
openstax_introduction_to_computer_science_-_web
[ 0.019901487976312637, -0.013184010982513428, 0.010186081752181053, 0.019044818356633186, -0.033593617379665375, -0.023678407073020935, 0.009950155392289162, 0.006501301191747189, 0.03097967803478241, 0.05063575133681297, 0.03806072100996971, -0.0067085702903568745, 0.03943531587719917, -0....
12. 3 • example paas and faas deployments of cloud - native applications 737 run the kuard demo application kuard ( kubernetes up and running demo ) is a demo application that provides information about kubernetes environments that are running. the kuard demo application is deployed in the tanzu management cluster as a...
openstax_introduction_to_computer_science_-_web
[ 0.0009136325097642839, -0.01957918144762516, -0.022904610261321068, 0.005863838363438845, -0.006002519279718399, -0.014658283442258835, -0.031454820185899734, -0.000864634697791189, -0.000710788241121918, 0.049252018332481384, 0.016363557428121567, -0.03524332493543625, 0.027524396777153015,...
by typing the command octant in the aws shell. a browser window automatically launches. 738 12 • cloud - native applications development access for free at openstax. org ( credit : octant, a vmware - backed project ) faas deployment of a sample cloud - native application the following example15 illustrates faas deploym...
openstax_introduction_to_computer_science_-_web
[ 0.006817666348069906, 0.031998518854379654, -0.014663084410130978, 0.04587452486157417, -0.026180902495980263, 0.001969898585230112, -0.056331150233745575, 0.012821447104215622, 0.03076842427253723, 0.05688716471195221, 0.007367974612861872, -0.00641859183087945, -0.03576657921075821, -0.0...
azure function ), and westus2 was used for the location. 15 sample based off tutorial https : / / learn. microsoft. com / en - us / training / modules / deploy - real - time - event - driven - app /
openstax_introduction_to_computer_science_-_web
[ 0.035572029650211334, 0.05211513489484787, -0.02374251000583172, 0.014451148919761181, -0.09693948179483414, -0.04432117938995361, -0.055628567934036255, 0.027798540890216827, 0.013139516115188599, 0.06197921559214592, -0.01080256886780262, 0.011227870360016823, 0.03373274579644203, 0.0059...
12. 3 • example paas and faas deployments of cloud - native applications 739 resource _ group = < value > event _ hub _ namespace = < value > event _ hub _ name = < value > event _ hub _ authorization _ rule = < value > cosmos _ db _ account = < value > storage _ account = < value > function _ app = < value > location ...
openstax_introduction_to_computer_science_-_web
[ 0.004979416728019714, 0.028414152562618256, 0.01487470418214798, 0.01859857141971588, -0.029278116300702095, 0.0008161319419741631, -0.07484613358974457, 0.00866337027400732, -0.0057888817973434925, 0.057340580970048904, 0.008058124221861362, 0.005485668312758207, 0.00876954011619091, 0.00...
resource - group $ resource _ group \ - - name $ event _ hub _ name \ - - namespace - name $ event _ hub _ namespace \ - - message - retention 1 az eventhubs eventhub authorization - rule create \ - - resource - group $ resource _ group - - name $ event _ hub _ authorization _ rule - - eventhub - name $ event _ hub _ n...
openstax_introduction_to_computer_science_-_web
[ 0.010742370039224625, 0.026413781568408012, 0.006134515628218651, 0.05964092165231705, -0.022940779104828835, -0.03362773358821869, -0.061739224940538406, 0.013858762569725513, 0.003265735460445285, 0.040022533386945724, 0.015049063600599766, 0.010982363484799862, 0.02575111947953701, -0.0...
- - output tsv ) event hub _ connection _ string = $ ( \ az eventhubs eventhub authorization - rule keys list \ - - resource - group $ resource _ group \ - - name $ event _ hub _ authorization _ rule \ - - eventhub - name $ event _ hub _ name \ - - namespace - name $ event _ hub _ namespace \ - - query primaryconnectio...
openstax_introduction_to_computer_science_-_web
[ 0.003474930999800563, 0.015727773308753967, 0.005488659255206585, 0.047075193375349045, -0.04390755295753479, -0.03775786608457565, -0.04327429458498955, 0.009032241068780422, 0.019680649042129517, 0.030832961201667786, -0.011529603973031044, 0.02316238172352314, 0.03228277713060379, -0.00...
12. 3 • example paas and faas deployments of cloud - native applications 741 - - settings \ azurewebjobsstorage = $ azure _ web _ jobs _ storage \ eventhubconnectionstring = $ event _ hub _ connection _ string build and deploy the faas producer function now that the azure resources, such as the event hub, azure functio...
openstax_introduction_to_computer_science_-_web
[ 0.016988582909107208, 0.06486585736274719, -0.001858468516729772, 0.03926742449402809, -0.03804321959614754, -0.026119738817214966, -0.08300076425075531, 0.009777176193892956, 0.0007500050123780966, 0.02345995604991913, -0.0006191623979248106, -0.0015256765764206648, 0.03622027859091759, -...
the azure event hub. package com. learn ; import com. microsoft. azure. functions. annotation. eventhuboutput ; import com. microsoft. azure. functions. annotation. functionname ; import com. microsoft. azure. functions. annotation. timertrigger ; import com. microsoft. azure. functions. executioncontext ; public class...
openstax_introduction_to_computer_science_-_web
[ -0.01137855276465416, 0.055685289204120636, 0.00033108395291492343, 0.03307657316327095, -0.04632268473505974, -0.022108538076281548, -0.05747464671730995, -0.002047246089205146, -0.00216922489926219, 0.03516168147325516, -0.0009547803783789277, 0.00141806376632303, 0.02107705920934677, 0....
string getid ( ) { return id ; } public double gettemperature ( ) { return temperature ; } public double getpressure ( ) { return pressure ; } @ override public string tostring ( ) { return " telemetryitem = { id = " + id + ", temperature = " + temperature + ", pressure = " + pressure + " } " ; } public boolean isnorma...
openstax_introduction_to_computer_science_-_web
[ -0.020989852026104927, -0.0003266210842411965, 0.026839133352041245, -0.007718418259173632, -0.04157409816980362, -0.006719873286783695, -0.0206578578799963, -0.005692747421562672, 0.03266409412026405, 0.01680399663746357, 0.02360898070037365, -0.0012226422550156713, 0.012833012267947197, ...
12. 3 • example paas and faas deployments of cloud - native applications 743 public status gettemperaturestatus ( ) { return temperaturestatus ; } public void settemperaturestatus ( status temperaturestatus ) { this. temperaturestatus = temperaturestatus ; } } 5. in the telemetry - functions - producer / directory, run...
openstax_introduction_to_computer_science_-_web
[ 0.018890077248215675, 0.06147750839591026, -0.002183981705456972, 0.03685628995299339, -0.023459188640117645, -0.006839766167104244, -0.06898459047079086, 0.03503713756799698, 0.02477896958589554, 0.0415673665702343, 0.004811866208910942, 0.009497938677668571, 0.04200092703104019, -0.01081...
##4 12 • cloud - native applications development access for free at openstax. org - - name $ function _ app " - c " \ - - storage - account $ storage _ account " c " \ - - consumption - plan - location $ location \ - - runtime java \ - - functions - version 4 2. use the commands below to obtain the connection strings f...
openstax_introduction_to_computer_science_-_web
[ -0.0030332133173942566, 0.023713059723377228, 0.006274166516959667, 0.03272145241498947, -0.03909769654273987, -0.01885330118238926, -0.04461102932691574, 0.0032667608465999365, 0.03132118284702301, 0.04779046028852463, -0.006210194434970617, 0.009875219315290451, 0.018690025433897972, 0.0...
the connection strings that were generated for the azure web jobs storage, event hub, and azure cosmos db datastore in the previous step need to be added as application settings to the azure function app account in the command. run the command below with these values inserted to create the function app. a notification ...
openstax_introduction_to_computer_science_-_web
[ 0.020777100697159767, 0.03842191398143768, -0.012482116930186749, 0.04461504518985748, -0.03591878339648247, -0.009630009531974792, -0.03750992566347122, 0.027965744957327843, 0.009290242567658424, 0.026119232177734375, 0.008919181302189827, -0.004007202573120594, 0.028757302090525627, -0....
12. 3 • example paas and faas deployments of cloud - native applications 745 producer function. maven is used to build the project. 1. run the command below to create the function project for the faas consumer function. the telemetry - functions - consumer / directory is generated along with the files for the project. ...
openstax_introduction_to_computer_science_-_web
[ 0.00906725786626339, 0.06516684591770172, 0.0020519872196018696, 0.03430210426449776, -0.039347000420093536, -0.02360665425658226, -0.07513419538736343, 0.008593215607106686, 0.0013288311893120408, 0.038953885436058044, -0.008275403641164303, -0.001692302874289453, 0.04107639938592911, 0.0...
microsoft. azure. functions. annotation. eventhubtrigger ; public class function { @ functionname ( " processsensordata " ) public void processsensordata ( @ eventhubtrigger ( name = " msg ", eventhubname = " ", / / blank because the value is included in the connection string cardinality = cardinality. one, connection ...
openstax_introduction_to_computer_science_-_web
[ -0.025011250749230385, 0.032628268003463745, 0.029961930587887764, 0.04988808184862137, -0.03475541993975639, -0.02003263495862484, -0.050345633178949356, -0.02104768343269825, -0.002694678958505392, 0.035524412989616394, -0.01777917519211769, -0.0026749512180685997, 0.020533950999379158, ...
learn ; public class telemetryitem { private string id ; private double temperature ; private double pressure ; private boolean isnormalpressure ; private status temperaturestatus ; static enum status { cool, warm, " hot } public telemetryitem ( double temperature, double pressure ) { this. temperature = temperature ; ...
openstax_introduction_to_computer_science_-_web
[ -0.0015138185117393732, 0.008376603946089745, 0.03334285691380501, -0.001421867054887116, -0.039656177163124084, -0.015384242869913578, -0.010903041809797287, -0.016581514850258827, 0.03467489778995514, 0.05357543006539345, 0.021285749971866608, -0.00007822545012459159, 0.046515028923749924,...
12. 3 • example paas and faas deployments of cloud - native applications 747 + temperature + ", pressure = " + pressure + " } " ; } public boolean isnormalpressure ( ) { return isnormalpressure ; } public void setnormalpressure ( boolean isnormal ) { this. isnormalpressure = isnormal ; } public status gettemperaturesta...
openstax_introduction_to_computer_science_-_web
[ 0.017408141866326332, 0.061540670692920685, 0.016840888187289238, 0.04152396321296692, -0.031341515481472015, -0.01815594919025898, -0.07134053111076355, 0.022600799798965454, 0.004500068724155426, 0.036602798849344254, 0.007790435571223497, 0.008662328124046326, 0.016924895346164703, -0.0...
successfully deployed as azure function apps, data continues to be simulated, pushed to the event hub, and then stored in the datastore. the next step is to test them and evaluate their performance. the faas producer function continues to send telemetry data to the azure event hub while the faas consumer function conti...
openstax_introduction_to_computer_science_-_web
[ 0.003382815280929208, 0.01563316211104393, -0.02116185799241066, 0.03133951872587204, -0.008437403477728367, -0.013839120976626873, -0.06495635956525803, 0.015394232235848904, -0.012677892111241817, 0.044780801981687546, 0.001505824737250805, 0.013131674379110336, 0.02815951220691204, 0.00...
##s consumer function as a node connected to an azure cosmos db datastore, also as a node. the application map for the faas consumer function shows that there is a dependency between the faas consumer function and the azure cosmos db datastore. it also shows the faas consumer function is not dependent on the faas produ...
openstax_introduction_to_computer_science_-_web
[ -0.020461568608880043, 0.030137475579977036, -0.011837642639875412, 0.040055133402347565, -0.010240069590508938, 0.0036185532808303833, -0.03903200477361679, 0.03323690965771675, -0.007728856056928635, 0.04503030702471733, -0.01290898397564888, 0.013273525051772594, 0.01419804710894823, -0...
12. 3 • example paas and faas deployments of cloud - native applications 749 chapter review key terms advanced package tool ( apt ) used to install new packages and update existing packages amazon elastic compute cloud ( ec2 ) cloud based, on - demand, compute platform that can be auto - scaled to meet demand amazon we...
openstax_introduction_to_computer_science_-_web
[ 0.0047217258252203465, 0.010869919322431087, -0.01596125215291977, 0.021423034369945526, -0.013130796141922474, 0.00666962843388319, -0.04367933049798012, -0.025927407667040825, 0.05672689527273178, 0.03208637237548828, -0.007380139548331499, -0.024429718032479286, 0.004008105956017971, -0...
by “ layering ” an application and its dependencies on top of the required “ layer ” of binaries and libraries of the os where there is a parent - child relationship between image layers containerization packaging of a standardized unit of software that isolates an application enabling it to run independently of physic...
openstax_introduction_to_computer_science_-_web
[ -0.010530966334044933, 0.014403889887034893, -0.017881466075778008, -0.011740216054022312, -0.005950050428509712, -0.0060081942938268185, -0.0422251857817173, -0.024847552180290222, 0.0164630226790905, 0.061305176466703415, -0.02471032552421093, 0.007689551450312138, 0.0138469273224473, -0...
github cloud - based developer platform used for software development, collaboration, and security gitlab cloud - based devops platform used to monitor, test, and deploy application code high availability ability for an application to continue running in a healthy state without significant downtime high - performance c...
openstax_introduction_to_computer_science_-_web
[ -0.023413660004734993, -0.024095134809613228, -0.014895888976752758, 0.017385968938469887, -0.01672551780939102, -0.015245707705616951, -0.009803625755012035, -0.01572679914534092, 0.018257979303598404, 0.025078749284148216, -0.001964433351531625, -0.018525082617998123, 0.03118095174431801, ...
optimizes the use of the computing resource platform as a service ( paas ) on - demand access to a cloud - hosted platform for developing, running, and managing applications by prepackaging middleware, language runtimes, and tools as containers pod small, logical unit that runs a container in a worker node in the kuber...
openstax_introduction_to_computer_science_-_web
[ 0.013361434452235699, -0.009992528706789017, -0.001777589786797762, 0.023894736543297768, 0.001509686466306448, -0.02604467235505581, -0.03051110729575157, -0.018115246668457985, 0.017036620527505875, 0.031763382256031036, 0.009673405438661575, -0.01536081824451685, 0.029316606000065804, -...
rich set of developer tools and a pre - paved path to production to build and deploy applications quickly and securely on any compliant public cloud or on - premises kubernetes cluster terraform open - source infrastructure as code tool used to build, update, and version cloud and on - premises resources unikernel sing...
openstax_introduction_to_computer_science_-_web
[ 0.03157367184758186, 0.020485784858465195, -0.042519453912973404, 0.00001532809983473271, -0.018244395032525063, 0.013806506991386414, -0.021128153428435326, -0.040976304560899734, 0.002184877870604396, 0.01917204074561596, 0.02753804810345173, -0.015386892482638359, 0.050917305052280426, ...
12. 1 introduction to cloud - native applications • cloud - based applications leverage cloud platforms ; however, they do not take full advantage of the inherent characteristics of the cloud like cloud - native applications. monoliths can be deployed in the cloud as cloud - based applications but can be converted to l...
openstax_introduction_to_computer_science_-_web
[ 0.009268813766539097, 0.004975697956979275, -0.008315687999129295, -0.037184350192546844, -0.02662896364927292, 0.010393034666776657, -0.03843793645501137, -0.03644676133990288, 0.036898814141750336, 0.06851018965244293, -0.009345375932753086, 0.00829229410737753, 0.018625857308506966, -0....
that creates, deploys, and manages microservices containers. • kubernetes is an open - source orchestration platform that is used for automating the deployment, scaling, and managing the health of microservices container - based workloads. • there are various categories of tools that can be used to develop cloud - nati...
openstax_introduction_to_computer_science_-_web
[ -0.004768663085997105, 0.028017468750476837, -0.03554261103272438, -0.0034648773726075888, -0.022227849811315536, -0.028739459812641144, -0.016530245542526245, -0.007197719998657703, 0.031133707612752914, 0.062267716974020004, 0.023998510092496872, -0.012089784257113934, 0.05315012112259865,...
12. 2 cloud - based and cloud - native applications deployment technologies • there are three service models ( iaas, paas, and saas ) and four deployment models ( public cloud, private cloud, community cloud, and hybrid cloud ) that make up the cloud computing model. • cloud service models ( iaas, paas, and saas ) comb...
openstax_introduction_to_computer_science_-_web
[ -0.0028612709138542414, 0.015759330242872238, -0.0042647975496947765, 0.0050123753026127815, -0.026244794949889183, -0.0013985137920826674, -0.04095656797289848, -0.02494526095688343, 0.04542024806141853, 0.0662689208984375, 0.0026054582558572292, -0.004345284309238195, 0.05575282499194145, ...
##as. in contrast, tools that automate software development process tasks are more suitable when adopting paas. • there are some key considerations when selecting cloud deployment technologies, which include assessing whether cloud deployment technologies satisfy business needs, understand workload / service requiremen...
openstax_introduction_to_computer_science_-_web
[ 0.024815840646624565, 0.02211782895028591, -0.014094013720750809, 0.013416070491075516, -0.05251559987664223, 0.005181646440178156, -0.04427346587181091, -0.014342397451400757, 0.06063637137413025, 0.05222344025969505, -0.01846178248524666, 0.01786727085709572, 0.04704804718494415, -0.0136...
12. 3 example paas and faas deployments of cloud - native applications • a cloud - native application was created and deployed to a paas platform. the cloud - native application consists of two microservices, both of which communicate with a single datastore. the cloud service provider used is microsoft azure. although...
openstax_introduction_to_computer_science_-_web
[ 0.019525032490491867, 0.01573750004172325, 0.013934786431491375, 0.02122449316084385, -0.031694214791059494, -0.015482931397855282, -0.0465112179517746, -0.017787281423807144, 0.025864267721772194, 0.05673673003911972, -0.0013184396084398031, -0.00217615719884634, 0.012130527757108212, -0....
monolithic and microservices architectures? a. in monolithic architectures, capabilities are loosely coupled, while in microservices architectures, components are highly coupled. b. in monolithic architectures, a waterfall software methodology is employed, while microservices are developed in an agile software methodol...
openstax_introduction_to_computer_science_-_web
[ 0.028054935857653618, -0.014606524258852005, -0.05453214794397354, -0.02339702658355236, 0.0028136023320257664, 0.006555582862347364, -0.03146984055638313, -0.033784445375204086, 0.0143970912322402, 0.04797399044036865, -0.0023174600210040808, 0.038612328469753265, 0.009310572408139706, -0...
soa and microservices? 754 12 • chapter review access for free at openstax. org 7. what are some of the features of cloud - native applications? 8. what are some of the benefits of cloud - native applications? 9. what are some of the best practices associated with cloud - native application development? 10. what are th...
openstax_introduction_to_computer_science_-_web
[ 0.0375077947974205, 0.0008665247005410492, -0.0013380141463130713, -0.01309693418443203, -0.02607777714729309, -0.017877835780382156, -0.04330296441912651, -0.0215121041983366, 0.024020759388804436, 0.05357157066464424, -0.010941343382000923, 0.015003873035311699, 0.019365089014172554, -0....
, and cloud deployment technologies? 17. identify and explain the four iaas deployment options used currently. 18. what is the difference between unikernels and vms? 19. what is the difference between the paas and faas deployment options? 20. what are the four deployment options that can be used to deploy cloud - nativ...
openstax_introduction_to_computer_science_-_web
[ 0.02597496472299099, 0.011914930306375027, -0.03553379327058792, 0.015404737554490566, -0.05321964621543884, 0.007985220290720463, -0.03233466297388077, -0.011709452606737614, 0.020279882475733757, 0.057249411940574646, -0.014766817912459373, 0.024284452199935913, 0.029762161895632744, -0....
to build, deploy, and manage applications and services in the cloud b. an open - source package management system used to install and manage packages on macos and linux operating systems c. a command - line interface used to manage amazon cloud services d. a web - based console that allows customers to manage their clo...
openstax_introduction_to_computer_science_-_web
[ 0.030398426577448845, 0.0140580078586936, -0.004305058624595404, 0.02909807302057743, -0.02572025917470455, -0.021706843748688698, -0.03410697355866432, -0.016498476266860962, 0.01598873734474182, 0.05288755148649216, -0.0019966266117990017, -0.031771477311849594, 0.027192825451493263, -0....
. why do we need both files in this application? which one is used for what purpose? 6. focusing our attention on the kubernetes manifest files, there are two for each microservice : a deployment manifest file and a service manifest file. what are the differences between these two types of manifest files? what are they...
openstax_introduction_to_computer_science_-_web
[ 0.031633760780096054, 0.04276354983448982, 0.0036409390158951283, 0.015622608363628387, -0.035380925983190536, -0.035184990614652634, -0.03725114092230797, -0.012135113589465618, 0.02019738033413887, 0.06089004874229431, -0.0003153987636324018, 0.002256578067317605, 0.04397380352020264, -0...
/ cd works in combination with other devops tools to support the deployment of cloud - native applications using either containers / caas, paas, or faas. 7. faas / serverless is considered to be a deployment technology ; however, because it appears that code needs to be written in a different way to specify services as...
openstax_introduction_to_computer_science_-_web
[ 0.014565819874405861, 0.028041131794452667, 0.004175687208771706, 0.05644497647881508, -0.04336283728480339, -0.005801486317068338, -0.043606750667095184, -0.019106818363070488, 0.00895626936107874, 0.06005393713712692, -0.0023591993376612663, -0.0015534830745309591, 0.03467845916748047, -...
on the internet and provide additional use cases that make a case for selecting faas / serverless deployment technology as opposed to containers / caas or paas. 5. in the first example we built, you worked with kubernetes, which required you to create deployment and service manifest files. these manifest files are yaml...
openstax_introduction_to_computer_science_-_web
[ 0.03023754619061947, 0.024492425844073296, 0.020210249349474907, 0.009943187236785889, -0.02886146493256092, -0.011350225657224655, -0.050952326506376266, -0.025830231606960297, 0.02407756634056568, 0.09481236338615417, -0.014022191986441612, 0.0016401602188125253, 0.032922182232141495, -0...
an order resource. deploy this cloud - native application on a public cloud of your choice ( i. e., either aws, gcp, ibm cloud, or microsoft azure ). 6. follow this ibm tutorial to gain an understanding of how kubernetes clusters work ( https : / / openstax. org / r / 76kubclust ) by debugging and logging applications ...
openstax_introduction_to_computer_science_-_web
[ 0.02832087129354477, 0.037682875990867615, -0.012519918382167816, -0.0006448479252867401, -0.024419035762548447, -0.02489861100912094, -0.04169449582695961, 0.0033960905857384205, 0.04102661833167076, 0.08066708594560623, -0.028064116835594177, -0.02245945669710636, 0.07176641374826431, 0....
, you should be able to create an azure function app with an http - triggered function. then, follow this tutorial to connect the azure function to a datastore ( https : / / openstax. org / r / 76connazure ). finally, follow this tutorial to extend your cloud - native application so that your function app sends message...
openstax_introduction_to_computer_science_-_web
[ -0.004269047174602747, 0.0414443165063858, -0.03144572675228119, 0.03517374023795128, -0.039597444236278534, -0.021976293995976448, -0.032594241201877594, 0.016332771629095078, 0.03922068327665329, 0.0807948186993599, -0.018752744421362877, 0.015259812586009502, 0.020403780043125153, 0.026...
##ub. com / en / actions ) and azure pipelines ( https : / / openstax. org / r / 76azpipe ) for additional information. once you complete the tutorial, apply what you learned to create a ci / cd pipeline for the first example you built in this module. 12 • chapter review 759 760 12 • chapter review access for free at o...
openstax_introduction_to_computer_science_-_web
[ 0.009757880121469498, 0.02668711729347706, 0.03772065043449402, 0.008117970079183578, -0.02148749679327011, -0.03270706534385681, -0.017000963911414146, -0.026555659249424934, 0.03533628210425377, 0.09171348810195923, -0.01455687452107668, 0.04527706280350685, 0.04655594006180763, -0.00119...
13. 4 towards intelligent autonomous networked super systems introduction by combining different cloud systems or connecting a cloud node with a private network, companies can develop solution architectures that give them all the benefits of clouds and allow them to scale applications without being tied down to one clo...
openstax_introduction_to_computer_science_-_web
[ -0.0036168545484542847, 0.031117001548409462, -0.012949609197676182, 0.025981880724430084, 0.01509031280875206, -0.019950317218899727, -0.012613803148269653, -0.04631291329860687, 0.012442052364349365, 0.011557269841432571, -0.014576069079339504, 0.057082269340753555, 0.03987244516611099, ...
this landscape, enabling the virtualization of resources and presenting opportunities for companies to transition to cloud environments or hybrid models that combine cloud and physical servers. for new tech businesses without access to expensive local it infrastructure, relying entirely on cloud resources is a common s...
openstax_introduction_to_computer_science_-_web
[ -0.0018255027243867517, 0.03944230452179909, -0.028421510010957718, 0.009237510152161121, -0.019605154171586037, -0.027279576286673546, -0.04373691976070404, -0.05219082161784172, 0.0018284705001860857, 0.03357253223657608, -0.019759219139814377, 0.009034080430865288, 0.03969442844390869, ...
13. 1 hybrid multicloud solutions and cloud mashups learning objectives by the end of this section, you will be able to : • define and differentiate hybrid and multicloud infrastructure deployments • understand the importance of cloud mashups • understand how to accelerate the creation of solutions using cloud infrastr...
openstax_introduction_to_computer_science_-_web
[ -0.014582972042262554, 0.007991757243871689, -0.0030363379046320915, 0.00879835244268179, -0.0004956419579684734, -0.010208847932517529, -0.033490873873233795, -0.06317820399999619, 0.05762321501970291, 0.02138775959610939, -0.02583310194313526, 0.005963612347841263, 0.032414864748716354, ...
flexible workloads using both public and private resources, opening the opportunity of having more management rights over sensitive data while also utilizing public clouds to deploy public applications. to accommodate a broad range of needs, hybrid cloud solutions aim for a dynamic environment by allowing a wide range ...
openstax_introduction_to_computer_science_-_web
[ -0.016086136922240257, 0.015637783333659172, -0.003672921797260642, 0.015607506968080997, -0.005891451146453619, -0.008406853303313255, -0.0037829431239515543, -0.030126558616757393, 0.05667009577155113, 0.039435964077711105, 0.014316252432763577, 0.017435751855373383, 0.030554180964827538, ...
connections, and encrypting data to mitigate data breaches. note that the more complicated sets of systems the corporation manages require complex api architectures. developers need to consider interoperability, data integration, and efficiency to design api systems that allow easy communication between systems while m...
openstax_introduction_to_computer_science_-_web
[ -0.005228951573371887, 0.022463805973529816, -0.0016280122799798846, -0.010879045352339745, -0.011516410857439041, -0.022953001782298088, -0.014811510220170021, -0.05164046585559845, 0.03196680173277855, 0.06235618516802788, -0.009112993255257607, 0.03518840670585632, -0.0062059261836111546,...
13. 1 • hybrid multicloud solutions and cloud mashups 763 monitor and keep up the performance of their resources. because of the investment of multiple cloud systems from different providers, there will be different documentation and complex operational overheads. developers need a way to simplify administration by cen...
openstax_introduction_to_computer_science_-_web
[ -0.010147527791559696, 0.010738397017121315, -0.01077806856483221, -0.018391458317637444, -0.012659035623073578, -0.005901285447180271, -0.008543821051716805, -0.014231966808438301, 0.04871510714292526, 0.04565362632274628, 0.0014739084290340543, 0.0050535984337329865, 0.016056178137660027, ...
in 2008, adopted the hybrid cloud model by combining on - premises database structures to store big movie files and then utilizing amazon simple storage service ( amazon s3 ) to distribute data across cloud servers. they can manage their resources through built - in tools such as aws local zones, which bring services c...
openstax_introduction_to_computer_science_-_web
[ -0.019098525866866112, 0.017799735069274902, -0.017922086641192436, 0.0018927360652014613, -0.03372276946902275, 0.011254774406552315, -0.021108971908688545, 0.003430764190852642, 0.044869426637887955, 0.0629337728023529, -0.0043982830829918385, -0.0043121566995978355, 0.026881057769060135, ...
having access to multiple cloud vendors, the utilization of multicloud structures allows companies to maintain uptime in cases of data breach or system failure. if one vendor fails, the organization can switch to a different one. a vendor can also act as a complete backup in case the system needs a complete reboot. in ...
openstax_introduction_to_computer_science_-_web
[ -0.00550106493756175, 0.015276380814611912, -0.03177710622549057, 0.033089518547058105, -0.01613619737327099, -0.023611322045326233, -0.049595095217227936, -0.0264128427952528, 0.049557629972696304, 0.08040580153465271, 0.004506776574999094, -0.0014020692324265838, 0.014958653599023819, 0....
( or other sites ) and gather other information, such as updates about stocks, shares, currency rates, and even additional news items from sites such as reuters. the end product is a practical example of a mashup of multiple component parts. cloud mashups have become increasingly popular over the years because of the p...
openstax_introduction_to_computer_science_-_web
[ -0.017267834395170212, 0.0033064468298107386, -0.034391116350889206, 0.019846267998218536, 0.008575123734772205, -0.03894002363085747, -0.020533954724669456, -0.03734470158815384, 0.06841305643320084, 0.051085907965898514, -0.004330871161073446, 0.01117333397269249, 0.011782563291490078, -...
13. 1 • hybrid multicloud solutions and cloud mashups 765 sending them onto the cloud network, minimizing risks of data breach and complying with privacy regulations. telecom services providers are slowly becoming cloud service providers in an effort to make cloud resources more readily available on demand at the edge ...
openstax_introduction_to_computer_science_-_web
[ 0.0008219992741942406, -0.00666468683630228, -0.014924615621566772, 0.019487513229250908, 0.01747324876487255, -0.02606586366891861, -0.03683750703930855, -0.030771128833293915, 0.05876483768224716, 0.03385279327630997, 0.004131505265831947, 0.037405677139759064, 0.036813076585531235, -0.0...
to leverage cloud infrastructure and platform services to support the development and operation of modern applications. in general, cloud services are available today via the big cloud portals ( e. g., portal. azure. com ) and via software development kits ( sdks ) or apis readily accessible from pretty much any progra...
openstax_introduction_to_computer_science_-_web
[ 0.001994459191337228, 0.01013309694826603, -0.016363851726055145, 0.017836041748523712, -0.0064350515604019165, -0.010973826982080936, -0.04001712426543236, -0.02251901477575302, 0.05007939040660858, 0.032814931124448776, -0.02416326105594635, -0.023244185373187065, 0.05398326739668846, -0...
13. 2 big cloud iaas mainstream capabilities learning objectives by the end of this section, you will be able to : • learn how to use iaas storage services • learn how to use iaas compute services • understand iaas support services for web and mobile applications • relate to iaas container management services • underst...
openstax_introduction_to_computer_science_-_web
[ -0.0043877651914954185, 0.029635226354002953, 0.003054010448977351, -0.005393126513808966, 0.0061984071508049965, 0.031188586726784706, -0.027159225195646286, -0.052957046777009964, 0.0358552485704422, 0.08362887054681778, 0.0031696567311882973, 0.004663653206080198, 0.04048284515738487, -...
an unlimited number of resources that the user can access from the cloud provider. some common components in the application that may require storage access are analytical data, logging information, application data, images, and videos. the storage required for these components may grow over time as the application ope...
openstax_introduction_to_computer_science_-_web
[ 0.00016887082892935723, -0.006601493805646896, 0.02689657360315323, -0.004883453715592623, -0.021354710683226585, -0.02030889131128788, 0.007946591824293137, -0.002589899580925703, 0.04033645614981651, 0.0781899243593216, 0.014086803421378136, 0.00524794589728117, 0.042441584169864655, -0....
, a video, or a collection of such. cloud providers allow access to the information stored and its associated metadata via an api / sdk or via direct web links in the case of pictures for example. common metadata includes name, size, timestamp, and custom - tag. in some cases, this approach helps manage the storage of ...
openstax_introduction_to_computer_science_-_web
[ 0.007801542989909649, 0.0009131113765761256, 0.021127525717020035, 0.007784660439938307, -0.010322313755750656, -0.02491133101284504, 0.0033010998740792274, -0.0021711441222578287, 0.05773383378982544, 0.06830191612243652, 0.008451503701508045, -0.00391036132350564, 0.04479735344648361, 0....
13. 2 • big cloud iaas mainstream capabilities 767 figure 13. 2 as the diagram shows, users and applications can access storage service through different patterns, including cli or command line interface. ( attribution : copyright rice university, openstax, under cc by 4. 0 license ) most cloud providers will provide d...
openstax_introduction_to_computer_science_-_web
[ -0.005750599782913923, 0.024591762572526932, 0.0100056491792202, 0.0031809958163648844, -0.01488092727959156, -0.009594999253749847, -0.014901138842105865, -0.010435509495437145, 0.05293901264667511, 0.07177113741636276, -0.01386668998748064, -0.013663641177117825, 0.04716234281659126, -0....
13. 3 this image from azure object storage service ’ s web console provides an additional example of the web interface used to store data containers ( i. e., blobs ) in azure within a storage account. ( used with permission from microsoft ) another important component in the cloud storage service is the storage access ...
openstax_introduction_to_computer_science_-_web
[ -0.032156165689229965, 0.019222913309931755, 0.0030337669886648655, 0.010287907905876637, -0.005912541411817074, -0.008890759199857712, 0.0027816651854664087, -0.016627805307507515, 0.06508295238018036, 0.044809531420469284, -0.016250336542725563, 0.016862906515598297, 0.027458863332867622, ...
the application and tasks are required during runtime. depending on the computer hardware specification, when they need to run, and how they scale based on the application requests, there are various services the user can select. the following are three common compute services the user can see from a cloud provider : •...
openstax_introduction_to_computer_science_-_web
[ -0.021816575899720192, -0.0011272367555648088, -0.033267632126808167, -0.007743879221379757, 0.022336337715387344, -0.027265094220638275, -0.012925444170832634, -0.024713724851608276, -0.008584308438003063, 0.02667858451604843, -0.0047849249094724655, 0.005324584431946278, 0.0217718239873647...
13. 2 • big cloud iaas mainstream capabilities 769 figure 13. 4 the access pattern for a compute service may differ depending on a user ’ s role. ( attribution : copyright rice university, openstax, under cc by 4. 0 license ) one thing to note is that we ignore the access pattern where either the user uses a local inte...
openstax_introduction_to_computer_science_-_web
[ 0.005659336224198341, 0.029624052345752716, -0.025320537388324738, 0.001327326288446784, 0.023178763687610626, 0.03162434324622154, -0.012895873747766018, -0.04942120239138603, 0.027371395379304886, 0.0719505026936531, -0.004685338586568832, 0.0023990150075405836, 0.05949093773961067, -0.0...