Meet the cloud platform made of Raspberry Pi and Lego: The cloud you can carry in your hand

Meet the cloud platform made of Raspberry Pi and Lego: The cloud you can carry in your hand

Summary: A virtual platform has been built by researchers at the University of Glasgow using a Raspberry Pi cluster to help them learn about the inner workings of major cloud platforms run by Amazon and Google.

SHARE:
TOPICS: Hardware, Networking
1

 |  Image 4 of 6

  • The cloud platform primary purpose is as a teaching tool. Some of the students were tasked with helping to build the infrastructure as part of their final year project for master's degrees. Other students have been carrying out research projects, programming in Python to build RESTful web interfaces to control routers, as well as developing tools to investigate what's going on in the system.

    The Raspberry Pi cloud gives students a better understanding of the workings of cloud platforms than the software models the university was previously using.

    "The Pi cloud gives student the opportunity to build and change the infrastructure or change the networking in a way we can't do without having physical access to a datacentre," said White.

    The platform's network is configured to mimic that of a cloud platform, with top of rack switches connected to the 14 Pi boards in each lego rack.

    The university is also running OpenFlow software on the routers and switches to virtualise the network layer. Using OpenFlow has allowed Mac address-based routing, rather than IP-based, which makes it easier to migrate virtual containers between racks.

  • Work building the Pi platform began in September last year. The platform has four Lego racks, each containing 14 Model B Pi boards. The boards are powered by USB hubs, and linked by Netgear ethernet switches and various routers. An attached x86 box acts as a software repository and a control node.

    The Pi cloud's virtual layer is based on LinuX Containers (LXC). LXC provide a way of running multiple Linux systems on a single Linux kernel. Each container or system has its own file system, as well as process and network space, but is not a full virtual machine. LXC was chosen due to its lightweight memory footprint being a good fit for the Pi's 512MB of RAM.

    Each Pi can host three containers running Debian Wheezy, making a total of 168 containers. Students have been experimenting running light HTTP web servers, benchmarking tools and other software inside the containers.

  • The array of weedy, lower power Arm chips in the Pi cluster has similarities with the architecture of microservers beginning to find their way into datacentres, said White.

    "Energy efficiency is a big issue in cloud right now. Perhaps Arm is going to have more of a say in cloud infrastructure in the future and this is an example of running a Pi cloud off a single plug socket."

  • Thumbnail 1
  • Thumbnail 2
  • Thumbnail 3
  • Thumbnail 4
  • Thumbnail 5
  • Thumbnail 6

Topics: Hardware, Networking

About

Nick Heath is chief reporter for TechRepublic UK. He writes about the technology that IT-decision makers need to know about, and the latest happenings in the European tech scene.

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Related Stories

Talkback

1 comment
Log in or register to join the discussion
  • Second Article In As Many Weeks...

    ...about doing massive parallelism on a budget with Raspberry πs.

    Could the π be responsible for nurturing a new generation of parallelism-savvy programmers who will have a clue how to make efficient use of thousands of cores?
    ldo17