Understanding AWS Regions and Availability Zones in CloudFormation

I recently talked about my work on Docker for AWS while working on this project I had to do a lot of research around AWS Regions and Availability Zones, and how they work with CloudFormation. Here are the notes that I gathered. What is the difference between an AWS Region and an Availability Zone? The easiest way to answer this questions is to start backwards. Servers live in a data center.

Read more

Share

My work on Docker for AWS

For the past 9 months I have been working on Docker for AWS, which is an easy way to go from nothing, to a Docker Swarm on AWS, in about 10 minutes. The goals of this project were to make it easy for someone with an AWS account to start using Docker Swarm without needing to know anything about Docker and very limited knowledge of AWS. When I first started, I had no idea what I was going to build, or how I was going to do it.

Read more

Share

I rebuilt my blog with hugo, and moved to netlify

About a year ago, I was frustrated with my lack of new posts on my blog and decided I needed to fix that. After a little bit of soul searching, I decided to reboot the blog, and start fresh with a new platform. Here are a few of the reasons why I decided to change my blog. I didn’t like the look of my blog, and there were no good themes available on my old platform.

Read more

Share

Introducing Django Defender

Normally websites do very few logins, someone logs in once and their session is good for a bunch of hours. Since it’s a one time thing, it doesn’t matter if it isn’t very fast. At Docker our authentication system handles requests for both the Docker Hub, as well as all Docker Engine commands that interact with the Docker Hub (docker push, pull, etc). This Authentication system handles thousands of login attempts every minute, so any slow down in the login process has a large impact on our system.

Read more

Share

Uploading a Video to Facebook from AWS S3 using python

If you have some video files stored in Amazon S3 and you want to upload those videos to a Facebook page, using their video API here is some python code that I used recently. I spent a good chunk of a day trying to get this too work, so I’m posting this here to help anyone else who is trying to do the same. This code isn’t using any special facebook libraries it is just using normal python along with the requests library.

Read more

Share

The Docker Guidebook

Introduction The goal of this tutorial is to introduce you to Docker, show you what it can do, and how to get it up and running on your system, and how to use it to make your life better. This guide is open source and available on github.com. If you would like to add to it or fix something, please fork it and submit a pull request. Table of Contents

Read more

Share

Running Docker on Digital Ocean with Ubuntu

I recently wrote a post on how to get Docker up and running on Rackspace and since then I have received some requests on how to get it up and running on other hosts. One of those hosts is Digital Ocean a hot new Cloud hosting provider that offers a 512MB 20GB SSD VPS for only \$5.00 / month. A really great deal, and also a great price if you want to play around with some new tool and not have to worry about possibly breaking a production server.

Read more

Share

Getting Docker up and running on a RaspberryPi

This year I attended PyCon US and I was lucky enough to get a FREE RaspberryPi. At the same conference dotCloud (The company I work for), was giving a lightning talk for a project that we have been working on, called Docker. Docker is a tool that allows you to better manage your Linux Containers (LXC). Shortly after I got the RaspberryPi, I started wondering if it would be possible to run Docker on it.

Read more

Share

Upgrading the Ubuntu linux kernel on Rackspace cloud

Yesterday I wrote a blog post on how to install Docker on to RackSpace Cloud, and one of the steps was to upgrade the kernel to the lastest one so that Docker would be nice and stable. The problem that I found out was that there wasn’t much information how to upgrade the kernel on the Rackspace Cloud servers, so I thought I would put the steps here. The goal here is to upgrade Ubuntu 12.

Read more

Share

Running Docker on Rackspace with Ubuntu

I have been playing with Docker a lot lately, and it got me wondering how hard it would be to run Docker on the different Cloud providers. I noticed there were already directions on how to install on Amazon EC2 but nothing for the Rackspace Cloud. If you would like to run Docker on the RackSpace Cloud using Ubuntu you’re in luck. I just spent the afternoon figuring out how to get it installed on Ubuntu 12.

Read more

Share