About the talk
With Google Cloud Cost Management tools, you can reduce complexity and increase the predictability of your Google Cloud costs. Find out how you can gain greater visibility, accountability, control, and intelligence with Google Cloud’s native tools. You’ll hear from product experts about the latest features and what is coming next.
Speaker: Mark Mirchandani
Google Cloud Next ’20: OnAir → https://goo.gle/next2020
Subscribe to the GCP Channel → https://goo.gle/GCP
product: Cloud Billing (Argentum); fullname: Mark Mirchandani;
event: Google Cloud Next 2020; re_ty: Publish;
Hey there everybody and welcome to see if t103 on Mark Morton Downey developer Advocate. OK, Google cloud. And today we're good. We talkin about what's new in Google Cloud cost management for a brief tour of the different cost management tools that are available to you. And we'll look, it was changed over the past year. Now we've got a lot to cover. So I'm going to go ahead and get started. First things first, this URL is where you can view the feeling notes for all the different releases that have happened. We're going to go over the one that I have in the last year, but if you need it,
or if you just want to make sure to keep an eye on that URL. So when we talk about the three key pillars, understand control and optimize. So understanding your cost is all about being able to see generated in Twitter, trending, right control in your cost is really that reducing the risk of overspending and being able to improve the predictability of your cost. Optimizing is really more about focusing on overspending. Again, control is not controlling it. Optimizing eliminating it, and then,
and finding ways that you can get the same performance for lower-cost spend too much time on the resource higher key, but I highly recommend you go and check out last year's next. Talk on the resource organization. Access management is a really great time, but the overall summary is that you want your resource hierarchy to look a lot like your organization and it's really important because as you're trying to even come here, but as you're trying to dive down into who has access to, what projects you can use folders to break that out. The
permissions are inherited. Do you also want to be able to track your costs? So you would understand which groups are paying Which resources or with projects fall under which category, it's really important to be able to track that because as your organization grows, you're going to be able to be able to see how do I know who paid for what another really great feature. You can use is Project labels so you can create another way of looking at your projects and you might label them with for say your environment, right? You might have a production and Byron the development and then you can
say the same thing, how can I get my cost for my production environment? Will you can grab all the cost for those labeled important? I want to go over the rules at your table, he going to see, but it's also important that you can actually create custom roll with the different permissions that you need. And you want to always call that security fast track to making sure that people only have the access they need and nothing more. Only going to be able to see the cost on the account so the great symbol roll for them to go in and see how much people are sending users are actually
able to associate a project with billing account. And that's really important that you only give that to trusted user because as your again, as your organization grows, you're going to have a lot of projects and being able to add them to the billing account. So make sure you have the right permission set up. And the only certain things were talking about today because they're the ones who can look at all the different reports in the console, as well as being the one who can contact
support. So you're going to probably start with using those three roles, you might add more roses you go on. The other thing is important in a project, owner can see the cost for only their project, right? So don't have access to the billing section of a console and they'll be able to see the pilgrim. only show data, for their specific projects, you can kind of use that to your advantage when you're setting up the permissions for users to be able to understand who can see what being able to be measure, only because your resources are organized and because you have these permissions,
let's move on to the first step which is really understanding your costs And the best way to understand your call is going to be to go to the billing section of the Google Cloud console. And if you're going to see that which is different, change it to it. But needless to say it's over. So you can see a lot of really quick information about your billing account. As soon as you look at, is this new charts charts that show up the project and your top five products that you're spending cost son.
I mean as far as going to your billing account and seeing important information, you're going to be able to see where your costs are, are there going over the month, health check car. But this is a car that uses some of the best practices for our customers and says, hey, you know, maybe you want to apply these to your billing account so that you're able to stay on top of this, Examples of this is being able to talk about in a little bit for making sure that you turn on Billy big, fairy export or feelings.
And then one of the other good recommendations is to have multiple billing account administrator really important because before you can contact support that you have at least two, but maybe more and you have this kind of idea of a reasonable level of redundancy, right? You don't want too many people having access to your billing account but you also want to make sure that you're not completely stock. The one of the first reports that I want to talk about here is a new one that's been washed and if the cost
breakdown report and this really just gives you a quick and easy to see, breakdown of the net impact of all the things. You're standing how the different discounts or other spending affected those. And then your final cost is a great and very simple chart to be able to look at this and understand, you're here all the different Google Cloud discounts. And there's a lot of different ones that can happen. And then here's what I'm going to end up actually paying Besides that. There's a filling cost table. Also, all of this is going to be available in the console and one of the reasons
that all of these Pages have been added it because a lot of this data has actually been removed from me invoices there, that's really. More than is written by the table is really just a tabular view of all of your invoice cost and it's grouped by this Q. You can quickly filter by different projects, you can do services to rearrange. The column is a really great and simple way to break down all the cost and see how their group. You can also export it to ask
if you need to do some, but this is probably the first place where you'll be able to see you all this cost broken down. Similar to that table is the pricing report and the person report it looks very similar. But the difference here is that this one is actually showing you the cost of all the different services that Google cloud has that actually included Cloud make with Google Maps platform and she's sweet. So they're all available in that table and similar to that of the billing cost report. You can move things around and you can kind of break it down as you need but you're also
able to select Michelle all the fuse for a cloud just showing the few that you get the pricing for all of that. If you have a negotiated price with Google Cloud, it's going to show you the default list price then negotiated price and a discount there. So it's really really helpful to be able to say okay well these are all the services cost and just like that billing report you can export it to us but you're able to see if needed. Now, it's the billing documents page is a fairly straightforward
invoices statement. This is where you going to get the hard copy for all those documents. The billing reports, the actual chart for you're seeing on the screen here. This is part of the billing report page and this is probably where you going to want to spend most of your time, right? It gives you a great way to visualize all of the day before. The table is great because it breaks down into great detail but it can be a little hard to digest to write. The visualization
here is really helpful and it shows you the transactional costs per day basis. And you can actually break it between a line chart in the bar chart, but there's a lot of options on this page and that's where you'll be measuring a lot of your cost. So, one of the new features here is the cost forecast. In this has been added and changed a couple of times in the past year, and it includes long-term costs. So thank you, sis Council, typically have a very high, you'll start off with a very low discount and
then had to go on. This has been used to tell kicks in, and you kind of get this damn voice pattern. All of that is a great idea of where all that information is and what you'll be spending the right side of the right side and you can drill down into any specific components that you want. When you changed actually added to the URL. And then, you know, if you make a customer, you can just share that you are. So it's really easy to kind of drill down into an area and then share that with the rest of your team.
And one of the cool one invoice Centric view quick, on cell phone voice, Richie Rich, show me the invoice, wrong breaks down, so you can see the information in there, but it really just left you say, okay, well here's all the cost for that. And how it compares to my invoice. In addition to that filter, we've added a couple other one just want really cool. Its location filter, right? So now you can actually break down your cost by where they came from, what geography, what region are
multi-region area, all of those are available here. Just a really helpful way to break down the car. In addition to that we do the same thing, right? Let's let's take a compute engine in stents or multiple instances and label them all with production and now in the billing cost report, you can actually say, show me all those production instances and the cost a dime, right? It really really helpful to be able to drill down into that level of detail. So I mentioned this before in the in the help but what you want to do,
and here's a picture, right? You just go to to the billing or fourth page, you enable of the export to be quick. And what you want to do is turn it on. If you haven't upset right now, and then go do it. Really important actually doesn't take data from before you turn it on. Now, export all the billing data at a very granular level, some of the changes that have happened recently, so it has an hour and an endower. All the cost that have happened for all of the different things associated. With that billing account, it is the
most regular day, you're going to get a big group. Of course, is a great place to do data analysis and store data really, really helpful to have that picture. But you can always ask me if you need to hook it up to a third party. And that's why it's so important to make sure that you cuz you're going to want to be able to See that level of detail when you do any future cost modeling or really just to get that level of analysis on your car. All of that really focuses on the way to understand your cost. I want to talk about the biggest way to control, right?
Viewing them as great is also very important but a bunch of probably the number one tool to actually at home that cost controls and they're really flexible. Starting with the first thing you can do is just kind of set up a budget. And when you set up a budget, $1,000 budget, when you hit that amount, it's going to send an email out to configure multiple thresholds, right? Because you want to know, maybe before you had $1,000. So when you said it forecasted to snow,
forecasted thresholds are about when many surprises. So if you're three days in the month and you get an email saying that, hey, Google Cloud, things are going to spend a hundred percent set up multiple threshold because you're going to want to be able to track different things. You can actually set up the filters on the budget. When you actually filter, you can choose specific projects, Pacific product or you can even choose those resource labels that we talked about earlier
and say, OK Google show me, here's my production but here's my dad. Here is another project for all of my biz Dev project. You have that flexibility and control to be able to say, well here will get different alerts for different people who is currently in the creation and managing others. But that's really important because I can't stop being able to spend some time. Learning the budget is really, really critical to being able to say okay well I just don't want to spend some time here as you grow
Turn it up budgets, being able to send emails to Billy administrators. You want to send email to other people, and that's where it comes in. That can actually let you add emails for budgets to Cloud Madre. You just go into the budget, you click on the little check box at this time on very going to set up a channel and then you just add me know so that I can just add. 5000 you want to consider adding a group email in, right? So that way, instead of sending it to one person because you want to be able to stay here, send
me his budget alert email for this team, but you don't want to have to come to me. Add people to the teeth of the budget Rights was much easier to manage the team and something like that. And then just kind of a great way to add additional people to your budget. That's the basics of budget but the real power of budgets come from what we call programmatic, Budget notification. And this is really cool because it basically lets you hook up your budget to pubs in Pub Sub in, in this case is in a Handler, instead of take alert from the budget, and they'll send
them off to wherever you want to be. When you, when you create a budget, you just put that box, very simple. You choose a pub sub topic or you make a new one, and then you can go off and make your clock function. And, you know, we've got some simple cuz like I said, a very popular example of this is sending a bunch of notifications on slack, right? So whenever you're an update on your budget comes in, go put it in the slot, Channel update their simple, but it's so when you have Google cloud functions and other systems
and whatever you could do, and that's really important because you can actually do Wave height on your body, shut down projects. You can shut down. Resources sample code for attaching a billing account project dangerous thing to do for the project and its resources. Not project might get shut down in the very unexpected way. So be very careful about that. But it's a great starting point. Understand, how do I control my resources in the organization? What's important for your organization? How did those budgets, for
your organization? What kind of response is? Can you have to really putting control in place? Are really going to be the most powerful laser for cost control in your place? Talk about understanding. Talk about control. Let's talk about optimizing cost, right? This is a great one because basically you're going to end up saving money and hopefully you're going to do it without changing anything and the first thing and honestly, things I see you sign up for them to pay a lot less for some of the resources you are a used
Ram SSD used in a static level, you can look at it and say okay well I'm running a good amount of that or maybe I have a Baseline Baseline you can take the time out and purchase a committed use discount for that amount and then you're just going to be a lot less for the same thing you're not changing the resources at all you're just getting it just kind of price. Cuz you're signing up for a really helpful to happen, and I actually just something you're spinning up and down a lot. You probably have a good
Baseline for that. It was another great way to save a lot of money and visualize your use it, right? So in this case, you have a very static, it'll show you what you're using on, what you could be using and was eligible for it. And then you can kind of see a couple of flat work. That's going to be running for a year. Why don't I save money on very easy way? The other thing that made changed in the last year with discount discount sharing. And this one is probably my favorite and
move them to a billing account level. If you work on them before, they were specific to a project, right? So you've had a bit of Justice, this project, and the billing account level, much, much easier and easier to stay across all our project. Highly recommend trying to save money. What are the other features that's rolled out in Allen's going to have a lot of things coming to assume is the recommended security, recommendations recommendation. And two of the great ones are up. Right
here, you can be saved money there. And then, another becoming recommendation is to compute engine cross family, using a, pretty complicated. And this will basically measure of the amount that you're using those memories and you end up saving money, so make sure to keep your eye on that. So with all that being said, we talked about understanding controlling and really optimizing, your cost is too great sessions that are also available this week, CSP 101 5104, you can see a great customer story of how to
use these recommendations to save money and a whole bunch of other stuff. If you're interested in learning more, you want to set up to this URL / cost management all of the resources that we talked about. So much more of their you've got resources guides qwiklabs, YouTube playlist, a bunch of stuff that really. So I know it was a lot, but thank you all so much for joining. Me and don't forget to enable billing export to be a query. Thank you.
Buy this talk
Buy this video
With ConferenceCast.tv, you get access to our library of the world's best conference talks.