The page has been translated by Gen AI.

DevOps Service use one CI/CD tool Environment success

DevOps Service use one CI/CD tool Environment success

Overview

DevOps Service supports the CI/CD(build/deploy) of applications to increase development productivity. In other words, it automates the Build-Test-Deploy process to boost development productivity, and improves code quality by integrating with CI/CD tools that support source history management and source code verification.

It also supports integration with CI/CD tools in both On-Premise and Samsung Cloud Platform environments, allowing users to freely choose and configure their CI/CD tool installation environment.

Architecture Diagram

Install CI/CD tool on SCP

SCP CI/CD Tool
Figure. CI/CD tool installation diagram on Samsung Cloud Platform
  1. Apply for the Marketplace service and install Jenkins.
  2. Apply for the marketplace service and install GitLab (source code repository).
  3. Apply for the Container Registry service to store the application container images built in DevOps in the registry.
  4. Register Jenkins, GitLab, Kubernetes Engine, and Container Registry in DevOps Service.
    • To register CI/CD tools (GitLab, Jenkins), bidirectional communication with the DevOps Console is required, so Internet Gateway, Load Balancer, NAT Gateway services are used.
    • Create a CI/CD Pipeline that build-test-deploy the application using the CI/CD tools registered in DevOps Service.
  5. You can continuously deploy the developed application using the CI/CD pipeline created in the DevOps Service.

Install CI/CD tool on On-Premise

On-Premise CI/CD Tool
Figure. On-Premise CI/CD tool installation diagram
  1. Install Jenkins in an On-Premise environment.
  2. Install GitHub (source code repository) in an on-premise environment.
  3. Install Harbor (image registry) in an on‑premise environment and store the application container images built in DevOps in the registry.
  4. Apply for the Direct Connect service to connect the on‑premise environment with Samsung Cloud Platform’s Kubernetes Engine, enabling the Kubernetes Engine to access the on‑premise Harbor and run application containers.
    • Also, because CI/CD tools and the DevOps Service require bidirectional communication, connect the On-Premise and Samsung Cloud Platform Public Endpoint via the network.
  5. Register Jenkins, GitHub, Kubernetes Engine, and Harbor in the DevOps Service.
    • Create a CI/CD pipeline that builds, tests, and deploys the application using the CI/CD tools registered in the DevOps Service.
  6. You can continuously deploy the developed application using the CI/CD pipeline created in DevOps Service.

Use Cases

Development environment of the defect analysis system


You can reduce the development environment setup time from 2 days to within 5 minutes.

  • We build an automated defect classification and analysis system on a container-based Kubernetes Engine environment.
  • We leverage DevOps’ automated CI/CD pipeline.

Development environment for converting the management information system to containers


  • Setting up a development environment for a management information system typically takes more than 1–2 weeks, but you can configure it instantly using DevOps services.
  • It automates containerizing and deploying the developed application, configuration, and runtime environment, dramatically improving development productivity.

Prerequisites

None

Constraints

None

Considerations

Connection between DevOps Service and CI/CD Tools


To register and use a CI/CD tool in the DevOps Service, the CI/CD tool must be exposed to the external network of Samsung Cloud Platform.

  • If the CI/CD tool is installed on Samsung Cloud Platform, it must be connected to the external network using Internet Gateway, NAT Gateway, Load Balancer services.
  • If the CI/CD tool is installed on-premise, the on-premise must be connected to the Samsung Cloud Platform public endpoint and network.

On-Premise and SCP Connection

  • To connect the CI/CD tool installed on-premise to the Samsung Cloud Platform Kubernetes Engine, you must request the Direct Connect service.

  • When applying for Kubernetes Engine, you must specify the VPC Subnet IP address range so that it does not conflict with the customer’s Network IP address range.

    • Additionally, the VPC firewall and Security Group must be registered so that the Node Pool of Kubernetes Engine can connect to the customer’s on‑premise Container Registry.

Related service

This is a list of Samsung Cloud Platform services that are associated with the features or configurations described in this guide. Refer to it when selecting and designing services.

service groupserviceDetailed description
ContainerKubernetes EngineKubernetes container orchestration service
ContainerContainer RegistryA service that easily stores, manages, and shares container images
NetworkingVPCA service that provides an isolated virtual network in a cloud environment
NetworkingLoad BalancerA service that automatically distributes server traffic load.
NetworkingDirect ConnectA service that securely and quickly connects the customer’s network with the Samsung Cloud Platform.
Table. List of related services