Cloud Zone is brought to you in partnership with:

Ben is a writer, editor, coffee addict, beer snob, and music lover living in Cary, NC. He first became interested in computer hardware at a young age, and has built more than his fair share of desktop PCs over the years. He's a total device junkie and welcomes the coming age of the Internet of Things. His interest has since spread to tech media in general—in particular he writes about cloud technologies, middleware, DevOps, IoT, and enterprise architecture. He's easy to get a hold of, especially on Twitter, where he keeps an active presence. Get in contact to discuss all things software, whatever your favorite beer is, interesting tech topics... really, just talk about anything. Benjamin is a DZone Zone Leader and has posted 127 posts at DZone. You can read more from them at their website. View Full User Profile

There's a Bot on Twitter That Sells OpenStack Instances for Bitcoin

  • submit to reddit

A developer over at StackMonkey wrote a bot that sells instances of his OpenStack cluster for Bitcoin, and the Twitter user @obitcoin is using it on Twitter. Truly we live in a frightening but awfully convenient digital age, made more convenient by devs like Kord Campbell, the developer in question. About the interesting use case the bot has become, Kord said that it was "the most ridiculous thing [he's] ever written for a marketing ploy." I'll say it is.

Kord jumps into a tutorial that shows you how to get started buying and setting up an instance of the OpenStack cluster. The first thing you need is a JSON template that's used for booting the instance. He provides an example of the modified JSON that StackMonkey utilizes for instance callbacks:

  "instance": {
    "dynamic_image_url": "",
    "ssh_key": [
      "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAscVmmQi5zYCETV8o1OBO8clqszLiYqg4odrrOJQujm9Ez/c9A8k8i/d0DQJ77FLmBo7zC3BMDGhScZbE41KTMT7Qt6ap55F6YSbkbOXEPteORSWoVxjZDp/1mraCT6hYjeQI6yGIlHXpDfgOWU3xRG1Tp2PTXYQnfnx7L5Xr5BOmkWwXS+7ghBpmCzx1cn6/wNlXzu3ZTGW0wQqwpJBfRprpPvSkBqjpQ14wKsdSZv3AXzmO/lxRlCJUH8vLTJsa8jNAvIBtnRhR+Uei+VfKNHQ9ZYfI+F/pKm66JBlKwOflWIuf0mX3eg1ypZeejB4Ld2SQJS9t0cb8LN/rv24WBQ== kord@superman.local"
    "post_creation": [
      "hostname: stackmonkey-va",
      "manage_etc_hosts: true",
      " - [ wget, "", -O, /tmp/ ]",
      " - chmod 755 /tmp/",
      " - /tmp/"

He includes a few more steps including:

  1. Give the instance a dynamic image URL for the boot image.
  2. Change out the SSH key to your own (all in one string, in one line array).
  3. Save your edits to Pastebin and generate a raw link.
  4. Tweet the following using your own Pastebin link:
    @obitcoin !instance ^
  5. When the bot responds, click the link to receive the Bitcoin address.
  6. Pay an amount of Bitcoin (~.25 cents for a day) to the address.
  7. When the payment is noticed, the instance will begin.
  8. Once the instance starts, you'll get another tweet with the IPv6 address.

However, Kord's blog post is a lot more informative than my brief summary here, so please go check it out if you're interested in his OpenStack-to-home Twitter enterprise.