Howto

  • How to deploy several websites on one host with D2C.io

    This guide helps you to deploy multiple websites on one host using the D2C platform and stacks from our Stackhub.
  • WordPress Bedrock: environment variables and plugins as dependencies

    In the last article, I talked about migrating the WordPress project to Git and deploying it via D2C panel. That way is acceptable. However, it has a number of drawbacks: you have to create 2 configs, each time you should request the file system, access details are stored in the repository and you should upload …
  • Advanced WordPress optimization. Part 2: dynamic caching with WP Supercache

    Following on the previous article in the series on advanced WordPress optimization, I’ll talk about implementing dynamic blocks for unauthorized users in the WP Supercache caching plugin.
  • Using Git in WordPress development and the right project migrating to D2C

    Anybody who works with Git has already appreciated the benefits of such a tool. You can easily roll back damaging changes, establish collaboration between dozens of developers and transparently monitor all changes that occur with the code. It just so happens that the vast majority of developers who use WordPress don’t use the tool. This …
  • Advanced WordPress optimization. Part 1: main points

    In the article about «Wordpress with smart Varnish caching» I talked about the acceleration of the website using Varnish reverse proxy which generates HTML pages and returns them in the form of static. But it also happens that your website receives a high load from authorized users or there are some parts that are not acceptable to cache.
  • Extending Ansible – modules

    Under the hood of d2c.io service we use Ansible a lot: from cloud VM creation and provisioning to Docker containers and user apps orchestration. If you missed previous articles of our “Extending Ansible” series, you should definitely read them to get initial overview of the difference between plugins and modules. The most important one is: plugins are …
  • Comparison: Docker swarm, Kubernetes, Rancher and D2C

    Since we started blogging, we’ve been compared to orchestrators more often. And if earlier there were questions about how D2C differs from Heroku, Cloud 66 and similar services, then now, apparently, we were treated as an alternative solution for orchestrating. Ok, i’ll try to fix the situation and will compare D2C with several popular solutions, …
  • Extending Ansible – plugins, part 2

    Under the hood of d2c.io service we use Ansible a lot: from cloud VM creation and provisioning to Docker containers and user apps orchestration. In the previous article we made an overview of plugin types supported by Ansible and created several own plugins: test, filter, action and callback. In this article we will dive deeper… Константин Суворов …
  • Extending Ansible – plugins, part 1

    Under the hood of d2c.io service we use Ansible a lot: from cloud VM creation and provisioning to Docker containers and user apps orchestration. Ansible is very flexible by its nature. It is written in Python and has modular design – you can easily extend functionality with custom plugins and modules. Plugins add new functions or change …
  • HAProxy load balancer. Part 2: Backend section and the algorithms

    This is the second article about HAProxy. The last one was about basic terms and layers. Here I’m going to tell you about balancing algorithms. The backend section of the configuration file is responsible for the balancing algorithm. Haproxy has 9 algorithms. Roundrobin The first in the list and the simplest algorithm is Round Robin. You …
  • Introduction in highload: basic principles of building IT-infrastructure

    Let’s say you have a working website. The load has increased, and shared hosting can not take the load. Then you have migrated your web app on VDS, but it can not take the load too. Next, you need to do something. And what to do next is my article about. #Testing You can not …
  • Speed up Ansible

    Under the hood of d2c.io service we use Ansible a lot: from cloud VM creation and provisioning to Docker containers and user apps orchestration. Ansible is a convenient tool that doesn’t require complex setup because of it agentless nature. You don’t need to preinstall any software (agents) on managed hosts. In most cases, you would …