Skip to content

cloudtruth/Config-The-Hard-Way

Repository files navigation

Config-The-Hard-Way

Managing secrets, parameters, environment variables, and .env files is a major pain for all engineers and developers.

This tutorial contains a full, real-world solution for setting up a Kubernetes environment with secrets and configuration data managed for you with CloudTruth.

DevOps Scenario

The scenario that you're currently facing is you work in an organization that is very monolithic. There is a ton of bare metal, virtualization, manual deployments of applications, and old school practices based on the current teams knowledge of IT.

You're brought in to the company and team to make things more modern so the organization can not only succeed, but stay ahead of their competition. Management now understands the needs and complexity that comes with staying ahead of their competition and they know that they need to. Otherwise, the organization will fall...

DevOps Solution

The solution is to deploy Wordpress and MySQL. Currently this solution is sitting on a bunch of baremetal, but it's time to sprinkle a little DevOps on it.

As a DevOps Engineer, you're more or less (most likely) not writing the app, but instead, deploying it. That's why you're not writing your own app in this tutorial.

You can find the app here

Technology Details

You will be using the following technologies and platforms to set up a DevOps environment.

  1. CloudTruth
    • Used to store all secrets, parameters, and environment variables. Any configuration data that you need stored in one location, CloudTruth has you covered.
  2. AWS/Azure/GCP
    • The application will be hosted on Kubernetes. Regardless of if you use GCP, Azure, or AWS, you'll be able to follow along with this project. Below under the labs, you'll see secrets set up for GKE, AKS, or EKS.
  3. GitHub
    • To store the application and infrastructure/automation code
  4. Docker
    • Although you won't be doing anything directly with Docker, Docker is used to build the containers that run in Kubernetes Pods.
  5. Kubernetes
    • To run the Docker image that's created for the containerized Wordpress app. Kubernetes, in this case EKS, AKS, or GKE will be used to orchestrate the container.

Labs

These labs are a Work In Progress (WIP). If a link is missing or not working, that means the code is actively being worked on.

  1. Prerequisites
  2. Setting Up A Kubernetes Cluster With Terraform
  3. Creating A CloudTruth Project
  4. Using And Not Using CloudTruth
  5. Creating CloudTruth Parameters For The Application
  6. Using Kubetruth
  7. Deploying The Application
  8. Working With Kubernetes Templates In CloudTruth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published