Amazon Web Services (AWS) 與 Google Cloud Platform (GCP)

https://aws.amazon.com

定價:
https://aws.amazon.com/tw/ec2/pricing/
https://aws.amazon.com/tw/rds/mysql/pricing/
http://calculator.s3.amazonaws.com/index.html

AWS Shield – DDoS 保護
https://aws.amazon.com/tw/shield/

使用導覽:
Connect to Your Linux Instance
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstances.html
Tutorial: Installing a LAMP Web Server on Amazon Linux
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html



https://cloud.google.com

定價:
https://cloud.google.com/compute/pricing
https://cloud.google.com/sql/docs/mysql/pricing
https://cloud.google.com/products/calculator/

承諾使用折扣 (Commited Use Discount) 最低43折的優惠:
https://blog.gcp.expert/committed-use-discounts/
https://cloud.google.com/compute/docs/instances/signing-up-committed-use-discounts

Regions and Zones:
https://cloud.google.com/compute/docs/regions-zones/

使用導覽:
https://jerrynest.io/gcp-server/
https://mrtang.tw/blog/post/creating-and-starting-an-instance

如何在 Linux、OSX 和 Windows 工作站使用常見的 SSH 工具來連線至 Linux 執行個體
https://www.techcoke.com/2017/01/google-compute-engine-putty-ssh-instances.html
https://cloud.google.com/compute/docs/instances/connecting-to-instance?hl=zh-tw
https://adon988.logdown.com/posts/7810772-gcp-establish-ssh-online-login-vm-mode

GCP 中繼資料 SSH 金鑰管理 (多人協同作業時的管理方法):
https://ithelp.ithome.com.tw/articles/10217457

How to Set Up MySQL on Google Compute Engine
https://21st.each1.net/2019/04/google-compute-engine-mysql.html

如何設定 GCP HTTP(S) 負載平衡器
https://blog.gcp.expert/google-cloud-load-balancing/




关于共享核的实例的补充
https://guozeyu.com/2016/10/asia-google-compute-engine/

f1-micro(0.6 GB)和 g1-small(1.7GB)这两个版本使用的是共享核心(其余配置都是独立核心),根据 Google 的说明,0.60GB 是 0.2 vCPU,1.70GB 是 0.5 vCPU。但是却支持 Bursting,也就是短时间内最高能使用到 1.0 vCPU。

那么 1.0 vCPU 是多少呢?查 cpuinfo,是 Intel(R) Xeon(R) CPU @ 2.50GHz。也就是说这两个版本最高能占用到 2.5GHz。但是假如长时间占用,速度就会压缩到 0.5GHz 和 1.75 GHz。


我的 f1-micro 装了监控软件,对比 Google 给的 CPU 占用率(深蓝色)和系统自己监控到的占用率(浅蓝色),发现 Google 图表上统计的 CPU 占用率正好是本地统计的 5 倍,也就是说如果本地看到的 CPU 占用是 20%,Google 图表上显示的就正好是 100%,本地为 20~100%,Google 图表上就是 100~500%,这时就算作 Bursting 了。

和其他 VPS 对比,其他的 VPS 也几乎都是共享核心,但你却无从判断是否超售。比如有 10 个用户共用一个核心,如果那 10 个人都在不停的占用 CPU,那么你的 CPU 速度会低于单核的十分之一。而 Google 的共享核心,保证了一个最低的速度(0.2 vCPU 和 0.5 vCPU),就算其他用户用的再狠,也能给你保证一定的速度。



2017 比較
網路流量費
AWS

GCP


https://www.mile.cloud/single-post/cloud_comparison/
https://blog.gcp.expert/google-cloud-v-aws/



GOOGLE STACKDRIVER
監控、記錄和診斷在 Cloud Platform 及 AWS 上的應用程式
https://cloud.google.com/stackdriver/




程式語言編年史

程式語言編年史原文 下面這張圖片描繪了整個程式語言的歷史。包括各種程式語言的發明人、程式語言的特點和適用領域、被什麼網站或公司使用等 (檢視 完整高清圖 )。 之所以會有那麼多不同的程式語言是因為設計程式語言的初衷不同、對語言學習曲線的追求不同、不同程式之間的執行成本差異...