Skip to content

Instantly share code, notes, and snippets.

View ckelner's full-sized avatar
🐕‍🦺
Datadog

Chris Kelner ckelner

🐕‍🦺
Datadog
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ckelner on github.
  • I am kelner (https://keybase.io/kelner) on keybase.
  • I have a public key whose fingerprint is 9A19 853D 7E3D 0279 6CE4 E699 7FD5 06CF CA84 EDE5

To claim this, I am signing this object:

provider "ibmcloud" {
bluemix_api_key = "${var.bx_api_key}"
softlayer_api_key = "${var.sl_api_key}"
softlayer_username = "${var.sl_username}"
}
# Create a new virtual guest using image "Debian"
# Your VM will appear with hostname starting with "terraformed-"
resource "ibmcloud_infra_virtual_guest" "debian_small_virtual_guest" {
os_reference_code = "DEBIAN_7_64"
domain = "myapp.ibm.com"
datacenter = "wdc04"
network_speed = 100
hourly_billing = true
private_network_only = false
cores = 1
data "ibmcloud_cf_space" "spacedata" {
space = "${var.bluemix_space}"
org = "${var.bluemix_org}"
}
resource "ibmcloud_cf_service_instance" "redis-instance" {
name = "redis-123"
space_guid = "${data.ibmcloud_cf_space.spacedata.id}"
service = "redis"
plan = "100"
@ckelner
ckelner / bx_cf_marketplace.bash
Created May 31, 2017 14:47
Bluemix Cloud Foundry marketplace reference 31 May 2017
service plans description
APIConnect Essentials, Professional*, Enterprise*, Professional 5M*, Enterprise 25M*, Enterprise 1B*, Essentials - Native Create, manage, enforce, and run APIs.
AT&T Flow Designer user-provided
@ckelner
ckelner / slcli_output.txt
Last active June 13, 2017 16:49
Output from running `slcli hardware create-options`
:..............:.......:
: datacenter : value :
:..............:.......:
: Amsterdam 1 : ams01 :
: Amsterdam 3 : ams03 :
: Chennai 1 : che01 :
: Dallas 1 : dal01 :
: Dallas 2 : dal02 :
: Dallas 6 : dal06 :
: Dallas 9 : dal09 :
@ckelner
ckelner / softlayer_datacenter_list.md
Last active June 5, 2017 14:01
Bluemix/SL Data centers
  • ams01 : Amsterdam 1
  • ams03 : Amsterdam 3
  • che01 : Chennai 1
  • dal01 : Dallas 1
  • dal10 : Dallas 10
  • dal12 : Dallas 12
  • dal02 : Dallas 2
  • dal05 : Dallas 5
  • dal06 : Dallas 6
  • dal07 : Dallas 7

Monitor how many more api calls your git token has

Queries a Github Api rate_limit to find out how close you are to hitting your rate limit. Great for build servers when your not sure why something broke.

Use to create graphs like: Graph or you can display multiple values on a single graph: Graph2

Install

Plugins come with a YAML file and a python file. The YAML file is the

@ckelner
ckelner / README.md
Last active October 5, 2020 17:08
Using the Datadog Ansible integration with Ansible Tower

Datadog and Ansible Tower

This doc explains the nuances of using the Datadog Ansible Integration with Ansible Tower.

Ansible Setup

In a directory of your choosing, run the following commands:

  • vagrant init ansible/tower
  • vagrant up --provider virtualbox
  • vagrant ssh