Step 4: Create a Service
Create a DuploCloud Service for application deployment
Last updated
Was this helpful?
Create a DuploCloud Service for application deployment
Last updated
Was this helpful?
With all of the core components of your DuploCloud platform configured, enabled, and running, you're ready to deploy applications with Azure, using AKS and Kubernetes.
In order to deploy applications, you must first create a DuploCloud Service to connect to the Docker containers and images where your application code exists. Once you create a Service from the DuploCloud Portal, you can also perform tasks that you might perform when working with a Kubernetes service. For example, you can view container logs, container state, and container shell, as well as get access to kubectl
, which allows you to work directly with Kubernetes constructs such as Pods.
In this step, we create a Service to connect a Docker that displays a simple Welcome message on a web page.
Estimated time to complete Step 4: 15 minutes.
Before creating your DuploCloud Service, ensure that:
All previous steps in this tutorial to create an Infrastructure and Plan, Tenant, Host, and Azure Agent Pool are complete.
The is enabled.
Tenant DEV01 is selected in the Tenant list box, at the top of the DuploCloud Portal.
In the DuploCloud Portal, navigate to Kubernetes -> Services.
Click Add. The Add Service page displays.
In the Service Name field, enter nginx-service
.
Specify the Docker image that you use to run the application. In the Docker Image field, enter nginx:latest
.
Click Next, accepting all other defaults. The Advanced Options page displays.
Scroll down if needed and click Create.
The Service may take a few minutes to start up. Before moving on to the next step, navigate to the Services page (Kubernetes -> Services), click on the name of the Service, and verify that the status is Running.