Oracle by Example brandingCreating a Build VM Template in Oracle Developer Cloud Service

section 0Before You Begin

This 10-minute tutorial shows how to create a Build VM template in Oracle Developer Cloud Service. Build VM templates define the platform and the software in Build VMs.

Background

Oracle Developer Cloud Build VMs run on Oracle Linux 6 and Oracle Linux 7, and support a variety of software such as Node.js, Docker, and Oracle SOA Suite. The platform and the software in Build VMs are defined by Build VM templates.

In this tutorial, you create a basic Build VM template with the minimum required software to run a build on Oracle Linux 6, and then add the Node.js software to it.

What Do You Need?


section 1Create a Build VM Template

In this section, you learn how to create a basic Build VM template that includes the minimum required software.

  1. Log on to Oracle Developer Cloud.
  2. In the Oracle Developer Cloud Service user interface, click the user name in the top-right corner and select Organization.
    User menu
    Description of the illustration devcs_user_menu.png
  3. In the Organization Administration page, click VM Templates.
    Organization page with VM Templates
    Description of the illustration devcs_org_vmtemplates.png
  4. In the Build VM Templates page, click New Template.
    New Template button in the Build VM Templates tab
    Description of the illustration devcs_org_buildvmtemplates.png
  5. In the New VM Template dialog box, enter the following details and click Create.
    • Name: Basic Build VM Template
    • Description: A Build VM template with minimum required software
    • Platform: Oracle Linux 6
    New VM Template dialog box
    Description of the illustration devcs_newvmtemplate_dialog.png

    A Build VM template named Basic Build VM Template is created. It includes just the required Build VM components. The right side of the page displays the details for this Build VM.

section 2Configure the Software of a Build VM Template

When a Build VM Template is created, it contains the minimum software required to run basic builds. You can add additional software to the template, if necessary.

In this section, you add the Node.js software to a Build VM Template.

  1. In the Build VM Templates tab, select the template named Basic Build VM Template.
  2. On the right side of the page, click Configure Software.
    Build VM Templates tab with Basic Build VM Template
    Description of the illustration devcs_buildvmtemplates_config.png
  3. In the Configure Software page, select the Show latest versions only check box, enter Node.js in the search box, and press Enter.
    Software Catalog page
    Description of the illustration devcs_buildvmtemplates_softwarecatalog.png
  4. In the Search result, click the Add Add icon icon of the Node.js tile.
    Software Catalog page
    Description of the illustration devcs_buildvmtemplates_add.png

    The Node.js software gets added to the Selected Software list on the right side of the page.

    Software Catalog page
    Description of the illustration devcs_buildvmtemplates_software.png
  5. Click Done.

section 2Edit a Build VM Template

You can edit a Build VM template's name and description, but you can't change the platform.

  1. In the Build VM Templates tab, select Basic Build VM Template, and click Edit.
    Software Catalog page
    Description of the illustration devcs_buildvmtemplates_edit.png
  2. In the Edit VM Template dialog box, change the values of Name and Description fields.
    • Name: Node.js Build VM Template
    • Description: A Build VM template with Node.js software
    Edit VM Template dialog box
    Description of the illustration devcs_editvmtemplate_dialog.png
  3. Click Save.
    You are returned to the Build VM Templates tab. The Build VM template now has the updated name and description.
    Build VM Templates tab
    Description of the illustration devcs_buildvmtemplates.png

more informationWant to Learn More?