How to do it...

  1. After logging in to the platform, you will see this dashboard:
Oracle Cloud dashboard
  1. Scroll down the page until you find Oracle Cloud Infrastructure - Container Service and click on it:
Container Service Access
  1. On the main page of the container service (the following screenshot), click on the My Services URL link :
Container Service Overview page
  1. You will get to the Cloud Services dashboard. Click on Container Classic:
Cloud Services Dashboard
  1. On the page that opens, click on the Open Service Console button:
Service Console Access
  1. On the next page, click on the Create Instance button:
Container Cloud Service welcome page
  1. Fill in the form like this:
Fields for instance creation
In the SSH Public Key field, you need to set a valid public key that has a private pair. Without it, you will not be able to log in to the service using SSH. 

Click on Next.

  1. On the page that opens, confirm your data and click on the Create button:
Data confirmation
  1. Then you'll be back to the main page while the service is created (note the Creating service... label):
New service being created
  1. Once the service is created, click on the Options button and click on Container Console:
Access to the Container Console

You are now in the dashboard of the service you have just created:

Container Cloud Service dashboard
  1. Click on Services (left side) and then New Service (right side):
Services page
  1. In the popup, give a name to the service (the Service Name field), and in the Image field you need to fill in the details of the pre-built image:
Fields for service creation
  1. In the Available Options field, check the Ports option. It will open the Ports section under Environment Variables. Click on the Add button and fill in the form in the popup like this:
Ports forwarding
  1. Now your service is on this list. Click on its Deploy button:
Services list
  1. In the popup, fill in the form as shown in the screenshot and click on Deploy:
Popup for service deployment
  1. Now, just wait a moment until your new service is up and running:
Ongoing deployment
  1. Once your deployment is done, it will become green and you will have information about the container you have created. Click on the link under the Container Name label:
Deployment done

You now will see details about your container:

Container details
  1. Click on the tab labeled Environment Variables and find a variable called OCCS_HOSTIPS. On the same line there's an IP in the public_ip label. Copy it:
Environment variable for the container

Use it to navigate to http://[public_ip]:8080/app:

Test page for our application

If you can see the preceding image, you've made it! Now your container is orchestrated in the cloud using Oracle Cloud.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.128.105