最近与几个大佬闲聊之际，发现很多人都在不约而同地吐槽 Azure 的效能。综合的来的意见不外乎是云盘 I/O 过慢（HDD/SDD 一样卡）、主机响应迟钝没反应、运行更新耗时大半天，期间 CPU 效能满载或时处于半宕机状态等等糟心体验，还贵。贵，是毋庸置疑的，毕竟产品品牌定位就是高端货，不可能做到灵车的价格。但我想说的是很多时候产品本身并无问题，只是食用姿势不对。
Swap in Linux is the equivalent of virtual memory in Windows – a space on a disk that is used when the system runs out of RAM. For some reason unknown, many cloud instances are deployed without any swap.
On a cloud instance with a slow disk, running the dreaded
apt update && apt upgrade could take an eternity. But what if I tell you it may actually not be a disk IOPS issue?
Currently, Cloud DNS name servers return resource record sets in the order in which they were defined.
In alignment with DNS industry practices, Cloud DNS name servers will begin randomizing the order of the resource record sets starting on March 27, 2020. This will apply to both public and private Cloud DNS zones.
Azure’s supplied Linux images come preinstalled with the Azure Linux Agent, a process that manages virtual machine interaction with the Azure Fabric Controller, such as providing the oh-so-useful availability status and the VM name to Azure. It also performs self-updates, by the way.
Caddy should be everyone’s server of choice. Especially lazy people, and that’s everyone. This blog is served by Caddy. It is a modern web server written in Go. It does automatic HTTPS configuration. TF is automatic you ask? Take this blog for example – if it were to run in Nginx, the config file would look like this:
If you have taken a look in your January 2020 invoice from your GCP subscription, you would notice a new line that resembles this:
Compute Engine External IP Charge on a Standard VM: xxx.xxx Hours [Currency conversion: USD to SGD using rate 1.352]
Edit: Google is currently discounting the public IP charges 100% for the first 3 months until 1 April 2020.
Came across a free 12 months VPS offer. You get a full year’s worth of cloud instance with 1 vCPU, 1GB RAM, 40GB SSD as well as 3TB data transfer. That is 750 hours per month of free usage, which you can either leave it on 24/7, or spin up 750 instances for 1 hour. Either way, it is within the free tier.
This is a personal, independent review of the service which I have paid for, and is in no way affiliated with AWS.
As mentioned in the inauguration article, I was in the market for a VPS with excellent internet connectivities to improve my streaming experience for content hosted in certain countries. My household streaming consumption is about 1.6TB per month, of which about a quarter, or 400GB, could use some accelerations.