Grounded in the Cloud
cancel
Showing results for 
Search instead for 
Did you mean: 

(Re)Introducing CloudSlang

Stephen_Spector

Author: Sam Markowitz, HP Software, RnD

 

The CloudSlang team has just undergone an intense few weeks of rebranding and are now excited to reintroduce our open-source orchestration solution, formerly known as Score, under its new name, CloudSlang.

 

Orchestration as Code

CloudSlang is a flow-based orchestration tool for managing deployed applications. It allows you to rapidly automate your DevOps and everyday IT operations use cases using ready-made workflows or create custom workflows using a YAML-based DSL.

 

The CloudSlang project is composed of three main parts: the CloudSlang Orchestration Engine, the CloudSlang language and the ready-made CloudSlang content.

 

CloudSlang Orchestration Engine

The CloudSlang Orchestration Engine is the same proven engine that runs under the hood of HP Operations Orchestration (OO). Developed by the OO team and contributed to the open source community, our goal is to leverage the power of community to create the best-in-class orchestration technology.

 

The engine is packaged as a lightweight Java .jar file and can therefore be embedded into existing Java projects.

 

Uniquely built with a pluggable-compiler approach, the engine can support additional workflow languages by adding a compiler that translates the workflow DSL into the engine’s generic workflow execution plans.

 

CloudSlang Language

The CloudSlang language is a YAML-based DSL for writing workflows. Using CloudSlang you can easily define a workflow in a structured, easy-to-understand format that can be run by an embedded instance of the CloudSlang Orchestration Engine or the stand-alone CloudSlang CLI.

 

The CloudSlang language is simple and elegant, yet immensely powerful at the same time.

 

There are two main types of CloudSlang content, operations and flows. An operation contains an action, which can be written in Python or Java. Operations perform the “work” part of the workflow. A flow contains tasks, which stich together the actions performed by operations, navigating and passing data from one to the other based on operation results and outputs. Flows perform the “flow” part of the workflow.

 

 

CloudSlang Hello World Flow and Operation
image.png

 

CloudSlang Ready-Made Content

Although writing your own CloudSlang content is easy, in many cases you don’t even need to write a single line of code to leverage the power of CloudSlang. The CloudSlang team has already written a rich repository of ready-made content to perform common tasks as well as content that integrates with many of today’s hottest technologies, such as Docker, CoreOS, etc. And, the open source nature of the project means that you’ll be able to reuse and repurpose content shared by the community.

 

Use Case

CloudSlang can be used to solve many varied types of problems. Examples of uses cases in which CloudSlang can be used are found in the IT process automation, cloud orchestration, application deployment and DevOps spheres. One such use case is outlined here:

 

In the new world of Docker and DevOps, there is no shortage of solutions that help you deploy your app quickly and efficiently. But what about the day after? How do you make sure that your app will keep running smoothly after deployment?

 

Docker images can occupy quite a lot of disk space on the Docker host. A base image can be hundreds of MB in size and custom images can easily reach 1 GB of disk space. If you have many releases of new Docker images for your app, it can easily stockpile on the server storage. This leads to a need to clear old or unused images from time to time, otherwise the server can run out of disk space.

 

Using existing CloudSlang content, you can easily clean up your Docker environment for all machines deployed in a CoreOS cluster. With just one command in the CloudSlang CLI you can run a flow that will retrieve the IP addresses of all the machines in the cluster, get all of the Docker images, check their statuses, and delete the images that are no longer being used.

 

Open Source

As mentioned above, the Java-based CloudSlang project is fully open source and readily available on GitHub. But, why? There are many reasons. Here are just a few:

  • Exhibit HP’s thought leadership and further establish our credibility in the orchestration space.
  • Set de-facto standards and create a community of technical SMEs.
  • Receive input and contributions from the open source community.

To see CloudSlang in action, visit us at TiECON 2015 from May 15-16, Santa Clara Convention Center (Booth #7, Expo Hall B).

 

More Information

For more information, check us out at:

Please contact us if you are interested in discussing or contributing to our project: support@cloudslang.io

 

Senior Manager, Cloud Online Marketing
  • HP Cloud
About the Author

Stephen_Spector

I manage the HPE Helion social media and website teams promoting the enterprise cloud solutions at HPE for hybrid, public, and private clouds. I was previously at Dell promoting their Cloud solutions and was the open source community manager for OpenStack and Xen.org at Rackspace and Citrix Systems. While at Citrix Systems, I founded the Citrix Developer Network, developed global alliance and licensing programs, and even once added audio to the DOS ICA client with assembler. Follow me at @SpectorID

Events
28-30 November
Madrid, Spain
Discover 2017 Madrid
Join us for Hewlett Packard Enterprise Discover 2017 Madrid, taking place 28-30 November at the Feria de Madrid Convention Center
Read more
See posts for dates
Online
HPE Webinars - 2017
Find out about this year's live broadcasts and on-demand webinars.
Read more
View all