“Inanimate objects are classified scientifically into three major categories — those that don’t work, those that break down and those that get lost.” – Russell Baker
Microservices are becoming the standard when discussing CD/CD pipelines and the latest application developments. So the question becomes how do I dive into managing all of these smaller items and gathering metrics around them. For the sake of simplicity, I am going to use Conjur-up which is made by the company who owns the Ubuntu software package. It’s a pretty simple GUI that will allow you to power up many different tools automatically and also do backend configurations for you.
So to start login to your AWS Linux (Ubuntu is best for this) server in AWS here’s a refresher if needed Link
Once you’re on a terminal enter –
sudo snap install conjure-up –classic
That should be successful so then run
Now we will be presented with a GUI and for this we are going to run the Canonical
Distribution of Kubernetes (CDK)
You will see a large number of additional components for your distribution here that can be added on. For this demo I will choose Graylog for logging purposes, Helm to manage Kubernetes applications, Prometheus for gathering metrics of your environment and Rancher to manage the cluster.
Hit next and pick the cloud you will be deploying to.
juju status –format yaml grafana/0 | grep public-address
juju run-action –wait grafana/0 get-admin-password
Start logging into Graylog and heres how to get your graylog password according to the documentation is
juju run-action graylog/0 show-admin-passwordBUT that times out..
So run it with the wait option - juju run-action --wait graylog/0 show-admin-password
There’s a lot of tinkering and configurations that you can get started with but this is only a primer for you to get familiar with the setup and possible configurations. Till next time….