Articles contains keyword: new

DevOps with Django: Introduction

This is a start of a series on applying developer/operations techniques to a Django project. In this series we will cover the following:

  • Getting started with Django
  • Defining Dev/Ops and establishing a process
  • Setting up the host
  • Simple, automated deployments with git
  • Basic Continuous Integration w/Jenkins
  • Enterprise Deployment Patterns
  • Operationalizing Django
  • Advanced Continuous Integration and Continuous Delivery
  • Configuration Management and Orchestration

There is lots of information available on Dev/Ops. It means many things to many practitioners but to me it's simply automating various aspects of the software development life-cycle. Practically, this means automated testing and deployment. Another important aspect of devops is telemetry, which we cover much later in the series.

Reporter: Adrian Arias
Publish Date: Aug. 30, 2014

DevOps with Django: Part 1 - Getting Started with Django

Django is a robust, all-purpose web application development framework, born from the news industry. Django requires a "model-first" approach to development, on which many aspects of the code base are centered. From a developer's perspective, this means writing code which denotes the the data and from there generating SQL schema, scaffolding code, and much more. The latest version, Django-1.7 comes complete with many attractive features including, but not limited to the following:

  • Object Relational Mapping
  • Auto-generated Administration
  • Rich Management Capabilities on the CLI

In this article we will dive right into Django and quickly move through the various stages in the Django development cycle. First we will install the necessary dependencies, including Python and virtualenv. Next we'll introduce virtual environment and setup a project. Then we'll begin modeling data, creating views, configuring the url dispatcher, and implementing unit test. All along we'll explain the Django SDK as necessary to provided just enough context to understand what's happening.

Why Django? Well, honestly for no reason other than I wanted to jump into Python. Although, I've heard the Django deployment is "hard" so it seemed to be a good choice for Dev/Ops research.

Reporter: Adrian Arias
Publish Date: Sept. 1, 2014

DevOps with Django: Part 2 - Defining Dev/Ops and Establishing a Process

In this section we will start off by contemplating our CMS, identifying some desired features, and reviewing how to implement those features in Django. Then, we will cover a basic developer workflow, introducing concepts such as Unit Testing and Static Analysis along the way. Next, we'll begin to implement our changes, keeping an eye out for gotchas and process optimization opportunities. Following that, we'll begin to define "devops" more formally for our context and lay some ground rules for devops process development. Finally, we'll review our new position, reflecting on our development process and begin to set forth a basic, yet scalable devops practices.

Reporter: Adrian Arias
Publish Date: Sept. 12, 2014

Getting Started Developing with ZooKeeper using Node.js

Getting Started W/Zookeeper

A guide to learning and using Zookeeper.

  1. Install OS level dependencies
  2. Configure server and play with CLI facilities
  3. Starting development using nodejs and node-zookeeper-client
Reporter: Adrian Arias
Publish Date: Oct. 31, 2014

Howto Resize a KVM Guest LVM Block Device

KVM Guest LVM Block Device Resize

This guide explains how to resize the block device of a running KVM guest using LVM.

Considering that you cannot resize a LVM partition on a live box, it is a better idea to use multile images for scaling disk capacity of guests.

Reporter: Adrian Arias
Publish Date: Dec. 23, 2015