Categories
gcp

Managing Multiple Accounts in GCP

Add an account. gcloud config configurations create [CONFIG_NAME] Example gcloud config configurations create my-account Setup the new configuration. gcloud init List config. gcloud config configurations list NAME IS_ACTIVE ACCOUNT PROJECT DEFAULT_ZONE DEFAULT_REGION default False user1@domain1.com project-1 us-west1-a us-west1 my-account True user2@domain2.com project-2 us-west1-a us-west1 List active account. gcloud auth list Credentialed Accounts ACTIVE ACCOUNT user1@domain1.com […]

Categories
Kubernetes

Kubernetes: WordPress on GKE using Cloud SQL

Create MySQL database Click CREATE INSTANCE. Choose MySQL. Choose an Instance ID and Root password. Click Create. Click on the USERS tab. Click Create user account. Insert wordpress as the User name and create a Password. Click CREATE. Feel free to use openssl to create a password. openssl rand -base64 32ux9ftpLM6YSB8gnCB+LOomCqp+gPlnk63JJEzCEp1Uo= Click the DATABASES tab. […]

Categories
Code Linux UNIX

rsync

Everyone backs up their data. The problem I ran into is that I have 2TB’s of data to backup, and I couldn’t find a cloud based solution that uploaded my data fast enough. So, I went to plan B. As you can tell by the title of this blog, I am going to use rsync. […]