Oracle by Example brandingDeploy an Application to Application Container Cloud from Developer Cloud

section 0Before You Begin

This tutorial shows you how to deploy a build artifact of an Oracle Developer Cloud Service project job to Oracle Application Container Cloud Service from the Oracle Developer Cloud Service web interface. This tutorial takes approximately ten minutes to complete.

Background

After generating artifacts of a job, you can deploy it to Oracle Java Cloud Service, Oracle Java Cloud Service - SaaS Extension, or Oracle Application Container Cloud Service from the Oracle Developer Cloud Service web interface. In this OBE, you learn how to create a deployment configuration to deploy an artifact to Oracle Application Container Cloud Service from the Oracle Developer Cloud Service web interface.

What Do You Need?

  • A web browser
    To know about supported web browsers, see Web Browser Requirements.
  • An Oracle Cloud account with an active Oracle Developer Cloud Service subscription
  • Your Oracle Cloud account credentials
  • An Oracle Developer Cloud Service project with a successful build of a job that generated some artifacts.
    To run a build of a job, see the Run a Build of a Job in Developer Cloud OBE.
  • Identity domain and Oracle Cloud credentials of a user who has the Admin Role (Java_Administrators) identity domain role of the target Oracle Application Container Cloud Service

section 1Create a Deployment Configuration

To deploy the artifact to Oracle Application Container Cloud Service, you must first create a deployment configuration that defines how and where to deploy the artifact.

  1. In the navigation bar of the project, click Deploy.
    Oracle Developer Cloud Service project navigation bar
    Description of the illustration create_deploy_config_01.png
  2. In the Deploy page, click New Configuration.
    Deploy page
    Description of the illustration create_deploy_config_02.png
  3. In the New Deployment configuration page, in Configuration Name, enter Employees.
    Employees field of the New Deployment Configuration page
    Description of the illustration create_deploy_config_03.png
    The Application Name field is automatically populated with the same value of Configuration Name.
  4. In Deployment Target, click New, and select Application Container Cloud.
    Deployment Target field of the New Deployment Configuration page
    Description of the illustration create_deploy_config_04.png
  5. In the Deploy to Application Container Cloud dialog box, enter the details of the user who has the Admin Role (Java_Administrators) identity domain role, and click Test Connection.
    Deploy to Application Container Cloud dialog box
    Description of the illustration create_deploy_config_05.png
  6. After the connection is successful, click Use Connection.
    Deploy to Application Container Cloud dialog box
    Description of the illustration create_deploy_config_06.png
    The target Oracle Application Container Cloud Service details appear in the deployment configuration.
    Deployment Target field of the New Deployment Configuration page
    Description of the illustration create_deploy_config_07.png
    In ACCS Properties, make sure that Runtime is set to Java.
  7. In the Artifact list, select employees-app/target/employees-app-1.0-SNAPSHOT-dist.zip.
    Artifact field of the New Deployment Configuration page
    Description of the illustration create_deploy_config_08.png
    Note: As there is only one job with one successful build in the current project, the Job and Build fields are automatically populated. If there are multiple jobs and builds in your project, then select the correct value for Job and Build manually.
  8. All required fields of the New Deployment Configuration page are now set. Verify the values and then click Save and Deploy.
    New Deployment Configuration page
    Description of the illustration create_deploy_config_09.png
    The deployment process starts. Wait for deployment to complete.
  9. After the deployment is successful, you will see a Deployment Succeeded message on the right side of the page.
    Deploy page
    Description of the illustration create_deploy_config_10.png
  10. To view the deployed application, click the Employees application name link in the deployment configuration.
    Deployment Configuration
    Description of the illustration create_deploy_config_11.png
    The application opens in another browser window or tab.
    Deployed Employees application
    Description of the illustration create_deploy_config_12.png
  11. In the navigation bar of the project, click Project. The deployment activities appear in the Recent Activities feed.
    Project page with the deployment activity
    Description of the illustration create_deploy_config_13.png

more informationWant to Learn More?