Topics

Solutions

Easy solutions and ideas found after long googling or hard coding

Database backup/restore via S3

Backup/Restore script to auto initiate or backup a database.

Run chrome with a virtual X server on Ubuntu

Install configure and run a virtual X Server for Chrome on Ubuntu server using this script.

Complete Ansible, Vagrant and AWS infrastructure

IaC example is a simple example of Infrastructure as code (IaC) to automate a development environment based on Vagrant and a staging, production environment on AWS. The installation creates a basic Symfony application along with a PostgreSQL, Solr and Redis services. Ansible helps automate all the infrastructure tasks and the bash scripts act as a wrapper for the Ansible commands.

Deploy a docker registry with letsencrypt certificates on Ubuntu 18.04

Install a private docker registry on your cloud with letsencrypt certificates in a few easy steps. The shell script will install docker and letsencrypt, generate the certificate, then mount it to the docker registry. Additionally it will create a test user for basic authentication.

Ansible Golang Service

Ansible Golang Service

Ansible role for deploying and running a Golang binary as a systemd service

  • Copy the files into your playbook and set the service_name and base_path to your application.
  • The service uses rsyslog to create error.log and access.log.
  • Logrotate config included.
  • Handles Beego framework logging.