Breaking Down Cloud Operations Sandbox Cost
Cloud Operations Sandbox Cost Estimations
Cloud Operations Sandbox Cost is made up of compute cost, storage and usage of network traffic and additional services like Cloud Operations Suite. While some of the cost, like GKE infrastructure is constant, for some services cost is a factor of usage. Note, that some of Sandbox costs fall under the free tier, but not not all. To learn more about billing and pricing please refer to: Google Cloud Pricing Overview, Google’s Pricing philosophy, GCP’s Billing.
The GCP billing page will break down your expenses by resource usage. To view billing information for your project in the console go to the Billing section in the left navigation menu.
GCP has transparent pricing which is applied per resource. You can plan and estimate pricing using the pricing calculator. One great feature of Google Cloud Platform is sustained use discounts, which can save up to 30% in costs as a credit applied to your account. This allows you later to see exact costs attributed to usage, so you can more accurately reduce usage going forward."
To break down the cost we will use a GCP calculator. As network, storage and observability cost are very minimal due to the low volume, in the next section we will focus on the cost of the infrastructure.
Sandbox Compute Cost Estimations
You can view the provisioned resources in Terraform code you can see the exact resources created or in GCP’s console.
In order to use the calculator you should first select a product from the scrolling list and fill the needed variables. We should do the same for each one of the products.
Resources Information Region: “us-east1”
- Loadgen Cluster 1x “n1-standard-2”
- GKE cluster (for the hipster shop microservices) 4x “n1-standard-2”
- App Engine (Standard, F1)
- SQL PostgresQL - “db-f1-micro”
GKE Clusters Choose GKE Standard -> fill the number of machines, machine type and region and at the end press ‘add to the estimate’
App Engine For AppEngine -we should choose ‘Standard’ - F1, as AppEngine scale to 0 when not used in our learning environment with periodical test our cost fall under the free tier (AppEngine pricing)
You can see detailed usage and billing cost in the AppEngine console
Cloud SQL Similar to before, we should choose the product i.e. Cloud SQL.
Then we should choose PostgresQL -> and fill the instance type, region as before. In regards to storage we can fill 10GB which is the default.
Similarly we can also add to the estimation the cost of our storage(buckets), in order to estimate that cost we will need to get how much data we are using.
You can view this information easily using Metrics Explorer, by choosing Resource Type:
GCS Bucket and Metric
As you can see it is well below 1GB which costs $0.02. At the end you will have an estimation that includes all the components, and you also save it or email it to be referenced later. Which is ~$250 a month for Sandbox components.
Please note that is only estimation for the compute components and additional charges like networking and metrics will be added based on usage.