Cloud Native 11 min read

How OCP’s Cloud‑Native Migration Boosts Development Efficiency on Huawei Cloud

The article explains how the open‑source Open‑Capacity‑Platform (OCP) is transformed into a cloud‑native solution on Huawei Cloud, detailing the architectural changes, benefits, step‑by‑step migration process, and the supporting cloud services that together improve development speed, operational safety, and cost efficiency.

Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
How OCP’s Cloud‑Native Migration Boosts Development Efficiency on Huawei Cloud

OCP Overview

Open‑Capacity‑Platform (OCP) is a well‑known open‑source microservice framework hosted on Gitee, built with layui and Spring Cloud. It offers user permission management, configuration center, application management, and attracts over 8,000 developers who can run it locally for learning and secondary development.

Why Cloud‑Native Transformation?

In the cloud‑native era, open‑source projects are moving to cloud‑native architectures to reduce costs, enhance continuous delivery, and simplify development. Huawei Cloud DTSE team explored OCP’s migration, delivering a one‑stop containerized delivery platform that integrates the full lifecycle on the cloud.

Benefits of the Cloud‑Native Migration

Replacing traditional components with high‑availability cloud services lowers risk, reduces maintenance burden, improves security, and increases development efficiency without expanding team size.

The fully containerized design brings more flexible task scheduling and higher execution efficiency. Operations are shifted to Huawei Cloud, so developers no longer maintain operational services themselves. Compilation, build, deployment, and operational capabilities are all enhanced.

Key Capability Improvements

Compilation & Build : CodeArts Build provides scalable cloud‑based build resources, enabling faster builds and pay‑as‑you‑go pricing.

Deployment & Runtime : Deploying on CCE (Huawei Cloud Container Engine) offers high‑performance Kubernetes clusters with one‑click creation and upgrade, while CodeArts Pipeline automates deployment.

Operations : APM, AOM, and LTS replace the original self‑built operational micro‑services, offering intelligent alerts, automated operations, and real‑time log analysis.

Migration Approach

The migration replaces core components with cloud services:

Replace Eureka with CSE for service registration.

Use RDS + DCS to migrate MySQL and Redis to the cloud.

Integrate OBS for file storage and upload.

Leverage CodeHub and CloudBuild to compile code and build Docker images.

Run the application on Kubernetes (CCE) with container infrastructure.

Swap original ops and logging with APM, AOM, and LTS.

Step‑by‑Step Migration Process

Deploy OCP locally.

Integrate OCP with CSE.

Upload source code to CodeHub.

Replace MySQL and Redis with RDS and DCS.

Use CloudBuild to compile, build Docker images, and push to SWR.

Deploy the application on CCE.

Connect CCE to LTS for cloud logging.

Configure DNS for domain‑based access.

Verify successful access to OCP services.

Optimization Tips

Huawei Cloud provides optimization recommendations for database connections, workflow startup, compilation, image packaging, and captcha generation, along with solutions to common migration issues.

Resources and Support

Developers are encouraged to study the documentation of CSE, CodeHub, CloudBuild, SWR, CCE, RDS, DCS, OBS, ELB, DNS, APM, AOM, and LTS. Huawei Cloud also offers related courses and labs, such as database service practice, rapid container website setup, and two‑hour tutorials on LTS and CSE.

Open‑Source Ecosystem for Huawei Cloud

The DTSE team has compiled a comprehensive guide and a set of resources to help developers migrate applications to the cloud, and invites contributions to the “open‑source for Huawei Cloud” ecosystem, which includes over 100 projects across multiple languages.

OCP cloud‑native architecture diagram
OCP cloud‑native architecture diagram
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

cloud-nativeMicroservicesDevOpscontainerizationHuawei Cloud
Huawei Cloud Developer Alliance
Written by

Huawei Cloud Developer Alliance

The Huawei Cloud Developer Alliance creates a tech sharing platform for developers and partners, gathering Huawei Cloud product knowledge, event updates, expert talks, and more. Together we continuously innovate to build the cloud foundation of an intelligent world.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.