Duration 39:23
16+
Play
Video

Google Cloud Platform 101

Terrence Ryan
Senior Developer Advocate at Google
  • Video
  • Table of contents
  • Video
2018 Google I/O
May 8, 2018, Mountain View, USA
2018 Google I/O
Video
Google Cloud Platform 101
Available
In cart
Free
Free
Free
Free
Free
Free
Add to favorites
76.42 K
I like 0
I dislike 0
Available
In cart
Free
Free
Free
Free
Free
Free
  • Description
  • Transcript
  • Discussion

About speaker

Terrence Ryan
Senior Developer Advocate at Google

Terry Ryan is a Developer Advocate for the Google Cloud Platform team. He has 15 years of experience working with the web - both front end and back. Before working for technology shops like Google and Adobe he worked in roles that combined web development with system administration at the Wharton School of Business. He also wrote Driving Technical Change for Pragmatic Bookshelf, a book that arms technology professionals with the tools to convince reluctant co-workers to adopt new tools and technology.

View the profile

About the talk

Building great solutions requires having the right tools for the job. With Google Cloud Platform (GCP), you have many different tools at your disposal. In this session, you'll get an overview of GCP offerings, including storage options, ways to make use of and protect your data, and getting started with machine learning. You'll get answers to questions like: How do I get a Virtual Machine? What NoSQL solutions are available? Where do I open a firewall port? You'll leave with an understanding of the tools available to meet your needs, and a clear path for getting started on GCP.

Share

How's everybody doing? Wow, you guys are very enthusiastic fantastic and I have a developer advocate for Google Cloud platform. And my mission today is to help walk people through what is a typical journey to taking a nap that you had somewhere else than bringing it to Google cloud and my focus is on virtual machine technology. So we see from a lot of people as they they when they first come to gcp they want to do what they done elsewhere but on us, so, how do you do that? How do you get started? That's my goal today. So if that's what you signed up for

great, if not, well, hopefully hopefully you'll say so before I get started. It's really important for me to know who everybody in the audience is I'll probably do this was just a show of hands who here is a developer all the time. Okay web Developers. mobile Developers back-end developers. Okay, how many people here do systems work? I see some overlap with the developers is it cuz you love devops or is it because your company will hire more people? Is it okay or you ask people you why people write

fantastic anybody who tells any of these other people want to do any managers in the room? Okay. So there's a lot more of us than there are of you. So 1 managers fly head to I hear your systems people could use some more people. Just did I hear that from the grout? All right, so I know what jokes I can make I know who you guys are. What are goals are goals are to take some money from a journey. I've got a nap and I want to get it on Google Cloud platform. That's my primary goal. My secondary goal is to sort of point out a whole lot of things about gcp along the way. The secondary goal.

So I'm going to fall way short on that. There's a lot of gcp. They're not going to talk about. Hopefully I'll point you and directions where you can if you like it you can start learning more and go that way but just be aware that this is not a super comprehensive. So you have an app you have it running some place. We usually do what we call lift and shift where you pick something up. I just plop it on our Cloud instead of running it on your own data centers. So I want to show a nap here. So I'm going to switch over to my laptop. And this is a super super simple app

called tagged her that I wrote just to kind of its minimum viable product. Right? It's just a show show what I'm trying to do off here. So he's about the tags in a bunch of kids because you know, Always always get points on the audience and shown to kids. I'm going to go ahead and just show you that this is a real thing. It's running locally on my laptop, but it could also be running, you know in a Datacenter somewhere in my own on Friends Center Gladiator open. Nothing up my sleeve. I've got a real app here running a upload and their ER

app is working now. I'm going to switch back and talk a little bit about the architecture in slides. so very very basic Simple app again written to illustrate the stuff. I've got one single box which may or may not be the way you want to run your stuff. If you are it's okay. If you're not please Don't Judge Me too harshly. So I have a single server here and it's running the application code. It's running the file system and it's running the images write all of that is on one space and I want to move this to make it cloudy. So our eventual destination

with this will be will look like this where my databases in the cloud and my files are in the cloud but my apps still sits on a on a VM, which also is in the cloud but you know, it's still virtual machine. I'm not trying to get you to move to kubernetes or or server list or anything like that, but I'm not going to move to them in this in this app. Okay, so we talked about virtual machines on Google Cloud platform. They are we called it compute engine. We have several engines compute engine is are virtual machines has some properties and some things are going to talk

about you can dial-in how many process you need from 1 to 96 and then you can have a range of memory based on net from 5.6 to 6 out of 24 gigs can install 64 terabytes of persistent disk 3 terabytes of SSD and you can go up to 200 8 gigs of RAM disk with the memory on your system images to go with these machines already that have operating systems already set up, but you can configure your own and actually I'm just going to show that off an interface. So I'm going to switch to do with another demo. And you should know.

It was working two seconds ago. All right. All right, so I want to go ahead and create an insult. Someone create a new one since that. I want to run my stuff on so I'm going to hit what's labeled hear rate instance kind of a little on-the-nose. So we go ahead. Instance. When I do that. I can give it a name and I can put it in a Datacenter. So why don't you do you ask West West West because that's where we are but no we can go all over Asia and Europe and South America and Australia, but I'll stick to being close to here. Now when I go to set up my machine, there's a

whole bunch of set types of machine like 1604 and 32 for but one of the cool things about our platform is that you can actually dial in if you have a use case where you really only need what's a 44 processors do to really do the work you need to do your with other choices. You have to go eat at 32 and be under spec or go 64 and waste all that money on processors. You don't need with us you could dial in exactly what you want and you can see exactly on the right what the impact Those choices are right, and I got a little warning at someday to go. It came up.

I didn't hit it. Right but it makes a little warning and said hey, you could probably get a better price. If you could figure it this way, which is kind of cool, but I'm going to go and stick with our set images cuz I don't want to pay that much and then I'll go to the flu test with flu test. I have a whole bunch of choices a different operating system container OS and red hat and windows even yes, you can do windows on Google Cloud platform, but I'm going to go ahead and select another couple of options. I can activate HTTP I can open up the fire while not

going to do it this time around what are the favorite things about this interface is down to the bottom. There's this equivalent rest or command line way. So after I can figure this whole thing I click on this I got a little box that says here's exactly how to do this on the command line so I can then configure it once in in the interphase and then take this an automated and you've built scripts and I don't have to write these things from scratch which is really helpful as we like to say these spin up intensive seconds meaning one of my hotel room practicing this because I'm doing it at

Ajo. It takes like 10 second one in front of people. It takes longer. I don't know how it knows but somehow it knows so hopefully, all right good if you don't register, so I'm happy. It doesn't know you're here. I told me to hit SSH and when I do instead of having to pull down inserts to connect to this VM, I can do it right through this interface right through the web which I love for like I can travel without my laptop as long as I get to a browser I can I can I can take care of manage my stuff. First time he has to say to know box that takes it all the time cuz it is

doing that manual work used to do it's doing it automatically for you. So at this point I wouldn't worry about the text here too much but I will blow it up a little bit at this point. What I would do is go through and apt-get update right and then it'll fail because I should have stood it. So I'll just do Bang Bang the run the same command in there. I would go through I would get update and then I would start rolling through and installing software. I feel like that would strain our relationship as an audience in the speaker. If I were to just sit here and

install lamp cuz that's what's running on this other box that I sat there and installed all those things over and over again, I feel Like I would lose you. So I have a solution for that which is that I've already done that on another machine. I've been taking that machine and created it what we call a disc image from it. I said you could use our you can also use your own. So I'm going to pay the second instance here. I don't this one. I'm going to open up the firewall. I'm going to open up for the HD HTTP port and when I go to select images instead of using iOS images

on how to use custom images going to take a second and we'll see here that I have one called tiger latest which I already built. I'll hit select. And now when this app when the sun comes up, it will be running completely the whole software stack. None of my software is on there in my app is on there. But all the supporting software I need is there so hopefully in a second this will come up maybe hopefully has not identified that you're here. And when it comes up, you'll notice that I had these external IP addresses here and some of them are linked in some of them aren't the one I just

created wasn't late cuz it in open up HDPE, but on this one I did so when I click on it, it should go right to the Apache TV default page. So I've installed I have stuff for running on a VM. It's all set ready to go. So one last thing I want to show you before I switch back to presenting is up here in the upper right? I got this little like command prompt so don't want my favorite features instead of having to install all the SDK and all the stuff that takes to manage Google cloud on my laptop. I can just use cloud. Shell it spins up a little VM under the covers that I don't

get charged for. It's got a home directory so I can use it over and over again. I can save scripts there. But now I have a one-way I have access to this without having to install all the stuff on my computer so really helpful. For trying stuff out so that I'm going to switch back to presenting. And talk through a little bit of what I did here. So if you want to start doing this, you know programmatically and repeatedly in going to put it into your build Cycles you can do all of what I did here with g-cloud command. So this one is g-cloud compute instances

create. That's how I create an instance and then I would probably want to run commands on those boxes so I can do that gif that compute SSH virtual machine name and the command I want to run locally or remotely. Finally I have files that I want to get onto those DM's. I can do that with g-cloud compute SCP. So between these three I can completely automate the creation and configuration of a machine repeatedly and I do a lot of this I do a lot of scripting of this stuff cuz I don't want to do it by hand. Does that make mistakes? We talked about virtual

machines and disc images. So, yep, you can start with ours. Like I did you prayed and put all the software on it make a death and then David has an image, but you can also make them from scratch use virtualbox to make images from scratch and upload them to us a little bit about that you get extra wipees, but one of the things I didn't talk about is that you can always get an IP address and always be ephemeral meaning if the machine goes down when it comes back out there. We'll get another IP address, but any of those IP addresses you can grab and say make static and keep and so like if you

start pull around the box and you said it's an ephemeral and you're not worried because stuff is not depending on the IP address of this box. You can grab it hold on to it. We don't charge you for those the only time we charge you and this is something that members of my team just learned is really charge you for it if you don't use it. So if you have an IP address in a thin you statically we don't charge you for it. It's when you park on it that we we have like a little now it'll charge is a couple cents. It's just enough. To make kind of disincentivize you from holding on to IP addresses for

a long time. Or holding on to a lot of IP addresses for a long time shut off the firewall that you can create rules. I just did the HTC Vive rule with your kind of automated where you can create arbitrary rules and they get applied the same way. They get this I could get supply to your machine and that's what all that's what old determine whether or not your firewalls open on the machine. One thing I didn't show off is something called Cloud launcher are clouds or bbm's are images start the software later like the OS layer. But if you want like, I don't know like Cassandra or WordPress or

Drupal or something like that on your machine, you can use one of these answer shortcut like having to do the whole build now, it's important that we don't manage it. Once you build it. We just helped you build it take a slight detour to talk about I thought. Cloud shell for a second. That's really important. Like I said, it's a little VM and you have a home director that follows you which is like you shove scripts tener that you use all the time. They will be there. The next time you go to Cloud shell and it basically means like I never have to like while I love having my laptop. I

never actually have to have it somewhere when I might need to log into your Google Cloud platform. All right, we're back from that little diversion. So now let's talk about the storage right? Cuz that's the Crux of what this app does. It stores files and stores data. I'm going to start with the files part of it the images for images. We called that blob data because I don't know that sounds gross. I guess cloud storage is the tool for that. So it's for files for videos for pictures for unstructured documents. Now there are four types and I'll talk about them that they all

have the same interface in the metaphors. You've seen with other Cloud providers the idea of a bucket and object in that bucket. That's what's up files store. Cloud storage work. So we have the four types who got multi-regional Regional cold beer line and cold line and they all have different use cases in different costs associated with it. Long story short multi-regional is for global data. It's for you pushing the data as close to the people. They're going to be using it. So it's for people outside your company. It's for web presence. It's for web apps for mobile apps for streaming

video Regional in contrast is you want to keep the day that close to where it's being used just like a global before this is being used for internal purposes for running data jobs and doing big data analysis on on large datasets you want that dated near the computers are going to be doing that but don't necessarily have to be near the public. Another thing. They don't hear is this because it's regional doesn't mean it's only accessible. From the region it's in it just means that it is fastest in that region and you can still pull this data from other places around the world. So you're not

you're not restricted of where you can use this data from a long-term storage options there for you in case of beer line is for backups and longtail media stuff that's going to be used regularly, but infrequently and for cold lines things like compliance and disaster recovery. So if you're pulling down data from cold line, you're probably also loading a resume in an editor just in case right. So that's where the distinction we use for these now as we go to the right the price goes down because it's less accessible and less easy to get to the time to First byte for Global or

multi-regional versus cold line cold line is a little bit slower time to First byte. And accordingly to Costco down but for deer line and cold line when you retrieve the data you get charged for it. And in this case, it's one gigabyte. I'm sorry won. All those prices were gigabyte per month. This is per gigabyte. So when you pull down data out of the airline, it's going to cost you a cent for gigabyte and a cold line $0.05 for a 4 gigabyte like the store stuff and hope you never need me to use it

and that's why the pricing and stuff that way to serve a charge that sort of use now. I'm going to do a quick demo of cloud storage on the switch back to my laptop here. Imma show how easy it is to switch to step 1 of this up. I may go ahead and like I said, it's a bucket. So I'm going to create a bucket. I'm going to call it a tagger 102. Artist names have to be unique. I'm going to just go ahead and create it. It's it's multi-regional. So I'm now creating a multi-regional bucket. It's already ready for me. I'm going to upload the files. I'm going to take my files from here that I

already had when I upload them to see how our network is doing. Okay. Wi-Fi network is there we go. All right, so you'll see a whole bunch of images here now load it in now, I can't get to any of these. I mean Google Cloud Print CDs and share them on Google what apps but I can't look like the public can't see them the way I enable them to the public as I can just put this little thing here and say I don't share publicly I want to do that. I get a public link. So even though I just uploaded it. It's now

globally available and able to pull down if I were to URL hack and change it to one of the other images. Was that kid in the Ewok costume, which is Ewok jpeg. I hit you up jpeg. They're right so you can be very granular is what you share it you don't share so I'm now going to switch back to presenting a Switchback it'll switch back on this. And let's talk about little bit what I did. I wanted to upload files and you can do that with the gsutil command of the command line. That's how I do most of this right cuz I don't want to match jelly and put all

my files through a web interface. I can also share publicly using gsutil. I can set up a settings you can do emperor file. You can also do them per bucket. That's how I tend to do it. I sure the bucket and I try not to have shared and non-shared stuff in the same even though you can just saying for me. I don't want to accidentally share something. So I usually try to make that distinction at the Bucket Level. Now my app was writing to file storage on the on the server. I now need it to write the cloud storage. So for that I wanted to use our client libraries now our

client libraries will see there's a whole list of languages are available for if your favorite language is not here one. I apologize to we have a rest API and it's pretty well documented so you can you can sort of stuff without needing the the client library, but this app has PHP, so I don't have a problem. So let's walk through this please Don't Judge Me for PHP. I figured it was very readable. Move uploaded file Source destination. So something's been uploaded to this the server. We move it to a file location to do the same thing. But pointed to cloud storage have to pull in the

storage library and then pray to storage client and a bucket and upload to that bucket. It's a little bit more code but not tremendously more and dropping it in was relatively simple and painless to do. So that is my timer. So now this here's where we are. We've we've carved up images. We now have her application code or database still together. We need to fix that. So let's talk about databases. Will that go to application storage and we get to SQL vs nosql and that is not anything that I want to wait into. I'm sure we all have beliefs about SQL vs nosql. It's okay. I'm not going to

question any of them, but I'll talk about what we have for these two places where these two types of cloud SQL which is the traditional SQL Server MySQL or post grass and it's what we call vertical scale. You can keep making the machine is running on bigger and bigger but a certain point when you need to scale out these don't scale out perfectly. Well you could do replica Stetson we make that easy to do but it's still just a good old fashioned vanilla. I might as well and postgres under the covers. We just managed to backups and we make it easier said replicas and we take a lot of

the pain out of running these machines. And we also this other thing called Cloud spanner which like let me put in contacts you would never use on this app. It's just it's for Gigantic worldwide companies that have yo very high rates of Furies for second. It is not for this Tiger app, but that's also available to you and has a single interface and structured data highly-available strongly consistent. Our Network makes that that work on where we can make those claims that it is both those things and it's hard not to be scalable. But keep in mind it is definitely

cost-effective when you have the scale for it at like this small app, it would be Overkill. Nail talk about no SQL and nosql ways. Cloud datastore and firestore. I'll start with first anybody here use Firebase. Okay, so stop by our store has a lot of integration with Firebase and there's a similar product called Cloud firestore for The Branding of it, but it's the same thing and basically it allows you to use Firebase is apis to write to a gigantic nosql store in the back end. It's really great when you're writing mobile clients and wet plants that you don't want to back in that all you

don't want application structure at all. You just basically want the front and have to talk directly to the date of store. That's what caused. The fire store is for an app that I've written that I also want to store stuff too. And that's running on the back end and that communication we have to drink outdated store and the store a drop if you don't see alot application is very rarely, like someone will come out and use it for an application cuz it's got very low latency. But where it really sells is big data jobs, you put a whole bunch of logs in there and and store them in and run

through stuff in that that's a big table to another one that's only cost effective at scale. So which one we should we use? Well, I kind of set this up so that there is an obvious winner. I'm not going to rewrite all my logic from SQL to know other people. So I'm not going to be a sequel solution and Cloud Spinners Overkill. So I'm going to use cloud SQL. We got to the next one and stuff. So I'm going to do a quick demo of this interface. Looks like I've got sequel here. I don't have a database set up but I'm going to create a new one and

you'll see I got some options MySQL vs postgresql and we actually kind of help you like, what are you going to use this for? You can use it for development for staging production. I'm going to use staging cuz among its many features it has this which is automatic increase the storage. So when I setup my discs in the back end It will automatically make my dick bigger. If I start to run afoul of the the the size of the desk up to 64GB. Let me go ahead and configure one of these. Are you choose version of cashews machine type so I can make the machine bigger. They're based on rvn

images You Can't customize them but they're there their they're kind of fit with the VM standard images. You can choose SSD or a standard desk. If you need hire read write performance to your discs. You need to give bigger Drive. No see my change this number over here from 22200 all the sudden get more Ops and dip throughput but you better mind you might need to make bigger desk to get better performance. Okay, so I think that's what I want to show off about Cloud SQL going to switch back to present mode.

My switch back to the present mode. There we go. I'm pressing the wrong button. How do I get my stuff in a class vehicle is a relatively simple I take it I uploaded to cloud storage and then from cloud storage. I ingested into Cloud SQL which brings up something kind of important which is this workflow movie the cloud storage and then pull it somewhere else is actually pretty common. You have a whole bunch of log data, you put a cloud storage ingested the big flurry you have images that you want to analyze with our machine learning apis put a deposit storage and have them analyzed

it and you'll see two tools here in the center cloud storage is one of those that acts as a hub the other one is one thing called Cloud pubsub was actually really cool demo Pub sub in the cloud dome in case you're interested. Dove does if it's a message in bust you say I'm a publisher and there's a whole bunch of people who subscribe to the channel. Do you publish do you send a message to structure piece of data that does something and it gets navigated against me to get it out to all the people that are all the all the subscribers of that service. It's very high throughput so

basically allows you to basically off-load stuff to other pieces of the cloud when you need to and do it with a queuing system. That's really really weird, Boston and fast. Okay Segway back and talk about some common problems people have when they start running database servers on us. So one problem and I found a bug but I feel like I should communicate it to you is that when you run g-cloud sequel to ingest the sequel you might get an error and then error is going to look like this internal error. And then you raised her boss Studio of the g-cloud command you get that at the people

are helpful, but not really cuz we kind of knew it sequel. So what you do is in the sequel interface, there's this tab called operations and an operations we can see that there was an error. We got to see the line every see all these people dated. We need to troubleshoot this for this particular. It was that I had done a bicycle dump like you normally do but I had some super permissions what you can't have one popsicle and store-bought that that so just a couple things that if you're switching over to this you might want to know off the top of your head before you, you

know, head death trying to trying to track down one of the says Now what happens if we Google Cloud don't offer something that you need like we have MySQL and postgresql and are no Simple Solutions. But you want Cassandra or Manga or one of the other Storage Solutions what you do to options when you can feel yourself from hand yourself from scratch mixing metaphors to build one of our existing Solutions like Cassandra credits Bongo cats pee pee in a whole bunch more in each of these cases and important to note that we don't maintain

the software for you. We maintain the OS and so like in all the cases with computer engine. I didn't mention this earlier, but we do something called live migration. So when when you update the machine it will continue running even through the update you'll you'll never you'll never have down time because we're updating the hardware. We we migrate and solve that for you. So, you know how to deal with that don't need CDs cases you get that with with With whatever solution you build but we won't update the software or we run backups for you for them. If we don't say we do like we do it

that's equal. Alright, so now here we are. We have we have taken a nap we go to the cloud. We put it on a VM and then we've offloaded database and storage the different parts of the cloud. So now I'm free to start thinking like well since all of the data all the state of his application is elsewhere, then I can start making interesting decisions about how I run this do I want to run a group of the behind a load balancer to make sure that I've always got I've always have redundancy. I can do that if I want to go to a serverless solution. I can do that if I want to go to kubernetes. I

can do that and I'll talk a little bit about how to do this with a VM. So, how do I scale the system? So I'm going to switch to demo one last thing I believe and that's going to be something we call Managed instance groups. So another her just refresh. and there we go, so These take minutes to get rolling instead of second. So I'm not again. Going to stay in a relationship and do things to take that long in front of you, but I will kind of walk you through creating and managing so Basically, I Define a group I say I

want this to be a group of tekra machines. I want them all to have tags are on it. I want them all to run with the same software. And so what I do is I can say why you put this in single a single location or multi so I can have these groups all around the world. I put it in his own and then I can be managed or unmanaged manage means that every machine is based on a template and they look exactly the same so we can do things like say autoscale. So all the machines are exactly the same if the CPU utilization never gets above 60 spit up another one and then another one until it gets down below 60

and make sure they're always 3 no more than 10 and scale with sisters and processor utilization, which is what I have for the one that I have there. And so I can build that you'll see that I did here in this interface and that so I have these three machines and if I click through I can see the each one of these machines is running each. One of these machines is open to the internet and each one of those machines is running Apache just like I wanted to so we're all good. So we're to go. So the next thing I want to do is take this

and make it redundant basically share it with the world to share with the world. I need a load balancer. So I'm going to pull in tigerella load balancer to have already set up at again. This takes a little while ago. So I'm just going to walk you through the way it's set up. It's pretty simple. I say give me a front-end. It's HTTP. It's on Port 80 and server IP address and I say from the back end serve this instance group. So this instance group, everything is open on Port 80. You're you're listening on 480 can find them and make that redundant. So once I

do that, I have this set up the way it is each. One of those machines is answering calls to the internet. But if I go to this machine this IP address that I get here. It's also up and running until like I said, these will scale all of that stealing can happen usually within a minute to two minutes. So if you start getting a load Spike, we can we can scale upload relatively quickly but not necessarily instantaneously. Okay, so that is scaling out this application with a load balancer. So with that I'm going to switch back to presenting.

I take you through a couple more things. So we talked about it since groups, right which are they can be manager on that. Why would they be on managed? Well, maybe you want to combine the two CPU box and a 60 CPU box. I don't know why but you want to that's cool like no judgement you're responsible for scaling and all that because we can't figure out CPU utilization. Like what should we add? We don't have all the money that set up. We're not using a template so you can you can manage that. But if you use manage we can Auto scale Augusta Auto heal if you have health checks on your

on your app, and it goes down we can rebuild a VM for you and bring it back into the the instance group. Networking talk about load balancers of HTP and HBS load balancer, which is equivalent of an L7. If you're you're used to that. We also do TCP and UDP load balancing and we have internal only that are only accessible within your project. Now that's how I scale vm's but I do work for Google cloud and we use the buzzwords container and service a lot. So I felt like it was necessary to least talk about these how many people here already using like

docker. Yeah, how many people are using kubernetes? Okay. Alright, for those of you that aren't I'll give just a quick what is containers that are very very high level and watch the faces of the people that raised their hands as they were mints Queen through this really really over simplified definition containers are basically a package that contains all the total runtime components to run a particular process your app. And then there's an environment doctor or kubernetes that will trick the process into thinking it's the only one running on the machine and she could do

crazy things like have multiple versions of the same software running on the same machine. You can stack as many more process lime Sheena uvm's on the same Hardware. Artificial trees you you get from switching to this model. We have two products that we say our our our container products on Google Cloud their kubernetes engine which is managed kubernetes, which if you don't know if this is basically you have dozens or hundreds or thousands of containers all doing different things. You want to run them in a way that you're not managing individual

containers, you put them into a kubernetes cluster with instructions on how to run them and it'll keep them running whether there a microservice a web app or a batch job somewhere flexible is if you just want something you have one app that you just want a scale that's already in a Docker container. You can push it to app and inflexible and we will schedule it for you from one to as many instances of it you need. What is serverless AWS serverless is a marketing term. It is right. Like there is a server there. It's not there's some not some Beast living

beyond space and time running your server your load for you, but it describes like I think a really important distinction different type of app, which is you pay as you go whatever you use you pay for if you don't use it, you don't pay for it and you don't care about the underlying infrastructure don't have to know about number of servers or number of nodes or anyting we will just run it for you as much or as little as you need. So we talked about survivalist on Google Cloud platform. We're talking about two things. I talk about Cloud functions, which unit of abstraction is a function,

right and you attach that function to sum prevent someone dropped a file somewhere and do a bucket. Someone sends a message to a pub sub Q you respond to it. Was that simple Cloud function? We also have several solution that sat based now. It's very restricted in terms of what you can do. You can only use certain languages. You can't use third-party code. You can only use code in that language, but I forgot restriction is incredible stealing. A pigeon can scale from 0 to pretty much infinite in a relatively short. Of time. I have a demo where I will scale an app that's cold. Like I didn't use

it to about 8,500 UPS berries per second. in about 5 minutes Add to put that in perspective 8500 GPS is what Wikipedia gets so I'm able to go from nothing cold like a Wikipedia scale application in 5 minutes without the engine. But again, it comes at a cost restricted abilities to do things. So that's a whole separate virtual machine or containers for this app without any context know right? Like it's working where it is. I'll bring it over someplace else. I don't necessarily want to put a lot

of effort into it less than shift is absolutely fine. If I have plans to grow this at bigger or to grow with a whole bunch of other applications. Maybe it might make sense to containerized. But again that would depend on the context and if I'm going to have very inconsistent use then maybe serverless would work out to but for this particular app with no context. I'm not switching it over I'm staying on VMS. Okay, we've come to the end of taking you through a pretty good tour of what we have here. We started here you start with a single app all running on one machine, but we ended up

here where we we basically taking all the states push it elsewhere or we can nail grow and expand have a lot of different options with the Computing level. Now there was so much I couldn't cover I was pretty vicious with my head and pain cuz I wasn't getting under 40 minutes so I didn't talk about ml apis, which are awesome. So what you could do is rml apis same sort of inserting the code the way we did cloud storage. You can grab with vision API, you can take this. I'm not going to switch it don't switch over but you'll notice there that I have tags that I got from cloud Vision API instead

of making people to it. So this app I can just completely replace data entry on this app with a vision if I wanted to I think it's funny a little detail is that it thinks that the Ewok the kid that you are costume is carnivore carnivore in Which is kind of scary, but I don't know how he's raised. I don't know. So just so you can eat while costume be afraid but was able to do that for me, but also picked out skin and children in the whole bunch of details on those images. I didn't talk about the API Library. So if you're using any of the other Google apis like Maps or YouTube

or ads you can manage them through here and use them in your Google Cloud platform project with the fault credentials that you don't have to set up a lot of sorts a lot of credentialing information. You can just run it with very minimal authentication. But securely you need your laugh your lives are monitoring and all that stuff. Gregory can do this for you all the stuff. I talked to I didn't even I didn't get a chance to talk about we'll all help you run in the scenario. So we look at the whole I talked about the compute life or I think we covered a lot of

it. We covered storage databases. We covered a little bit of networking. We covered a little the tiniest little bit of big data in that I mentioned pubsub mention of machine learning API mention developer tools and mentioned management tools. But if you look at this whole list, there's a lot of missing because there's just a lot more to the platform. So I'd ask if you have Any questions or this is ignited anything and you please make sure you stop by the cloud Booth. There's everybody from Google not everybody but a lot of people from Google flatter their can answer your questions and

hopefully I showed you how you can onboard how you can get started with Google Cloud. Keep in mind that if you sign up to get a $300 free credit for 12 months that you can use to kick the tires and hopefully you go from here to discovering more about what the what's on the platform. So thank you very much. I've been Terry Ryan, please. Feel free to hit me on Twitter at TP Ryan. If you have any questions, I'll be around, but I think I'm running to run time. So have a good rest of your eye out.

Cackle comments for the website

Buy this talk

Access to the talk “Google Cloud Platform 101”
Available
In cart
Free
Free
Free
Free
Free
Free

Access to all the recordings of the event

Get access to all videos “2018 Google I/O”
Available
In cart
Free
Free
Free
Free
Free
Free
Ticket

Interested in topic “Software development”?

You might be interested in videos from this event

September 28, 2018
Moscow
16
159
app store, apps, development, google play, mobile, soft

Similar talks

Myles Borins
Software Engineer at Google
+ 1 speaker
Aja Hammerly
Developer Advocate at Google
+ 1 speaker
Available
In cart
Free
Free
Free
Free
Free
Free
Kat Fang
Software Engineer at Google
+ 1 speaker
Kiana McNellis
Engineer at Google
+ 1 speaker
Available
In cart
Free
Free
Free
Free
Free
Free
Hiranya Jayathilaka
Software Engineer at Google
+ 1 speaker
Jen Person
Developer Advocate at Google
+ 1 speaker
Available
In cart
Free
Free
Free
Free
Free
Free

Buy this video

Video

Access to the talk “Google Cloud Platform 101”
Available
In cart
Free
Free
Free
Free
Free
Free

Conference Cast

With ConferenceCast.tv, you get access to our library of the world's best conference talks.

Conference Cast
558 conferences
22059 speakers
8245 hours of content