Home » DevOps » Page 5

DevOps

Quarkus remote dev in Docker containers

When you’re developing with Quarkus, you’re probably familiar with the dev mode which allows you to see your code changes immediately being reflected in the running application. It’s also possible to run Quarkus in development mode remotely, for example in a Docker container, and connect to the process from your source repository. In the following video, I’ll explain what we ...

Read More »

Escape JSON property names in jq

I’m using the command line a lot and jq is a helpful tool for dealing with JSON data. You can access JSON object properties and array elements by concatenating the property names with dots and square brackets: 1 gt; cat ~/.docker/config.json { "auths": { "https://index.docker.io/v1/": { "auth": "aBcDeFghiJKlMn=" }, [...] } } 1 gt; cat .docker/config.json | jq . { ...

Read More »

Use local docker image on minikube

You use Minikube and you want to run your development images that you create locally. This might seem tricky since Minikube needs to download your images from a registry however you images are being uploaded on your local registry. In any case you can still use you local images with Minikube so let’s get started. Before running any container let’s ...

Read More »

6 reasons why you should employ Microservices in DevOps

Netflix, Amazon, Google, PayPal, and Facebook have more in common than them being the absolute behemoths of their niches. They all follow the microservices architecture along with DevOps. These giants of the digital world turn out to be built on the building block of microservices. And they use DevOps guidelines to ensure things turn out to be the way they ...

Read More »

Quarkus tests with Testcontainers and PostgreSQL

Testcontainers is a Java library that allows integrating Docker containers in JUnit tests with ease. In a Containerized World, there is little sense to complicate the tests configuration with embedded databases and services. Instead, use run your services in Docker and let the Testcontainers manage this for you. So if you are need Redis, MongoDB or PostgreSQL in your tests ...

Read More »

Autoscaling Groups with terraform on AWS Part 3: Elastic Load Balancer and health check

Previously we set up some Apache Ignite servers in an autoscaling group. The next step is to add a Load Balancer in front of the autoscaling group. Before any steps let’s add some environmental variables to variables.tf. 1 2 3 4 5 6 7 8 9 variable "autoscalling_group_elb_name" {   type = string   default = "autoscallinggroupelb" }   variable "elb_security_group_name" { ...

Read More »

The Perils of the Shared Jenkins and Making Decisions

You may be thinking of sharing a Jenkins server, perhaps you’re worried about: Who has the time to do admin on multiple servers?How can we be sure that we don’t open a gaping chasm (it happens) on our network making our code and test environment public?Ensuring people use a standard toolsetAvoiding the cost of multiple copies of the same services ...

Read More »