There are times when you may have installed an updated to Cloud Engine App that occurs on the network edge starting to generate a large amount of traffic, your billing increase dramatically. You may ask why do I want to do this, you can set up billing notifications in GCP that sends you an email when your budget limits are achieved, yes that works well sometimes. I will explain how you can create a Google Cloud Platform (GCP) Cloud Function, that you can use to cap the cost, if the cost is higher than the budget the billing will be disabled.