CloudSigma is currently participating in a Horizon 2020 research and innovation project called COLA (Cloud Orchestration at the Level of Application). You can read a general overview of the COLA project here, or visit the official project website here.
CloudSigma’s primary contribution to the project is to manage the testbed and production cloud infrastructure, and to provide expertise into various cloud technologies with particular focus on cloud orchestration. As part of our remit, we are supporting project partners from the Hungarian Academy of Sciences Institute for Computer Science and Control (SZTAKI) in the development of Occopus, a cloud orchestration tool which will be used when implementing the orchestration layer of MiCADO (Microservices-based Cloud Application-level Dynamic Orchestrator) services.
This is something we believe will be of great interest to many of our customers, especially developers deploying applications on CloudSigma.
What is Occopus?
Occopus is a cloud management and orchestration framework that provides automatic features for configuring and orchestrating distributed applications across virtualised infrastructures on single or multi cloud systems. Occopus can be used by application developers and application controllers to manage virtual infrastructures at deployment time and at runtime. Occopus provides a flexible and extensible way to build and manage single- or multi-cloud infrastructure applications, without any restrictions on the cloud provider or service-management components used during the process. It encompasses several software delivery approaches from custom and on-the-fly virtual machine construction (e.g. with Chef) to support user-built virtual machine images that are optimized for a particular purpose. It incorporates a unified infrastructure description model, which allows the system to determine the current state of the infrastructure and repair broken or missing functionalities.
How does it work?
Occopus works based on a descriptor that describes the services to be deployed in the cloud and the order of their deployment. Occopus not only deploys the services in the cloud according to deployment order specified in the descriptor, but it also checks their availability and accessibility before deploying the next service. Furthermore, the descriptor can contain contextualization information for every deployable service, and based on that information Occopus carries out contextualization for the deployed services. As a result after contextualization the services can reach each other, i.e. they can collaborate to realize a higher level service (the virtual infrastructure).
Sounds great, how do I get started?
A great place to start is SZTAKI’s dedicated Occopus website, where you will find excellent documentation, with many tutorials specifically compiled for different cloud stacks including CloudSigma. We have reviewed and tested the tutorials relating to our own cloud platform, checked for inconsistencies and sent feedback to our friends at SZTAKI. As part of the wider testing, we have also identified potential problems, debugged several issues that occurred during testing and offered some suggestions for improvement. We are now happy to report that Occopus is running optimally and that it will be included in our partnership page within the CloudSigma WebApp, which is due to be announced very soon.
We repost below an example configuration of Occopus for CloudSigma for your convenience. The original post can be found here.
The following tutorial will show users how the attributes for the resource section in the node definition can be collected from the web interface of the CloudSigma cloud. In the following example we will use the Zurich site of CloudSigma.
A minimal version of the resource section for CloudSigma may look like as follows:
The example above assumes the followings:
- Virtual machine will be started at the Zurich site, see
endpointattribute. To use an alternative location, select one from the CloudSigma documentation on API endpoints.
- CPU speed will be 2000Mhz. See
- Memory size will be 2GByte. See
- VM will have a public ip address defined by dhcp. See
You need to collect the following 3 more attributes to complete the section:
The value of this attribute is an uuid referring to a particular drive in the
storage library on which an operating system is preinstalled usually. After login to the CloudSigma Web UI, select Storage/Library menu and a full list of available drives will be listed.
Assuming we need an
Ubuntu 14.04 LTS(Trusty), scroll down and search for that drive.
Then click on the item and copy its uuid from the address bar.
As a result, the
libdrive_id attribute in the resource section will be
0644fb79-0a4d-4ca3-ad1e-aeca59a5d7ac referring to the drive containing an
Ubuntu 14.04 LTS(Trusty) operating system.
The value of this attribute is the uuid referring to a particular public key registered under your CloudSigma account. To register a new ssh keypair, generated or upload one at page under the
Access & Security/Keys Management menu. On this page you can see the list of registered keys and their uuid.
As a result, the
pubkeys attribute in the resource section will be
d7c0f1ee-40df-4029-8d95-ec35b34dae1e in this case referring to the selected key. Multiple keys can be specified, if necessary.
The value of this attribute is the uuid referring to a particular firewall policy registered under your CloudSigma account. To register a new firewall policy, use the page under the
Networking/Policies menu. On this page you can see the list of registered firewall policies.
Click on the firewall policy to be applied on the VM, the new page will show the uuid of the policy.
As a result, the
firewall_policy attribute in the resource section will be
fd97e326-83c8-44d8-90f7-0a19110f3c9d in this case referring to the selected policy. In this policy, port 22 is open for ssh. Multiple policies can be specified, if necessary.
The finalised resource section with the uuids collected in the example above will look like this:
Important! Collect the uuids under your account instead of using the ones in this example!
Important! The resource section must follow YAML syntax! Make sure indentation is proper, avoid using #tab#, use spaces!
Share this Post
- Cloudification of Production Engineering for Predictive Digital Manufacturing - April 2, 2018
- OCCOPUS – a Powerful Interface for Orchestrating Infrastructure in the Cloud - January 4, 2018
- Improving Data-intensive Applications by Moving Data and Computation into Mixed Cloud/Fog Environments - November 15, 2017
- Cloud Orchestration at the Level of Application - November 10, 2017