Red Hat Training

A Red Hat training course is available for Red Hat Fuse

23.3. Creating a new container on a cloud

Overview

To create a container on a cloud, you need to specify the cloud's connection details and then create the container.

Procedure

To create a new container on a cloud:
  1. In Fabric Navigator, right-click anywhere, except on Clouds or Fabrics, to open the context menu.
  2. Select Create a new container on the cloud to open the Create Container in a Cloud wizard.

    Figure 23.3. Create Container in a Cloud/Choose the Cloud page

    choose the cloud page
    Note
    Unless the connection details for a cloud have already been added to the developer tools, this dialog opens devoid of selections. You can add a cloud's connection details now by clicking Add Cloud details and following the procedure in Section 26.1, “Adding cloud details”.
  3. Select a cloud from the list, and click Next to open the New Containers Details page.

    Figure 23.4. New Containers Details page

    enter details of the new cloud container
    Note
    An error icon ( error icon ) marks required fields that lack a valid value, and the dialog banner displays the number of errors detected.
  4. In Container name, enter a name for the new container.
    We recommend that you replace the default name with a meaningful name that identifies the container's role or function.
  5. If multiple versions exist, you can select one from the Version drop-down list. Otherwise, accept the default version.
  6. In Group, enter the group in which to start up the new container.
  7. In User, enter the name of the user who is authorized to login to the new container.
  8. In Location ID, select from the drop-down list the region in which the machines you want to use are located.
  9. In Hardware ID, select from the drop-down list the ID of the hardware archetype to use.
    Hardware archetypes specify the amount of memory and compute power available for running applications on machine images.
    Important
    The next three fields provide two methods for specifying the software configuration (operating system, application server, and applications) you want to use. Either select an OS Family (and optionally a version), or select an Image ID.
  10. In OS Family, select from the drop-down list the family name of the operating system you want to use.
    If you select an OS Family, do not also select an Image ID.
  11. In OS Version, optionally select from the drop-down list the version for the operating system you selected.
  12. If you selected an OS Family, skip this step. Otherwise, in Image ID, select from the drop-down list the ID of the image template to use for the software configuration.
    Note
    The developer tools start an instance of the image in the cloud, and then install a fabric agent and provisions the new agent with the selected profiles. Depending on the cloud provider, instantiation and provisioning could take some time.
  13. Under Profiles, select the profile or profiles you want to assign to the container.
    Profiles determine the function of containers—what applications they run. You can assign a container multiple profiles, as long as the applications they install do not conflict with one another.
    Important
    Do not assign a base profile (one ending in -base) to a container.
  14. Click OK.
    The new container appears in Fabric Navigator as a container node under Containers
    Note
    Selecting the new container in Fabric Navigator populates its Profiles and Profile Details pages in Properties viewer.

Related topics

Section 24.1, “Creating a new profile”
Section 25.1, “Creating a new version of a profile”
Section 26.1, “Adding cloud details”