Open in app
Home
Notifications
Lists
Stories

Write
Webber H. Lin
Webber H. Lin

Home

Aug 6, 2020

Using GCP — GKE and GCS for checking validation of ICP domains.

The goal of this project is to set up a K8S cronjob for checking the validation of ICP domains. To achieve this task requires 1) inspect the validation of ICP domains by calling the Chinaz API. 2) send a daily notification email by calling the SendGrid API. 3) read CSV…

K 8 S

3 min read

Using GCP — GKE and GCS for checking validation of ICP domains.
Using GCP — GKE and GCS for checking validation of ICP domains.

May 26, 2020

讀書可以幫你變有錢, 還是有品行?

大家好, 我是Webber, 也是二寶的爸爸, 由於二女鵝剛剛出生, 心裡面一直有些未來想教給女兒的教養, 不知道是不是正確的, 歡迎各位有看到這篇文章的博友不吝給W意見. :-) 多讀書並不是為了變有錢 台灣現在有很多大陸文章或影片充斥, 裡面很多要大家勵志求上的文章, 但是衡量的標準卻是誰有錢就是好, 這個部分, W卻不是十分認同, 至少W小時候的教育並不是這樣的, 學校教的是多多讀書, 豐富心靈, 對人事物有不同的體認跟了解. 雖然W也不是什麼很高尚的咖, 但是富有的定義, 不是名車豪宅, 不會因為錢的多寡產生自卑或是自滿. 當然好日子大家都想過, 不過幸福並非建立在別人的痛苦上面. 讀書其實樂趣很多, 這裡指得是吸收新知, 這個知識爆發的時代, 知識的取得並非只有書, 現在有太多可以獲得知識的管道, 例如 google, youtube, 群組, 網路文章, 有太多太多,實在是不勝枚舉.

Taiwan

3 min read


May 19, 2020

GCP — GKE networking study and labs

In order to understand k8s networking, I prefer to run 3 labs and learn from there. If you want to know more details, I suggest you to subscribe ACloudGuru training. This is just a place to share my note. ping lab (by default, it assigns a Cluster IP)→ i will…

Gcp

4 min read

GCP — GKE networking study and labs
GCP — GKE networking study and labs

May 19, 2020

GCP — Create a GKE cluster by gcloud command

This gcloud command is still beta and see how huge the whole command is. :P gcloud beta container — project “gke-project-277616” clusters create “my-cluster-2” — zone “us-central1-c” — no-enable-basic-auth — cluster-version “1.14.10-gke.36” — machine-type “n1-standard-1” — image-type “COS” — disk-type “pd-standard” — disk-size “100” — metadata disable-legacy-endpoints=true — scopes “https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" — num-nodes “3” — enable-stackdriver-kubernetes — enable-ip-alias — network “projects/gke-project-277616/global/networks/default” — subnetwork “projects/gke-project-277616/regions/us-central1/subnetworks/default” — default-max-pods-per-node “110” — no-enable-master-authorized-networks — addons HorizontalPodAutoscaling,HttpLoadBalancing — enable-autoupgrade — enable-autorepair — max-surge-upgrade 1 — max-unavailable-upgrade 0

Gcp

1 min read


May 19, 2020

GCP ACE — Understand GCP Networking

Create a custom VPC and subnet via gcloud command → create a VPC gcloud compute — project=medium-demo-2 networks create custom-vpc-1 — subnet-mode=custom 2. create a subnet gcloud compute — project=medium-demo-2 networks subnets create tw-subnet — network=custom-vpc-1 — region=asia-east1 — range=192.168.0.0/24 — enable-private-ip-google-access Set up a firewall rule give a name…

Gcp

2 min read

GCP ACE — Understand GCP Networking
GCP ACE — Understand GCP Networking

May 18, 2020

GCP- ACE IAM and Billing Access Control

link → https://cloud.google.com/iam/docs/understanding-roles gcloud command you can use to understand the role gcloud iam roles describe ROLE_ID Identity and Organization — cloud identity IAM Resource → it means the GCP resource you use for your service IAM Permission and Roles → Permission means that you are able/unable to access/use resources…

Billing

2 min read

GCP- ACE IAM and Billing Access Control
GCP- ACE IAM and Billing Access Control

May 17, 2020

GCP- GCE instance group and autoscaling

If you don’t have an instance template yet, please go ahead to create one before below steps. I assume you already have your instance template ready for below steps. I would like to create an autoscaling instance group and running 1–5 instances depends on the CPU usage. If the CPU…

Gcp

4 min read

GCP- GCE instance group and autoscaling
GCP- GCE instance group and autoscaling

May 17, 2020

GCP- GCE instance template setup

Before you try to manage instance group and autoscale your instances, you have to use instance template instead. There is another kind of manage group is called un-managed group, and you can add your current instances into one un-managed instance group but is unable to be autoscaled! create instance template…

Gcp

2 min read

GCP- GCE instance template setup
GCP- GCE instance template setup

May 15, 2020

GCP gcloud commands

[basic syntax] gcloud <global flags> <service/product> <group/area> <command> <flags> <parameters> example: gcloud — project=medium-blog-demo compute instances list — project → this is <global flags>. You can use either “=” or space to provide value of this flag compute → this is <service/product> instances → this is <group/area> of this service/product …

Gcp

2 min read

GCP gcloud commands
GCP gcloud commands

May 15, 2020

GCP Cloud Storage — manage bucket and objects

In this article, we will introduce how to upload files to your bucket, how to rename your objects, make your object public access, how to re-edit your bucket. upload your files via GCP console

Gcp

3 min read

GCP Cloud Storage — manage bucket and objects
GCP Cloud Storage — manage bucket and objects
Webber H. Lin

Webber H. Lin

Following
  • Shawn Ho

    Shawn Ho

  • smalltown

    smalltown

  • Edoardo Nosotti

    Edoardo Nosotti

  • sathish vj

    sathish vj

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable