Alter Column Type for Mysql without downtime
We did this by using pt-online-schema-change 1. Since we are using RDS with Read Replica, and the tool require log_bin_trust_function_creators = 1, we did a failover to Read Replica, modifying parameter group of Master, reboot Master, then failback to Master...
Laravel in Docker on the Cloud – Part 1
I has been asked how to make Laravel run in Docker, and more importantly how to deploy it to a production server, since then I have been exploring for options and Laradocks seems to be a simplified way to go...
Save time deploying Laravel with Gitlab CI to Staging server
It’s kind of pain to SSH into staging server and run git pull whenever there’s any code change in Master repo for testing in the staging server. It would save some time if whenever there’s a push to Master, Gitlab...
Fast and Performance WordPress at AlibabaCloud, and cost saving
There are tons of tutorials sharing about how to host WordPress on the Cloud, this series of articles are to share our cloud methodology, and technology how Artisan deploy WordPress on the Alibaba Cloud. The process of deployment is always:...
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...
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...