Creating an Application

Creating an application means deploying an application. You can create an application from the Applications page.

Before deploying any applications, you must make sure that your Oracle Storage Cloud Service account is active and has its replication policy set. This is true even if you are planning to deploy applications only from your local file system. For details about service activation, see About Oracle Cloud in Getting Started with Oracle Cloud. For details about setting the Oracle Storage Cloud Service replication policy, see Selecting a Replication Policy for Oracle Storage Cloud Service in Using Oracle Storage Cloud Service.

  1. Open the Oracle Application Container Cloud Service Applications page.
  2. Click Create Application.
  3. Click an application type: Java SE, Java EE, Node, PHP, Python, or Ruby.
  4. In the Create Application dialog, complete the fields described in this table:
    Element Description

    Name

    Enter the application name.

    The application name must start with a letter and must contain letters and numbers only. Spaces and other special characters are not allowed.

    Notification Email

    Enter an optional email address to which to send notification of whether application creation succeeded or failed.

    Metering Frequency

    Select the application’s billing frequency for a metered subscription.

    Choose Hourly to be billed for the number of hours you use the service.

    Choose Monthly to be billed monthly regardless of hourly usage.

    After creating the application, you cannot change the subscription type.

    If your Oracle Application Container Cloud Service subscription is non-metered, the value of this field is ignored.

    Application Artifacts

    These are the available options for identifying the application archive location:
    • Upload — Navigate to and upload your application archive and optionally a manifest.json file or deployment.json file. Click Browse to upload each of these files. Specifying a manifest.json file is required if your application requires a launch command and your archive doesn’t include this file.
    • Deploy a Sample Application — Select the sample application for your application type.

    Notes

    (Optional) Enter the release notes or the application description.

  5. Select additional options if you want to scale your application, specify the runtime version, or use a cache.
    Element Description

    Instances

    Specify the number of container instances that you need for your uploaded application. This number can be changed after deployment. The default is 2. The maximum is 64.

    Memory

    Specify the memory (in GB) to be allotted to each container instance. This number can be changed after deployment. The default is 2 GB. The maximum is 20 GB.

    Version

    Indicates the type and runtime version of the uploaded application:

    • Java SE — 7, 8, 9

    • Java EE — 7

    • Node.js — 0.10, 0.12, 4, 6, 8

    • PHP — 5.6, 7.0, 7.1

    • Python — 2.7.13, 3.6.0

    • Ruby — 2.3.4, 2.4.1

    You can specify the version here or in the manifest.json file. If you do both, the version specified here takes precedence.

    Application Cache

    For an application that uses a cache, select a cache from the list.

    To create a cache and use it in your application, see Typical Workflow for Creating and Using Caches in Using Caches in Oracle Application Container Cloud Service.

  6. Click Create.
  7. Click OK.
    A Creating Application message is displayed until the application is fully deployed.