Cloud Native 11 min read

Building a Unified Cloud‑Native Serverless Platform Across Public Cloud and IDC with ACK One & Knative

This guide explains how to design and implement a unified cloud‑native serverless platform that runs seamlessly on public clouds and on‑premise IDC clusters using Alibaba Cloud ACK One, Kubernetes, and Knative, covering architecture, key components, deployment steps, and best‑practice recommendations.

Alibaba Cloud Native
Alibaba Cloud Native
Alibaba Cloud Native
Building a Unified Cloud‑Native Serverless Platform Across Public Cloud and IDC with ACK One & Knative

To create a unified cloud‑native Serverless platform that works both on public clouds and in IDC data‑center environments, several core elements must be addressed: a standardized API, containerization, Kubernetes orchestration, a service mesh, a Serverless framework, CI/CD pipelines, hybrid‑cloud strategies, data consistency, monitoring, security, documentation, and community support.

Key Architectural Decisions

Adopt a unified API and service interface to enable seamless migration and interoperability across environments.

Package applications with Docker containers for consistent runtime behavior.

Use Kubernetes as the common orchestration layer for deployment, scaling, and management.

Integrate a service mesh such as Istio for service discovery, load balancing, fault tolerance, and security.

Select a Serverless framework (e.g., Knative or OpenFaaS) to provide event‑driven execution and automatic scaling.

Build a developer platform with integrated CI/CD to automate code integration and deployment.

Support distributed‑cloud and hybrid‑cloud strategies so workloads can run on public clouds, private clouds, or edge nodes.

Design data storage and synchronization mechanisms to ensure consistency and reliability across locations.

Incorporate monitoring and logging for real‑time observability and troubleshooting.

Enforce security measures including network protection, encryption, access control, and compliance.

Provide comprehensive user and developer documentation.

Foster a strong community ecosystem to encourage contributions and continuous improvement.

Industry reports (Gartner, IDC) indicate that by 2025 half of large enterprises will adopt distributed‑cloud models, with security, operational complexity, and financial management identified as primary challenges.

Why Choose Knative?

Knative is an open‑source Serverless framework built on Kubernetes that offers cloud‑native, cross‑platform orchestration. It consists of three core components:

Serving : Manages Serverless workloads, provides request‑driven auto‑scaling (down to zero), and supports gray‑release deployments.

Eventing : Supplies a full eventing model for ingestion, triggering, filtering, and decoupling producers from consumers.

Function : Enables developers to create, build, and deploy stateless, event‑driven functions without deep knowledge of the underlying stack.

ACK One + Knative for Distributed Cloud

Alibaba Cloud's Distributed Cloud Container Platform (ACK One) extends Kubernetes to hybrid‑cloud and multi‑cluster scenarios. It now supports managed Knative capabilities, allowing users to build a unified Serverless platform that runs on both public cloud clusters and IDC‑hosted clusters, with elastic scaling via Elastic Container Instance (ECI).

Advantages

Registered clusters can connect IDC‑hosted clusters, delivering a consistent operational experience.

Knative experience is uniform and requires no additional operations.

IDC clusters gain cloud‑elastic capabilities; combined with ECI, resources can be provisioned on‑demand.

Public‑cloud ACK clusters paired with IDC clusters improve overall stability.

Deploying LangChain‑Chatchat on ACK One + Knative

LangChain‑Chatchat is an open‑source Q&A application built on a local knowledge base using the LangChain paradigm. The following steps illustrate how to deploy it:

Ensure a registered Kubernetes cluster is available in the Container Service console.

Confirm the on‑premise cluster uses Calico reflective routing or Cilium BGP routing.

In the console, navigate to Cluster → Application > Knative , select the default namespace, and click Use Template to Create .

Paste the following YAML template and create a service named knative-llc-demo:

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: knative-llc-demo
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/maxScale: '100'
        autoscaling.knative.dev/minScale: '1'
        k8s.aliyun.com/eci-extra-ephemeral-storage: 80Gi
        k8s.aliyun.com/eci-use-specs: 'ecs.gn5-c4g1.xlarge,ecs.gn5i-c8g1.2xlarge,ecs.gn5-c8g1.2xlarge'
    spec:
      containers:
      - image: registry.cn-hangzhou.aliyuncs.com/knative-sample/chatchat:0.2.7
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 8501
          name: http1
          protocol: TCP
        name: lcc

After creation, retrieve the service's gateway address and default domain from the Service Management tab.

Bind the gateway address to a host name by adding an entry to the local /etc/hosts file, e.g.:

39.104.58.99 knative-llc-demo.default.example.com

Finally, access the LangChain‑Chatchat UI via the default domain to verify the deployment.

Conclusion

Alibaba Cloud ACK One now offers managed Knative support, delivering a standardized Serverless experience across public and private clouds. By registering IDC clusters with ACK One, users gain consistent operations, elastic cloud resources via ECI, and the ability to scale Serverless workloads without limits.

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.

ServerlessKubernetesLangChainKnativedistributed cloudACK One
Alibaba Cloud Native
Written by

Alibaba Cloud Native

We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.

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.