Store - WStore

Chapter:
Applications/Services and Data Delivery
Version:
4.4.3
Updated:
2017-06-07
Contact Person:
Francisco de la Vega
Email: fdelavega@fi.upm.es Address: School of Computer Science Universidad Politécnica de Madrid Campus de Montegancedo s/n 28660 Boadilla del Monte, Madrid (Spain)
Feedback:

The Business Framework in general, and the WStore GEri in particular, are at the core of the FIWARE infrastructure and are therefore intended to be installed by FIWARE platform providers when setting up and configuring a new instance of the FIWARE instance node. They are not intended to be deployed/configured by a developer. Developers are encouraged to use the global instance of the WStore provided in the FIWARE Lab. Nevertheless, we provide an installer for stand-alone instances of the WStore, along with recipes and blueprints to install it in the Cloud portal (using the PaaS Manager), and the corresponding installation guides.

To manually create an instance on your own infrastructure, please see the Installation and Administration guide under the Documentation tab.

There are three basic automated deployment mechanisms available:

  • Images. A ready-made Virtual Machine, with the GE deployed and properly configured. This is pretty simple but it does not allow for any customised options and it requires a dedicated Virtual Machine.
  • Deploying a dedicated GE instance in your own virtual infrastructure. There will be images that will allow you to deploy a VM that contains a chef agent. Once such VM is deployed, you can deploy the GE software plus additional software by using automated facilities.
  • Deploying a dedicated GE instance based on blueprint templates for this GE. By integrating or extending a Blueprint Template available for this GE you can define your own Blueprint Template which defines the virtual infrastructure for your applications.

Deploying a dedicated GE instance based on an image

In order to deploy a dedicated instance of this GEri perform the following actions:

  1. Access the FIWARE Cloud Portal (https://cloud.lab.fiware.org)
  2. Login with your login/password (if you don't have a login/password, please register on https://account.lab.fiware.org)
  3. Click on the "Images" option at the left, then "Launch" selecting the row with the name wstore-img.

In a matter of minutes a ready-to-use VM instance of this GEri will appear in the "Instances" area (see the FIWARE Cloud Portal guide for additional information on VM management using FIWARE Cloud).

Deploying a dedicated GE instance in your own virtual infrastructure

WStore GEri can be installed via Chef recipes deploying an image with a chef agent installed. Then, you can use the chef client to automatically install the GEri (called wstore) and additional software from the software catalogue.

Deploying a dedicated GE instance based on blueprint templates for this GE

There are Blueprint Templates associated to this GE in the catalogue of available FIWARE Blueprint Templates in the FIWARE Lab Cloud. To deploy this GEri using the available blueprint perform the following actions:

  1. Access the FIWARE Cloud Portal (https://cloud.lab.fiware.org)
  2. Login with your login/password (if you don't have a login/password, please register on https://account.lab.fiware.org)
  3. Click on the "Blueprint Templates" option at the left
  4. Click on the "Open Catalog" option.
  5. Clone the template called "wstore"
  6. Configure the tiers of the blueprint with your security keys
  7. Launch the template

The instructions to define, extend and instantiate blueprint templates are available from a tutorial available on http://help.lab.fiware.org

Using the Docker container

This GE implementation provides a Docker container that can be used to run your own instance. The Dockerfile can be found here. The DockerHub page for this GE implementation can be found here.