Category

Blog on All Things Cloud Foundry

Cloud Foundry Containers: Warden, Docker, and Garden

Maksim Zhylinski

logo_cloud_docker_400_200px

Warden is a container implementation currently used in Cloud Foundry. At the same time, Docker is another option to easily and efficiently manage containers. That’s why a lot has been made to enable Docker in the Diego runtime.

Here, I briefly compare Warden and Docker: their implementation, what makes them alike/different, and how they’ll work together in Garden—the new container back end that will become available in Diego.

  (more…)

6 Comments

How to Add BOSH Support to a Custom Cloud (Part 2): External BOSH CPIs

Alexander Lomov

Part 1 | Part 2

bosh_cpi_icon_200

Until recently, all custom BOSH CPIs were forks of the BOSH project. They were hard to maintain and had to be implemented in Ruby. In August 2014, the BOSH team introduced the new external CPI mechanism that has removed these constraints. The second part of our blog series on adding BOSH support to custom clouds will be dedicated to external BOSH CPIs, how they are used, and what it takes to build one.

(more…)

3 Comments

How to Discover Services on Lattice with Consul

Alexey Zalesov

consul-latticeLattice is a light-weight, open source tool for clustering containers. Containers in a Lattice cluster are long-running processes or one-time tasks that are scaled and scheduled dynamically. Apps running in containers have to use external services, such as MySQL, RabbitMQ, etc., but if these services are dynamic, you cannot hardcode their IPs to the client.

The solution is to use a service discovery product, such as Consul, a highly available, distributed tool for discovering and configuring services. In this tutorial, I describe how an app running in Lattice can discover a MySQL service with Consul.
(more…)

2 Comments

How to Remotely Debug Cloud Foundry Apps

Juan Pablo Genovese

How to remotly debug Cloud Foundry applicationsWhen using Cloud Foundry for deploying apps, one might expect that all the test suites will run painlessly and what works in development/testing/staging will work in production. However, what if it won’t? What if it is impossible to replicate those conditions in a non-production environment? Here, remote debugging comes to the rescue.

In this blog post, I provide guidelines on how to remotely debug Ruby and Java applications deployed with Cloud Foundry.
(more…)

4 Comments

Are Diego and Docker Really Good Friends?

Lev Berman

cloud-foundry-docker

Support for Docker is one of the main advantages of Cloud Foundry Diego, but how far does this compatibility go? Is it possible to push an arbitrary image from the Docker Hub to Diego and, if not, what are the constraints? What’s going to change in the future? Finally, why should anyone want to use Diego with Docker at all?

In this post, I’ll answer all of these questions, as well as show how to customize and push the official Redis image and demonstrate how to turn it into a simple service to be consumed by other apps.

(more…)

24 Comments

Recap: Cloud Foundry Summit 2015, Day 2

Alex Khizhniak

CF Summit: Ideation wall

                 Day 1 | Day 2 | Top 100 Quotes

According to Diego Lapiduz—who presented at CF Summit on Monday—one of his colleagues recently said: “If you take Cloud Foundry from us, we will hurt you.” Quite convincing to hear this from anyone working within US GSA!

Still, every joke has its share of truth. Those who work with Cloud Foundry become its advocates. Keynotes and sessions delivered on the 2nd day proved that once again. Read on to learn what May 12 brought to 1,500 attendees of the summit.

(more…)

No Comments

How to Add BOSH Support to a Custom Cloud (Part 1): BOSH Components

Alexander Lomov

Part 1 | Part 2

how-to-add-bosh-support-to-a-custom-cloud-smallThe Cloud Foundry PaaS was designed to provide cross-cloud portability and compatibility. BOSH is the official orchestration and deployment tool for CF that makes these features possible. Currently, there is a set of cloud platforms that are able to work with BOSH, but it can be extended to work with clouds that are not on this list.

In this blog series, we’ll go through all the steps necessary to add BOSH support for a new cloud: from CPI implementation to generating a stemcell.
 
(more…)

4 Comments

Cloud Foundry Internals: How to Create Custom BOSH CLI Plugins

Alexander Lomov

cf-bosh-cli-custom-pluginAn ability to easily extend core functionality is a key for any system’s evolution. Every popular config management or cloud orchestration tool offers a handy and effective way to do so. For instance, knife plugins in Chef, custom functions in Puppet, and terraform plugins. Being a complex tool, BOSH also provides out-of-the-box utilities for the purpose. The best option for extending BOSH functionality are plugins for a command-line interface (CLI). In fact, major part of the BOSH command-line utilities are implemented as BOSH plugins: the standard BOSH commands, MicroBOSH, BOSH AWS plugin, etc.

Unfortunately, there is no official documentation available on how to create a custom BOSH plugin by yourself, so I decided to compile such a tutorial. In this blog post, I provide guidelines on how to create a custom plugin for BOSH CLI to push the boundaries of the BOSH functionality and significantly boost resolution of application tasks.

(more…)

2 Comments

How to Deploy Hadoop Using Docker Containers

Renat Khasanshyn

Docker Hadoop Meetup Jan 06

At one of our recent meetups, Nasser Manesh of Altiscale shared his experience with deploying multi-tenant Hadoop clusters using Docker. The talk covered the differences between containers and VMs, as well as addressed typical issues with containers, configuration, monitoring, troubleshooting, etc.

Dan Lorenc of Google explained when, why, and how to adopt Docker within your organization.

(more…)

No Comments

Cloud Foundry Monitoring with Admin UI: Technical Overview

Alexander Lomov

14_12_24_admin_ui_techncial_overview_2In this blog post, you’ll find a technical overview of Admin UI, a Web service that allows to gather metrics from the Cloud Foundry components. I’ve shed some light on its core layers, featured functionality, integration with CF APIs, etc. You’ll also discover what issues you may face while logging in, scaling, and debugging—as well as how to address them.

(more…)

7 Comments

Benchmarks and Research

Subscribe to new posts

Get new posts right in your inbox!