31.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 Explorer, if necessary, expand the tree of the fabric for which you want to create the new container on the cloud. Right-click Containers to open the context menu.
  2. Select Create a new container on the cloud to open the Create Container in a Cloud wizard.

    Figure 31.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 tooling, 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 34.1, “Adding cloud details”.
  3. Select a cloud from the list, and click Next to open the New Containers Details page.

    Figure 31.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, accept the default (fabric), or enter the group in which to start up the new container.
  7. In User, accept the default (admin), or enter the name of another user who is authorized to log into the new cloud container.
    This is the user that was either specified when the fabric was created or is defined in the Red Hat JBoss Fuse installDir/etc/users.properties file (see Section 30.1, “Adding fabric details”).
  8. In Password, enter the pasword required for User to log into the new cloud container.
    This is the password that was specified for User when the fabric was created or is defined for the user in the Red Hat JBoss Fuse installDir/etc/users.properties file.
  9. In Zookeeper Password, accept the default generated password for logging into the cloud container's zookeeper registry, or enter the zookeeper password that was used when the fabric was created.
    You can discover the zookeeper password by issuing the commmand JBossFuse:karaf@root>fabric:ensemble-password.
  10. 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.
  11. 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.
  12. In OS Version, optionally select from the drop-down list the version for the operating system you selected.
  13. 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 tooling starts an instance of the image in the cloud, and then installs a fabric agent and provisions the new agent with the selected profiles. Depending on the cloud provider, instantiation and provisioning could take some time.
  14. 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.
  15. Click OK.
    The new container appears in Fabric Explorer as a container node under Containers
    Note
    Selecting the new container in Fabric Explorer populates its Profiles and Profile Details pages in Properties viewer.

Related topics

Chapter 34, Creating a Fabric in the Cloud
Section 32.1, “Creating a new profile”
Section 33.1, “Creating a new version of a profile”
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.