When developing for cloud native solutions, I occasionally need to setup clean isolated environments using virtualization for testing or modelling solutions. One of the tools for my development system used to manage virtual machines is the popular Vagrant tool from Hashicorp.
Vagrant by default supports Virtualbox, but what if I want to use the native Linux virtualization solution with KVM? Well, you can with the vagrant-libvirt
plug-in.
This article will cover how to install and setup these components on Ubuntu 20.04.1 LTS (Focal Fossa).
These are instructions use GNU bash that comes standard on most distros. …
Azure like other cloud providers has support for an object store, called Azure Blob Storage. This solution is similar to S3 or GCS, but unfortunately, most applications out there will not have direct support for Azure Blob Storage.
We can get past this limitation using MinIO Azure Gateway, which will provide an S3 interface for the Azure Blob Storage.
This tutorial will walk you through how to create an Azure Blob Storage, and then use Docker-Compose to run a MinIO Azure Gateway with some sort of client to access our system.
These are the tools required to fully use this…
Now that we have an existing VPC infrastructure, we can provision Amazon EKS. In this article I will cover two main topic take-aways:
eksctl
to quickly provision EKS using VPC infrastructure created by Terraform.This code will create a EKS-ready VPC cluster: private and public subnets per availability zone and tag appropriately for EKS.
The eksctl command line tool can create a cluster by either command-line options or using a eksctl config file to define our infrastructure. The default method to provision EKS with this tool is to create both the VPC and EKS that uses that VPC, but this is not as flexible. You can create a configuration that uses the existing VPC, provided that you tell EKS all the private and public subnets for EKS to use. …
This article covers how to create an Amazon VPC (Virtual Private Cloud) using Terraform for the purposes of provisioning EKS (Elastic Kubernetes Service).
This will be particularly useful for those that use eksctl tool (see below for context). This will be a three part series with the following planned articles:
The eksctl tool is great because you can setup a complete production ready Amazon EKS cluster with a single command and a small eksctl config file to describe your cluster. The automation also can add canned policies, like access to ECR (Elastic Container Registry), Route53, ALB (Application Load Balancer), or custom policies for pods running on the cluster. …
There comes a time where you will need to secure web traffic for your web services on Kubernetes. Alright, that’s all the time. For GKE, you can do this with Google Managed SSL certificates.
Certificate management requires having a registered domain name. Thus, for this article, you will need to have a registered domain or subdomain on Cloud DNS and a GKE cluster with ability to update DNS records using External DNS.
This article will show walk you through using Google Managed SSL certificates with GKE.
Update: 2020年7月25日 Resources with blog source code link
When deploying a web application, it is preferable to use a name like hello.mycompany.com
rather than 34.98.86.241
. This requires configuring DNS records when you deploy your web application, which be done with the Kubernetes add-on ExternalDNS.
This article covers how install configure ExternalDNS to integrate Cloud DNS with Google Kubernetes Engine (GKE), so that you can automatically configure DNS records when deploying web applications. We’ll demonstrate use this facility using these Endpoints:
In a previous article, we covered how to configure endpoints in GKE using either a service resource or an Ingress resource. …
After provisioning a Kubernetes cluster using GKE (Google Kubernetes Engine) and deploying a web application, such as hello-kubernetes
, we want to access them through an Endpoint.
There are two common paths on Kubernetes that you can use for Endpoints:
LoadBalancer
type that will provision an external network load balancer.In previous articles, we covered building or provisioning the GKE cluster.
You will need the following tool requirements:
This article shows how to build a Kubernetes cluster using GKE (Google Kubernetes Engine) using the popular Terraform tool.
For those that may not familiar with Terraform, it is a tool that does change configuration for cloud resources. The resources are things you configure to a desired state, such as provisioning GKE on Google Cloud.
The Terraform scripts themselves use a declarative human readable language to describe our desired infrastructure. We use the Terraform tool to apply the changes expressed in the script. …
I have a friend that wants to learn Kubernetes, and so I thought: why don’t I kick of a zero-to-hero series on Kubernetes on Google Cloud with GKE (Google Kubernetes Engine).
This series will start with provisioning GKE cluster, deploying a stateless web application, and adding integration with DNS and TLS certificates.
For this first article, the focus will be how to provision a GKE cluster using Google Cloud SDK command line tool for interacting with Google Cloud. I will do a follow up article to show how to do something similar with Terraform.
For this exercise you will need to setup an account on Google Cloud and create an initial Google project that has billing enabled. For this tutorial we’ll use a fictional project…
Alright, I admit it, I have a gaming system that uses Windows 10 Home. Sometimes I would like to do some development things with Docker and Jenkins, but the system has been, well, challenging.
This article will show how you can create a local Jenkins DevKit environment using Docker and Jenkins on Windows 10 Home.
First, Docker Desktop cannot run on Windows 10 Home due to absent of Hyper-V. Microsoft would prefer that you purchase the more expensive Windows 10 Professional to gain access to Hyper-V. …
About