Questions tagged [gcp]

For questions about Google Cloud Platform products and services.

Filter by
Sorted by
Tagged with
1
vote
2answers
85 views

Can we do zero-downtime kubernetes deployment with a single pod?

I've inherited an app with K8s services with the following config spec: ... replicas: 1 strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 1 type: RollingUpdate For most ...
0
votes
0answers
16 views

kubeadm installation issue in google cloud platform

I am installing opensource kubeadm in google cloud platform using k8s configuration files. As part of the installation, i updated the cloudprovider values as gce in initconfiguration, apiserver and ...
0
votes
0answers
21 views

Options for deploying a Node.js app in GCP

My objective is to break down and deploy a currently monolithic Node.js web app to GCP. I have decomposed the app to the following modules: A: MySQL server B: Node.js back-end service (that also ...
0
votes
0answers
9 views

Explanation of pricing on GCP - 'Tiered Usage Start' vs. 'List Price'

If I go to the GCP Console > Billing > Pricing, I see this: My question is what is the difference between "Tiered Usage Start" and "List Price"? Do I pay both monthly are ...
4
votes
1answer
2k views

How to list all users with specific role in GCP

gcloud projects get-iam-policy [PROJECT-ID] lists all users with their roles for specific project. There are different filters and formatters available but I can't seem to find the right way to just ...
1
vote
1answer
80 views

Is Google Kubernetes (GKE) worth it for a program that runs once a week?

My team is on the process of migrating all our cloud applications from AWS to GCP, and we were considering using GKE for our main program, until we got the news that Google will now charge an hourly ...
2
votes
0answers
44 views

SFTP server with third party user management system?

I understand how to set up SFTP servers on Linux and create users and their passwords manually. So basically, the users get authenticated as normal Linux users get authenticated through /etc/passwd. ...
2
votes
1answer
41 views

How to connect GCP Load balancer to Kubernetes cluster(single node cluster)

I'm creating a single node(name: node1) k8 cluster for demos. I have setup a nginx-ingress controller. service/volted-marmot-nginx-ingress-controller LoadBalancer 10.100.132.29 <pending&...
0
votes
1answer
190 views

How deploy public key to newly created VM on GCP?

I create VM instance using ansible module gcp_compute_instance My code: --- - name: Create jenkins node-1 hosts: localhost connection: local gather_facts: no vars: address: <my ip> ...
1
vote
1answer
173 views

GCP - Can't create a tpu on europe-west1

I'my trying to create a tpu for my vm instance from this tutorial but get this error message: ERROR: (gcloud.compute.tpus.create) PERMISSION_DENIED: Location europe-west1-b is not found or access is ...
1
vote
1answer
19 views

GCP compute quota hard caps?

Are there published upper limits or hard caps for the GCE CPU or Managed Instance Group Quota per account? I know that you can request to increase your Quota, but I have not been able to find what the ...
1
vote
1answer
44 views

Compound calculation of GCP GCE SLAs based on number of instances?

GCP publishes a 99.99% uptime SLA for GCE. How would I calculate an estimated SLA if my application used services deployed on 1,000 GCE instances? Assuming that the services were dependent on each ...
4
votes
1answer
347 views

Building a CI/CD pipeline on GCP

I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous ...
4
votes
1answer
772 views

How to download a VM image from GCP?

I do not see a download button. I would like to download a VM image that was created on GCP using Packer and I would like to run it locally in Virtualbox.
2
votes
2answers
64 views

What artifact managers are available in GCP?

I use artifactory and nexus, but I wonder what artifact manager could be used in GCP? Is there a managed artifact manager or do I have to run one myself in a VM?
3
votes
1answer
573 views

Google Cloud Registry and multiple projects

Is it possible to pull images from the same GCR from multiple GCP projects without making the registry public? I want to do this so I do not have to upload multiple times the same image to multiple ...
2
votes
1answer
3k views

Installing Helm charts using Terraform

I have been trying to install Helm charts using Terraform in a cluster which operates in GKE. My question is in two parts: Is it a good practice to use Terraform for installing Helm charts? I have ...
1
vote
1answer
45 views

If we are using Kubernetes do we need to implement HA on both the infrastructure and application level?

Is this something that's going to be covered at the application level with pod autoscaling? Or should we implement both horizontal pod autoscaling and infrastructure high availability within our cloud ...
2
votes
1answer
176 views

How to exclude storage.bucket.list permission on public gcp storage bucket

Google Cloud Platform Storage Buckets can be directly exposed via HTTP. The recommended configuration for this is to have allUsers with the Storage Object Viewer role. The Storage Object Viewer role ...
9
votes
3answers
1k views

How should GCP projects be organized? [closed]

I have recently inherited the previous director of devops duties in managing a transition from Heroku/AWS to GCP. I'm wondering what is best practice for organizing projects in GCP. Should the be ...
7
votes
2answers
1k views

How to know which user created the GCE Instance

We have several billing enabled projects in our GCP account and each of them has several Compute Engine Instances. I want to remove non-critical instances just to reduce the unnecessary billing. But ...
2
votes
2answers
695 views

How to allow users to list authorized buckets in GCP Storage?

I created a storage bucket B and I granted a user as "Storage Object Viewer" on it. The user can view bucket content with a direct link (e.g. https://console.cloud.google.com/storage/browser/B/?...
4
votes
1answer
79 views

How to recreate GCP Preemptible VMs behind LB before they expire?

I created preemptible instances in a managed instance group behind LB, I specified the preemptible option in the instance template. Because GCP Compute Engine always terminates preemptible instances ...