Skip to content

Instantly share code, notes, and snippets.

@jjangga0214
Last active January 9, 2020 13:45
Show Gist options
  • Save jjangga0214/ea4be14f7211a6608c0732d985feed48 to your computer and use it in GitHub Desktop.
Save jjangga0214/ea4be14f7211a6608c0732d985feed48 to your computer and use it in GitHub Desktop.

gcp

gcloud

# Create configuration
gcloud init

# Show configs
gcloud config list

# Show configurations
gcloud config configurations list
gcloud config configurations delete <configuration>
gcloud config configurations activate <configuration>

# Update currently activated configuration
gcloud config set core/project <project-id>
gcloud config set compute/zone <zone>

# enable API
gcloud services enable \
  cloudapis.googleapis.com \
  container.googleapis.com \
  containerregistry.googleapis.com

basic

  1. Create Project
  2. Increase Limit
  3. Enable API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment