Alibaba Cloud, Pick the right instance type
When we first tried to launch our first instance on Alibaba Cloud, intuitively we picked the default burstable type T5. Once launched, we are shocked, by the speed of running a simple apt-get update, how can it be so slow,...
Letsencrypt failed to renew
We were getting this letsencrypt renewal error on some Ubuntu 16.04 machines: OSError: Command /opt/eff.org/certbot/venv/bin/python2.7 – setuptools pkg_resources pip wheel failed with error code 1 Googling around, hit a few walls and finally found the solution, just need to run...
Ubuntu run out of space?
If you are getting ‘running out of space’ from your SSH console, but running a df -h shows that there are still plenty of free space left, then most likely inode is the one that run out. To confirm it, just...
Scaling PHP CMS in AWS
There’s two major challenge when scaling a traditional CMS like Prestashop / Drupal: – Centralized session – File storage synchronized – Isolate Backend traffic to a single instance Let’s dive into details for each of them: Centralized Session This...
Cloud – From Freedom to Jail, then back to Freedom
Freedom and flexibility are the main reasons people move to cloud, especially when there are tools like AWS RDBMS. They allow you to move to cloud and freed from your current on-premise vendor. With a BONUS! They also provide the tool that...
Cloud – Who stolen my vCPU ?
As discussed in previous posts like public vs private cloud, you are getting vCPU for your public cloud servers, which is shared among other VMs in the same hypervisor. But how do you know if the hypervisor, the physical hardware CPU...
Public cloud and Private cloud
What’s the difference between Public and Private The only main difference between the two is simple: Using public cloud: Sharing the physical hardware with other user Using private cloud: All the VM is sitting on your dedicated servers, sharing resource...
Scaling on the Cloud – How and When ? Part 2
We have discussed about the HOW of scaling in Part 1, let’s discuss on the WHEN of scaling. 1. Preemptive Scaling In other words, manual scaling. You are expecting an increase of traffic like: A crazy product promotion with huge...
Scaling on the Cloud – How and When ? Part 1
Cloud computing has been known for its flexibility, it can scale anytime. I will scale it down when traffic is low to save my cost, with just a button. I will scale it up when traffic is high to handle...