How to add GCP Account Keys to snapblocs

How to add GCP Account Keys to snapblocs

When deploying a snapblocs stack, snapblocs provisions the stack within the customer’s GCP account. The stack is integrated with Google GCP for Kubernetes clusters using Google Compute Engine instances and other GCP resources. snapblocs manages the lifecycle of the nodes on Compute Engine and other GCP services such as GKE, storage, and network to create a fully production-ready Kubernetes cluster that can auto-scale based on workload requirements.

snapblocs requires that Google Account Keys credentials(privateKeyData) be specified so that snapblocs can access the customer’s GCP environment to provision the stacks on the Google account. See Creating GCP service account keys for details.
Service Account Keys are encrypted and stored on the secured AWS Systems Manager Parameter Store (not on the snapblocs system) to protect the customer's access keys from any unauthorized access. They are not stored within the snapblocs SaaS application or infrastructure. 

Watch the video here.

Click here to create a GCP Service Account Keys.

GCP Service Account Keys need to be added as a provider access key.
An authorized user can add GCP Service Account Keys as a project access key that can be shared among project members for managing stacks such as creating, deploying, etc.
Provider access keys created at the account level are available for use by all projects and their stacks. In essence, they have shared credentials for all projects. Access keys created at the project level can only be used by stacks within that project.  

To add GCP Service Account Keys to a snapblocs Account.
  1. From the left nav, go to “Settings,” then select the “Provider Access” tab.
  2. Click "+Add new".
  3. Select "GCP" for the cloud provider, then select “Next.”
  4. For “Name,” enter a unique access name.
  5. Enter the GCP Credentials (See Creating GCP service account keys to create the GCP Credentials)
  6. (Optionally) Click "Test credentials with provider" to validate the GCP Service Account Keys.
  7. Click "Save."
To add GCP Service Account Keys to a project
  1. From the left nav, go to “Projects."
  2. Select the project.
  3. Click "Provider Access"
  4. Click "+Add new".
  5. Select "GCP" for the cloud provider, then select “Next.”
  6. For “Name,” enter a unique access name.
  7. Enter the GCP Credentials.
  8. (Optionally) Click "Test credentials with provider" to validate the GCP Service Account Keys.
  9. Click "Save."


    • Related Articles

    • How to Create GCP Service Account Keys

      GCP Service Account Keys Service Account Keys allows snapblocs to access customers' Google cloud provider environment for deploying customer stacks, collecting statistics of the stacks, etc.  Service Account Keys are encrypted and stored on the ...
    • How to add AWS IAM Access Keys to snapblocs

      When deploying a snapblocs stack, snapblocs provisions the stack within the customer’s AWS account. The stack is integrated with Amazon EKS for Kubernetes clusters using AWS EC2 instances and other AWS resources. snapblocs manages the lifecycle of ...
    • GCP Provider Access Method

      Add a GCP provider access method to snapblocs before configuring or deploying a stack. When configuring a stack, snapblocs will retrieve some GCP account information such as available VPCs, Subnets, SSH Key Pairs, etc. This information is ...
    • Create snapblocs Account

      You need to create a snapblocs account before creating and deploying a stack. You need the following information to create a new snapblocs account on the snapblocs sign-up page. Username (must be unique) Phone number (optional) Given name (first ...
    • Add New User to snapblocs Account

      Anyone with an Account admin role (i.e., Account admin, Root admin) can manage users to a snapblocs account. See How to set up RBAC for Permissions and Roles of Root admin or Account admin. You can add as many users to a snapblocs account as you ...