Skip to content

Instantly share code, notes, and snippets.

@mvasilenko
mvasilenko / AKS Setup Script
Created September 29, 2018 06:51 — forked from seanw122/AKS Setup Script
This script will setup a new Azure Resource Group and Azure Kubernetes Service cluster environment also with an Azure Container Registry resource.
## This creates a working single node Azure Kubernetes Cluster
## and with an Azure Container Registry. Note, the ACR is in
## the same resource group as the AKS for demo purposes. For
## dev you should have ACR in separate resource group.
echo "Beginning AKS Setup for Demo"
date
AKS_RESOURCE_GROUP=aks-rg1
AKS_CLUSTER_NAME=aks-c1
@mvasilenko
mvasilenko / instance.tf
Created February 25, 2018 18:49 — forked from davebiffuk/instance.tf
Terraform template for security group
variable "count" {
default = 1
}
variable "flavor" {
default = "m1.small"
}
resource "openstack_networking_floatingip_v2" "fip" {
count = "${var.count}"
@mvasilenko
mvasilenko / haproxy-www.tf
Last active January 28, 2021 22:53 — forked from thisismitch/haproxy-www.tf
How To Use Terraform with DigitalOcean
resource "digitalocean_droplet" "haproxy-www" {
image = "ubuntu-14-04-x64"
name = "haproxy-www"
region = "nyc2"
size = "512mb"
private_networking = true
ssh_keys = [
"${var.ssh_fingerprint}"
]
connection {