Called just “Flow“, this is the long-awaited DevOps tool from Alibaba Cloud. Until now, this cloud provider didn’t have any CI/CD platform to help developers automate pipelines. Automating pipelines is a must nowadays for any software company, as makes deployments easier and more consistent, this reduces significantly human errors as completely removes manual steps of […]
Best Practices Dealing With Large Docker Images in Alibaba Cloud Kubernetes
All applications starts in the same way, usually with a simple deployment made up of a tiny and organised Docker Container which is built and deployed within minutes. As your business grows, that tiny Docker Container doesn’t rely on a small Image anymore, and the assets built in it, the compiled code and all those […]
Participating in Alibaba Cloud Open Platform’s first challenge
If you weren’t aware, I submitted on November a Terraform Module I made to the Alibaba Cloud Open Platform Challenge. Said challenge was designed to bring developers closer to the tools Alibaba Cloud is trying to push across the community. Good news! I was among the winners! They launched the challenge on November […]
SSH Tunnelling With Alibaba Cloud To Expose A Local Environment
What we want to solve with this tutorial? The problem we want to solve with this article is a very recurrent one. That one that appears when you are developing a website in your local machine, but your client wants to see the progress as you work. The classic approach is to start an ECS […]
Launch an Alibaba Cloud ECS with Docker using Terraform
This example will show you how to launch an Alibaba Cloud (阿里云) ECS Instance using Ubuntu and packed with Docker and Docker Compose. Very simple but can be used as good start for other project. For this, you just need to create a folder with this 2 files in it: main.tf provider “alicloud” {} data […]
Deploying and Best Practices with Alibaba Cloud
With this How-To I want to talk about Best Practices using Alibaba Cloud (阿里云) deploying a new website/webapp to their infrastructure, also covering the implementation of the maintenance. The article is going to focus on the deployment from a pure DevOps perspective, as Alibaba Cloud (阿里云) is a platform with all the potential for you to […]
Docker Image cleaning easy automation with cron
Docker makes it easy to ship your applications and services in containers so you can run them anywhere. The more you work with Docker it’s also easy to accumulate a huge number of unused images, containers, and data volumes in your filesystem that clutter the output and consume a lot of precious disk space. Docker, […]
Alibaba Cloud PHP and AB Benchmarking
As some of you may know, I recently moved all my services and infrastructure to Alibaba Cloud (阿里云), being this one of the best decisions I made in 2017 in terms of Cloud Computing. I used several services in the past, from DreamHost to 1&1 and from AWS to DigitalOcean. So far, Alibaba Cloud (阿里云) […]
Reverse proxy with Caddy on WordPress with SSL & Docker
WordPress uses the is_ssl() function to determine if SSL is being used in the server. In order to do this, it uses $_SERVER[‘HTTPS’] and $_SERVER[‘SERVER_PORT’] to check if they are set. The problem when you use a reverse proxy, like in almost all the installations I run, is that Apache serves the content in HTTP trough […]
Magento 2.1.x Dockerfile
Magento 2 installation made easy Based on php:7.0-apache, this Dockerfile will automate your Magento2 deployments. You will have: Debian Jessie PHP 7.0 Apache 2.4 Magento 2.1.x Composer Node Grunt
.htaccess basic configuration
Here I will explain a basic configuration of a ‘.htaccess‘. This file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration. It’s more secure to edit the ‘.htaccess‘ than que ‘http.conf‘. With this file you can configure a lot of things in Apache, but the […]
Correct file & folder permissions for WordPress
Some plugin desapeared to your WordPress installation? Some hacked thing? No problem, if you fix the file permissions on your files you will harden your site. Fixing ‘.htaccess‘ & ‘wp-admin/index.php‘ First of all, we must verify the permissions of ‘.htaccess‘ and ‘wp-admin/index.php‘. They cannot be writable except for the user. The correct permission for […]