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.
I did some digging and technically speaking the Pi should be able to run Docker, it satisfies all of the requirements.
- Go ...
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.04 and 12.10 so that it has the same kernel as 13.04. Here are the steps.
Build an ...
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.04, 12.10, and 13.04, and I have included my notes below. 13.04 is the easiest to get up and ...more…
Intro to Python and Django Presentation
I recently gave a talk at a DjangoMaine meetup introducing folks to Python and Django. There wasn't enough time to go over everything, so I tried to pick and choose the parts that I felt where important to go over, in order to have a good overview of what Python and Django is all about.
I hope this was useful to the folks that attended. If so, it would be really helpful to know what parts you would like to know more about. Then we can have some follow up talks doing a deeper dive into those select topics ...more…
You are probably reading this because I sent you a link in response to a recent job you contacted me about. Since most of you know nothing about me (even though most of this information is on my LinkedIn page). I'm going to tell you a little bit about myself, and after reading this if you feel the job that you are trying to fill, is a good match for me, then feel free to respond. If you are going to respond, please make sure you follow the criteria I listed at the bottom of the page ...more…
New Pelican Based Blog
The first reason was because my blog is really simple, it was just a bunch of reStructuredText documents that were converted to HTML. I didn't need the Django-admin features and I always felt it was a little overkill for my blog.
The second reason was because I wanted to host my blog contents on GitHub so that others could change/update/edit my blog posts and send me pull requests if ...more…
Deploying my Django application to dotCloud: Part 2
As I mentioned in a recent blog post, in the 11 months since I wrote my first post on dotCloud, I now work there. Besides me working there, there has been a lot of other changes at dotCloud, and I wanted to take the time to update my original post so that it was up to date and had all the recent information. I'm going to completely rewrite the old blog post here, with updated information, and leave the old one around for posterity.
dotCloud's goal is to provide a bunch of different independent services that you can ...more…
I'm now working for dotCloud
A lot has happened in the 11 months since I wrote my first blog article on dotCloud. There was an Egyptian revolution, a royal wedding, a new iPhone and iPad, Osama bin Laden was killed, and on a more personal note, I left my job at CashStar and I now work for dotCloud. In the grand scheme of things, my job change was nothing compared to those big events of the past 11 months, but it was pretty big for me.
I had worked for CashStar.com for over 3.5 years, and I was there from pretty much the ...more…
Running sentry on DotCloud
Sentry is a realtime event logging and aggregation platform. At it’s core it specializes in monitoring errors and extracting all the information needed to do a proper post-mortum without any of the hassle of the standard user feedback loop.
The main feature of sentry and the ability to send all of your application logs to one place, and then aggregate them, so that you only get one error email for the same error. This will keep your mailbox from flooding, when something goes wrong.
Putting your logging server on a different server or network then your production servers is ...more…
The Developers Guide to PCI Compliant Web applications
Work in progress last updated: 12-07-2012 by Ken Cochrane
Update: 12-07-2012 I have added the youtube video and slides from a recent talk I did on Building PCI Complaint Django Applications.
Update: 04-05-2012 This article has been translated into chinese , by Wujun Shen (吴峻申)
When I first started working at CashStar.com three and a half years ago, I had heard about PCI before, but I didn't really know what that meant. Since we were building an ecommerce platform that was going to be accepting credit cards over the internet, I knew we needed to make sure we were ...more…