Creating Node.js and MongoDB Web Platform

All actions will be performed in Design Studio workplace.

Creating Prerequisites

Creating Service Category

  1. Click on Classification view and Service Categories tab.

  2. On Activities ribbon, click on Add Service Category and set the fields:

    • Name - Web Platform
    • Description - Base service category for web platforms
  3. Click on OK.

Creating Service Type

  1. Click on Services view and Service Types tab.

  2. On the Activities ribbon, click on Add Service Type and enter the settings:

    • Name - put nodejs_mongodb_platform
    • Product Vendor - put vixtera
    • Category - click Browse and choose the service category Web Platform
    • OS Family - click Browse and choose Linux
    • Description - put Node.js and MongoDB Web Platform

Creating Composite Service Template (Platform)

  1. Click on Services view and Service Templates tab.

  2. On the Actions ribbon, click on Add Template and Add Composite Template.

  3. In the General section configure Properties.

    • Version - click on Browse, and specify the following:

      • Service Type - click on Browse and select the service type nodejs_mongodb_platform.
      • Major - put 1 and leave 0 for Minor, Maintenance ID, Build #
    • Display Name - put Node.js and MongoDB Web Platform 1.0.0.0

    • Description - Node.js and MongoDB Web Platform.

  4. In the Service Management section, click on Topology.

    • From the Topology Components pane, from sections Application Servers > nodejs drag and drop Node.js 1.0.0.0 template to the topology workspace.
    • From the Topology Components pane, from sections Database Servers > mongodb drag and drop MongoDB 1.0.0.0 template to the topology workspace.
  5. Click on service box Node.js 1.0.0.0. Click on Add Dependency and specify the folowing:

    • Dependency Name - put database
    • Endpoint Type - click on Browse and select DatabaseEndpoint

    Click on OK.

  6. Connect the Node.js 1.0.0.0 database dependency and MongoDB 1.0.0.0 mongodb endpoint.

  7. In the Service Management section, click on Deployment Profiles. Click Add Deployment Profile and specify the following:

    • In the General section, click on Properties:

      • Name - put testing.
      • Environment Type - click Browse and select Testing.
      • Description - put All-in-one deployment with minimal hardware resources.
    • In the General section, click on Deployment Diagram:

      • Drag and drop service Node.js 1.0.0.0 to the workspace. Ensure that Hardware Platform is Tiny and click on OK.
      • Drag and drop service MongoDB 1.0.0.0 to the same Deployment Group Node.js.
    • Click on OK

  8. Click on OK.

Testing Platform

  1. Click on Services view and Service Templates tab.

  2. Select template Node.js and MongoDB Web Platform 1.0.0.0 in the Service Templates grid.

  3. On the Actions ribbon, click on Test Template.

  4. In the Provisioning section, click on Properties and set:

    • Environment Type - click on Browse and choose Testing
    • Space, Deployment Profile and System Profile will be completed automatically
  5. Click on Provision.

  6. Click on OK.