After looking into how to run a Spring-Boot based Microservice application on Oracle’s Application Container Cloud service, this post will concentrate on Oracle Container Cloud Service. In short, Oracle Container Cloud Service is Oracle’s enterprise-grade container infrastructure solution. It provides features to compose, deploy, orchestrate and manage Docker container-based applications. In contrast to Oracle Application Container Cloud Service customers can completely control containers deployed within this infrastructure. Therefore, this service provides the highest amount of flexibility for container-based applications. On the other hand, it does not relieve customers of tasks like Oracle Application Container Cloud Service.
Within this post, we are going to deploy a Spring-Boot application implementing the architecture presented in the figure below. It uses Eureka as service registry. Microservice 2 uses a Feign Client implementation to call Microservice 1. To run all three services on Oracle Container Cloud Service, they were packaged as FAT-JARs, added to Docker Containers and uploaded to Docker Hub. If you require more details on this process, feel free to ask further questions within the comments section below or on twitter.
Oracle Container Cloud Service Stacks
Although each Microservice provides a complete business functionality within its bounded context, one most likely needs a combination of multiple Microservices in order to provide a complete application for a specific business domain. As container orchestration solution, Oracle Container Cloud Service provides features to run multiple Microservices in an ordered fashion. This feature is called Stacks. In general, a Stack is a configuration describing which and how a set of Microservices shall be executed by the underlying infrastructure. Instead of creating a proprietary solution, Oracle decided to use Docker’s Docker Compose tooling as basis for its container orchestration and added a simple visual editor. In order to create a new Stack one has to select the Stacks menu item. Within the overview one can see all existing Stacks, including Oracle’s Stack examples. On the top right corner click the New Stack button. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.