Categories
VPS 科普

如何使用共享IP虚拟主机而不失霸气

由于不可描述的原因并根据站长非正式统计,中国是现时云主机个人均拥有量最高的地区,没有之一。伴随这庞大需求而来的是各路厂商对成本的最大优化而衍生的各类阉割版主机,务求以低价与薄利多销的策略来吸引消费者。而对个人使用的低阶主机产品而言,已经属于稀缺资源的公网 IPv4 就占了成本的一大部分(本文的 IP 都是泛指 v4,后略)。于是市面上出现了各种各样的共享公网 IP 或 NAT 主机租赁服务。

Categories
VPS 科普

Azure 乞丐版 B1ls 的正确食用姿势 —— 压榨极致性能

最近与几个大佬闲聊之际,发现很多人都在不约而同地吐槽 Azure 的效能。综合的来的意见不外乎是云盘 I/O 过慢(HDD/SDD 一样卡)、主机响应迟钝没反应、运行更新耗时大半天,期间 CPU 效能满载或时处于半宕机状态等等糟心体验,还贵。贵,是毋庸置疑的,毕竟产品品牌定位就是高端货,不可能做到灵车的价格。但我想说的是很多时候产品本身并无问题,只是食用姿势不对。

Categories
VPS

Adding Swap Space in Linux

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.

Categories
Software VPS

Apt update slow? Try this fix

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?

Categories
VPS

Google Cloud DNS will serve randomized records from 27 Mar 2020

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.

Categories
VPS

Removing WALinuxAgent from your Azure instance

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.

Categories
Software VPS

Installing Caddy as a service in your cloud instance

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:

Categories
VPS

Google starts charging for public IPv4 addresses in GCP

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.

Categories
VPS

1-year free cloud instance with 3TB transfer

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.

Categories
VPS

AWS Lightsail US$3.5/mo instance reviewed

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.