Operations 19 min read

Serverless Operations: Efficient and Intelligent Cloud-native Practices

The article recaps Tencent Cloud’s Serverless operational suite—covering built‑in DevOps tools, logging, monitoring, auto‑scaling, and security—demonstrating how it replaces manual IaaS provisioning, accelerates development, and enables cloud‑native management, illustrated by a WeChat Mini‑Program album that cut build time from months to two weeks.

Tencent Cloud Developer
Tencent Cloud Developer
Tencent Cloud Developer
Serverless Operations: Efficient and Intelligent Cloud-native Practices

Recently, the Cloud+ Community Tech Salon "Efficient Intelligent Operations" concluded successfully. The session focused on operations, covering AIOps, Serverless DevOps, the Blue Whale PaaS platform, K8s, and Tencent's large‑scale cloud migration practices, aiming to shift traditional operations toward cloud‑native management.

This article summarizes Kong Lingfei's talk on Tencent Cloud Serverless operational capabilities, the impact of Serverless on operations, and a WeChat Mini‑Program album case study.

1. Introduction

In the Internet era, the core demand is applications that deliver business capabilities. Deploying an application requires compute, network, storage, and database resources, followed by updates and monitoring—covering the full lifecycle of application management.

To meet these needs, software architectures (monoliths, micro‑services) and resources such as Docker and KVM are introduced, along with tools like EFK, Prometheus, and Coding for lifecycle management. However, these components increase operational overhead, and true operational focus should be on business‑level concerns.

2. Serverless Overview

What is Serverless? Serverless abstracts away underlying compute, storage, and network resources, handing their provisioning and maintenance to the cloud provider. Developers only need to write business logic, while the platform manages CPU, memory, databases, etc., as black‑box services.

Serverless can be viewed as a combination of CaaS (Compute as a Service) and BaaS (Backend as a Service), providing a unified, cloud‑native execution model.

Physical Machine vs. Virtual Machine vs. Container vs. Serverless The evolution from physical servers to Serverless reduces the number of people required for deployment and operation—from dozens for physical machines to just a few for Serverless—thereby accelerating product iteration.

3. Serverless Business Operation Capabilities

Tencent Cloud Serverless offers out‑of‑the‑box operational features through four aspects: tool construction, DevOps integration, logging, and monitoring/alerting.

1. Tool Construction

A VS Code plugin and a web‑based IDE enable developers to write and deploy functions directly. A command‑line tool allows Linux terminal development and integration with CI/CD pipelines.

2. DevOps Solutions

The platform supports end‑to‑end workflows (code, build, package, deploy, test, release) and integrates with Git repositories, API Gateway, and other Tencent Cloud services.

3. Logging

Logs can be viewed in the Serverless console or exported to Tencent Cloud Log Service for persistent storage, regex search, and alerting.

4. Monitoring & Alerting

Three monitoring dimensions are provided: monthly invocation count, resource usage, and outbound traffic; regional metrics (calls, duration, errors, concurrency); and function‑level metrics (invocations, timeout, memory limits). Alerts can be configured via Tencent Cloud Monitoring.

4. Serverless System Operation Capabilities

Each user receives a lightweight virtual machine (MVM) that hosts Docker containers for function execution. The platform automatically scales resources based on CPU, memory, network I/O, and request volume, providing millisecond‑level scaling without user intervention.

5. Comparison with IaaS

Traditional IaaS requires manual resource creation, OS installation, middleware setup, and extensive DevOps pipeline configuration, often taking weeks. Serverless eliminates resource provisioning and offers built‑in DevOps, reducing the process to a single development step.

6. Deployment, Monitoring, Fault Recovery, Scaling, and Security

Serverless abstracts deployment (no manual OS or container setup), provides built‑in blue‑green releases, and handles monitoring, fault recovery (stateless functions), and elastic scaling at millisecond granularity. Security responsibilities shift to the cloud provider, offering network isolation, execution environment isolation, and resource limits.

7. WeChat Mini‑Program Album Serverless Case

The mini‑program album illustrates how Serverless reduces development time from months to two weeks by removing infrastructure provisioning, domain registration, VM setup, Nginx/MySQL installation, and monitoring configuration. The cloud provider handles all underlying resources, allowing developers to focus solely on business logic and database CRUD operations.

Speaker Introduction

Kong Lingfei, Senior Architect at Tencent Cloud, leads the Cloud Function product, assists customers in building Serverless architectures, and has extensive experience in virtualization, container clusters, and cloud computing technologies.

serverlessautomationDevOpsInfrastructureTencent Cloudcloud operations
Tencent Cloud Developer
Written by

Tencent Cloud Developer

Official Tencent Cloud community account that brings together developers, shares practical tech insights, and fosters an influential tech exchange community.

0 followers
Reader feedback

How this landed with the community

login 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.