User Tools

Site Tools


virtualization:cloud:gcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
virtualization:cloud:gcp [2021/10/16 09:27] jotasandokuvirtualization:cloud:gcp [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 2: Line 2:
 \\ \\
    
-  * Compute Engine (~ ec2 ) +  * VPC peering 
-  * Cloud interconnect (~ direct connect )+  * Service Perimeter
   * Cloud Router (~ vpc)   * Cloud Router (~ vpc)
   * Cloud Storage (~ S3)   * Cloud Storage (~ S3)
 +  * Compute Engine (~ ec2 )
 +  * Cloud interconnect (~ direct connect )
   * Persistent disk (Block storage service)   * Persistent disk (Block storage service)
   * Local SSD : (Ephemeral locally attached block storage)   * Local SSD : (Ephemeral locally attached block storage)
Line 15: Line 17:
   * Best is to use linux from a 'public' image. They have the 'guest environment preinstalled.   * Best is to use linux from a 'public' image. They have the 'guest environment preinstalled.
   * IAM-Admin > Manage resources . Select your project, add member, role 'Owner'. Or we can be more restrictive and add this [[https://cloud.google.com/compute/docs/instances/managing-instance-access#configure_users|roles]] by doing 'add role' and click in 'manage roles'   * IAM-Admin > Manage resources . Select your project, add member, role 'Owner'. Or we can be more restrictive and add this [[https://cloud.google.com/compute/docs/instances/managing-instance-access#configure_users|roles]] by doing 'add role' and click in 'manage roles'
-  * [[https://cloud.google.com/compute/docs/instances/managing-instance-access#add_oslogin_keys|Adding-ssh-keys]] : do it via the cloud shell (top right, command prompt symbol). The command is below (use double quotes to enclose the PubKey).+  * [[https://cloud.google.com/compute/docs/instances/managing-instance-access#add_oslogin_keys|Adding-ssh-keys]] : do it via the cloud shell (top right, command prompt symbol). The command is below (use double quotes to enclose the PubKey)
 + 
 +  gcloud config set project <your-project-name>
   gcloud compute os-login ssh-keys add --key='AAAsdfA..'   gcloud compute os-login ssh-keys add --key='AAAsdfA..'
 +
 +Shared VPC: 
 +  * We can have interconnects in different regions. GCP advertises prefixes via interconnects in different regions. So, if we lose all interconnects in one region, we, as a user can access gcp prefixes in that region via interconnects in other sides of the world.
 +
  
 ---- ----
 +
 +
 TERRAFORM:\\ TERRAFORM:\\
 [[https://github.com/jotasantos/pubcloud/tree/main/gcp/tf_gcp]]\\ [[https://github.com/jotasantos/pubcloud/tree/main/gcp/tf_gcp]]\\
virtualization/cloud/gcp.1634376431.txt.gz · Last modified: (external edit)