Iaroslav Kozlov Русский

Infrastructure as Code

Inside the infrastructure

Three cases of my work, each drawn the way its tool works, and beside it what I did. The rest of the section is listed after them.

SaltStack · ProxySQL

MySQL access and ProxySQL rules

A Salt master keeps the desired state of the servers, and its minions apply it on the hosts: here who may do what in MySQL, and which hostgroup ProxySQL sends a query to.

My work

The MySQL grants and the ProxySQL rules for writes and reads are kept in Salt.

How the access is kept

Terraform · Terragrunt

Infrastructure on GCP

Terraform compares a configuration with the state of what it manages, plans the changes and applies them through the provider’s API; Terragrunt cuts the configuration into units and runs them in the order of their dependencies.

My work

IAM, service accounts, networking, MySQL, ProxySQL and ScyllaDB on GCP are in Terraform and Terragrunt, including the installation of MySQL and ProxySQL.

How the infrastructure is changed

Argo CD · GitOps

Deployments to Kubernetes

The desired state of the cluster is kept in Git; Argo CD’s controller compares what runs with it and applies the differences, in phases and in waves.

My work

I deployed applications to Kubernetes through Argo CD.

How a rollout goes

Also in this section

  • Deploying Greenplum 6 Ansible

    I automated the deployment of Greenplum 6 clusters with Ansible.

    Deep dive: Deploying Greenplum 6 with Ansible
  • Greenplum authentication through LDAP LDAP · TLS

    I automated LDAP authentication for a Greenplum cluster: users were put into LDAP groups by department, and the TLS certificates were issued by the admins.

  • Vault access policies

    I set up Vault policies for services and new databases.

  • Greenplum backups to S3 WAL-G · S3

    Backups of a Greenplum cluster to S3 with WAL-G.

    Deep dive: Greenplum backups to S3

Next section

Observability

Database monitoring, first-pass triage of alerts for the engineers on call, and anomaly detection with AI.

Observability To the main page