Docker enables faster software delivery cycles. Docker containers make it easy to put new versions of software, with new business features, into production quickly. This article will help you to create your own Ansible Role to launch docker in 2 widely used OS Families: Debian & RedHat and then configure a web server on both of them.

Image for post
Image for post
Ansible + Docker

This is the era of speed. Faster delivery cycles, faster deployments, faster reach to the market, even faster rollbacks are what the market demands.

They are an extra mile ahead, every time!

I have created this setup by following the below-mentioned steps:

  • Create an inventory file.
  • Create an Ansible configuration file.
  • Create an Ansible Role.
  • Put the files in the /tasks folder.
  • 1- the main file that will call the file to setup Docker in RedHat & Debian and then the common configurations. …


In this project, I am creating an IaC using Terraform for launching the WordPress site on GKE for quick scaling & deployment, and management of containerized applications. The database is in the SQL Service of GCP to utilize its full potential of being fully managed.

Image for post
Image for post
Google Cloud Platform


In order to achieve high availability, at least 2 backend servers should be present and the load balancer will ensure that if 1 backend is not functioning, traffic is directed to the other. ELB is a service provided by AWS that helps to distribute the traffic and provides a single endpoint, where the client can connect. This is very useful when we want to do rolling updates as a Load Balancer will prevent downtime on the client-side.

Image for post
Image for post
AWS EC2 || ELB || Ansible

This article is a continuation of the previous one! So go through that first if you haven’t.

In the previous article, I had explained in detail how to provision multiple EC2 Instances and configure them as Web Servers using Ansible.

At the end of this article, 3 instances were launched.

Image for post
Image for post
  • The instances are launched in the same subnet. This means all the instances are launched in the same Availability Zones. If one complete AZ i.e. the data center goes down, all instances will be gone. So there will be no point to launch multiple instances.
    This means when launching multiple instances to support High Availability, the instances should be launched in different AZ i.e. in different subnets.
    I will show:
  • Even after launching multiple instances, we should provide the client with only 1 IP. The server should have the intelligence to direct the traffic to balance the load. This is done by a load balancer, and I will…


How much time does it take for you to provision & configure instances as per a sudden requirement? 1 set of deployment of your Production Environment where the companies main website is loaded is corrupted. What do you do? How much time does it take for you to bring it up again?

Image for post
Image for post
Application Deployment + Configuration Management + Continuous Delivery


Image for post
Image for post
Terraform || AWS || RDS || Kubernetes || Minikube || WordPress

In this article, I will explain how to deploy a WordPress website on local Kubernetes using Minikube and store the data of WordPress inside Amazon RDS (Amazon Relational Database Service) using 1 single Infrastructure-as-Code using Terraform.

  • there is a disaster or an unforeseen circumstance,
  • when the WordPress Instance goes down or the SQL Instance goes down or gets corrupt, there will be no one to start it up again.


Image for post
Image for post

This article sets up a public WordPress site and a private SQL Database for the security of the data. This set up is made on AWS Cloud using multiple services.

So a more accurate setup for such an infrastructure would be:

  • WordPress site launched in the Public world where anyone can access it.
  • MySQL Database launched in the Private world where only the members of the “Storage Team” can access it. …


Image for post
Image for post
Terraform || Helm || Kubernetes || Amazon EKS || Amazon EFS || Prometheus || Grafana

Complete research-based project on the integration of many different technologies to come up with 1 solution for quick provisioning and quick real-time monitoring.

Image for post
Image for post
Don’t Google !!

Every component of this project has been built from scratch using the following technologies:

In this project I have used the following technologies:

  • Terraform: EKS Cluster from scratch — including VPC, Subnet, Security Groups
  • Terraform: Node Groups working under the EKS cluster
  • Terraform: Storage Class, Elastic File System (EFS) and its…


Image for post
Image for post
Terraform || AWS || VPC || EC2 || S3 | CloudFront || EFS || LoadBalancer

This article is an upgradation to my previous article. In this article I am going to explain how will Storage work if the instance gets auto-scaled.


Image for post
Image for post
Prometheus || Kubernetes || Grafana


Image for post
Image for post
GitHub || Jenkins || Groovy || Kubernetes || Docker

About

Daksh Jain

Automation Tech Enthusiast || Terraform Researcher || DevOps || MLOps ||

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store