06.6 ° Service 06 / Software Development · Cloud-native

Cloud-native development.
Built for the cloud.

Cloud-native development means designing applications and services for a cloud environment from the start. We develop such applications, write functions for individual, event-driven tasks, for example on AWS Lambda, and build processing pipelines with queues and events. We connect what we build to your existing systems and APIs. We work from the perspective of the software, and your team or your service provider is responsible for operating the cloud environment. We know this division of responsibilities from practice. When a photo agency moved its archive of over 60 million images to the AWS Cloud, the migration architecture was our responsibility.

Tagline Functions · Events · Queues · Cloud services · Integration
° dl / service-06.6
° Fundamentals · Cloud native and serverless

What is cloud native, and what does serverless computing mean?

Cloud native refers to software that is designed for the characteristics of a cloud environment. Serverless computing is an operating model within this field. The following sections clarify both terms, place functions alongside microservices and containers, and show how cloud-native development differs from a cloud migration.

The Cloud Native Computing Foundation (CNCF) defines cloud native through the characteristics of the systems. According to it, they are loosely coupled and interoperate in a way that is secure, resilient, manageable, sustainable, and observable. As typical techniques, the definition names containers, microservices, immutable infrastructure, serverless, and declarative APIs, among others. Cloud native therefore refers to a way of building software. For development, it follows that a cloud-native application consists of parts that can be delivered and scaled individually. Its processes are stateless, persistent data resides in attached services such as a database, object storage, or a queue, and the configuration comes from the environment. The Twelve-Factor App methodology describes these principles as well.

What is serverless computing, and what is a function?

With serverless computing, the cloud provider provisions and manages the servers, and capacity adjusts automatically to demand. A common form is function as a service. Here, the platform runs a function as soon as an event occurs, such as an HTTP call, a message in a queue, or a newly stored file. At AWS, this service is called Lambda, and at Microsoft it is Azure Functions. A function handles one clearly defined task, and its state is not reliably preserved between two invocations. AWS Lambda provides managed runtimes for Java, Python, Node.js, .NET, and Ruby, and Go programs run as a compiled binary in an OS-only runtime. A function is deployed as a ZIP archive or as a container image.

How are serverless, microservices, and containers related?

The three terms sit at different levels. Microservices are an architecture style in which an application is broken down into independent services, each of which takes on one business task and can be delivered, updated, and scaled individually. Serverless is an operating model, and the container is a format for packaging and execution. A microservice can therefore be operated as a continuously running container or consist of a group of functions. Which form fits follows from the task. A service that continuously answers requests or keeps connections open is well placed in a container. A function is suited to work that is triggered by an event and completed after a short time. In many applications, both exist side by side. Our articles on Docker and Kubernetes explain the fundamentals of containers.

Where is the difference between cloud-native development and cloud migration?

An application runs in the cloud as soon as it is operated there. The AWS migration strategies call the move without changes to the application rehost, while the refactor path restructures the architecture so that the application takes full advantage of cloud-native features. Both paths have their place. Cloud-native development starts with the design. From the beginning, the application uses what the environment provides, such as managed queues, object storage, and databases. The DevOps Consulting page describes how an existing application becomes cloud-ready and reaches the cloud through a pipeline and containers. The Software Modernization page covers the restructuring of applications that have grown over time.

The archive migration of a photo agency shows how cloud services work together in a project. Over 60 million images, 60 terabytes, moved from on-premises NAS systems to the AWS Cloud while day-to-day business continued. At the destination, Amazon S3 holds the archive, and Elasticsearch handles indexing. We wrote the Lambda functions that trigger the downstream processing there. The project stack also includes SQS, DynamoDB, and API Gateway. More than eight Mule services orchestrated the migration and monitored every process step, and a registry tracked every asset until it was confirmed in S3. The migration architecture was our responsibility, and infrastructure and operations were the responsibility of the client. It was an integration project with MuleSoft. We bring the experience with processing pipelines, throughput, and traceability to cloud-native development.


° Platform · Building blocks

What cloud-native development involves

Six building blocks, from the individual function to the observability of the entire processing chain.

°Serverless
Functions
For individual, event-driven tasks, we write serverless functions, for example on AWS Lambda. Each one has a trigger, a clearly scoped task, and a verified result.
AWS Lambda · Java · Python · Go
°Events

Event-driven processing

An event is a change of state, such as an incoming order or a newly stored file. We define which events exist, who triggers them, and which processing follows.

°Queues

Processing pipelines with queues

A queue decouples sender and receiver and absorbs load peaks. Standard queues in Amazon SQS deliver at least once, which is why we design the processing to be idempotent.

°State & data
Stateless
Functions and services hold no state of their own. Persistent data resides in attached services such as a database, object storage, or a queue, chosen to match the access pattern.
°Integration

Connecting to existing systems and APIs

Cloud-native applications work together with SAP, Salesforce, databases, and existing APIs. We know this kind of connection from integration projects, such as between Salesforce and SAP for a payment provider.

°Observability
Traces
Processing is spread across many short invocations. Structured logs, metrics, and traces with a propagated correlation ID show the path of a transaction through functions and queues.
° Stack & tools

Services and tools for cloud-native development.

Cloud services, languages, and tools used to build cloud-native applications. Documented in our case studies are AWS Lambda, Amazon SQS, Amazon API Gateway, Amazon S3, Amazon DynamoDB, Elasticsearch, MySQL, Terraform, GitLab CI/CD, and Jenkins, there in integration projects. The remaining services, languages, and tools describe the surrounding ecosystem.

01

Functions & events

AWS LambdaAmazon SQSAmazon API GatewayAmazon EventBridgeAWS Step FunctionsAzure Functions
02

Data & storage

Amazon S3Amazon DynamoDBElasticsearchMySQL
03

Languages & tests

JavaPythonGoJUnitpytestTestcontainersLocalStack
04

Delivery & observability

AWS SAMTerraformGitLab CI/CDJenkinsDockerAmazon CloudWatchOpenTelemetry
° Approach

From the task to the cloud-native application

Cloud-native development in five steps. Each step ends with a result that the next one builds on.

01

Task & environment

Clarify the business task, the existing cloud environment, and the requirements of your platform and operations team.

02

Design

Define events, functions, services, and data storage, and specify the interfaces to the surrounding systems.

03

Development & tests

Implement in manageable increments, with unit tests and integration tests against locally emulated services.

04

Delivery

Describe functions and the required resources as code and bring them into every environment through the pipeline.

05

Go-live

Accompany the first runs, evaluate metrics, logs, and traces, and hand over to your team or continue to provide support.

° From the archive migration of a photo agency to the AWS Cloud
60+ TB
photo archive moved to the AWS Cloud
while day-to-day business continued
8+
Mule services for migration,
AWS integration, and monitoring
1 registry
tracks every asset until it is
confirmed in Amazon S3
Lambda
functions for the downstream processing,
written by us
° Frequently asked questions about cloud native and serverless

Questions and answers on cloud-native development, serverless, and AWS Lambda.

01 What is cloud-native development?

Cloud-native development is the development of applications and services that are designed for a cloud environment from the start. According to the definition of the Cloud Native Computing Foundation, such systems are loosely coupled and interoperate in a way that is secure, resilient, manageable, sustainable, and observable. Typical techniques are containers, microservices, serverless, and declarative APIs. Such an application has individually deliverable parts, stateless processes, data in attached services, and configuration from the environment.

02 What is serverless computing?

Serverless computing is an operating model in which the cloud provider provisions and manages the servers and automatically adjusts capacity to demand. The application code is still developed, tested, and delivered, and the platform runs it as soon as it is needed. A common form is function as a service, in which a function is triggered by an event and handles exactly one task. Managed services such as Amazon DynamoDB are also described as serverless by the provider.

03 What is AWS Lambda?

AWS Lambda is the function service of Amazon Web Services. Lambda runs code in response to events or API calls without servers having to be provisioned or managed. A function is triggered, for example, by a call through Amazon API Gateway, by messages in an SQS queue, or by a newly created object in Amazon S3. Lambda provides managed runtimes for Java, Python, Node.js, .NET, and Ruby and accepts functions as a ZIP archive or as a container image. At Microsoft, the corresponding service is called Azure Functions, where triggers start a function and bindings connect it to other services.

04 What is the difference between serverless and microservices?

Microservices are an architecture style, and serverless is an operating model. A microservices architecture breaks an application down into independent services that are delivered and scaled individually. Serverless describes how code is executed. The platform provides the capacity as soon as an event occurs. The two can be combined. A microservice can be operated as a continuously running container or consist of several functions. Which form fits follows from the task, for example from runtime, load profile, and state.

05 What are examples and use cases for serverless?

Typical areas of use are tasks that are triggered by an event. These include validating and processing an uploaded file, working through messages from a queue, serving an interface with irregular load, or transferring data between two systems. One example from our projects is the archive migration of a photo agency to the AWS Cloud. For it, we wrote the Lambda functions that trigger the downstream processing at the destination. Elasticsearch handles indexing, and Amazon S3 holds the archive of over 60 million images. Mule services monitored every process step along the way.

06 How is a cloud-native application structured?

A cloud-native application consists of parts that work together through interfaces and events. A call or an event triggers a function or a service, and longer-running processing goes through queues that decouple sender and receiver. In Amazon SQS, a received message is temporarily invisible to other consumers and becomes visible again if it is not deleted. Messages that are not processed successfully can be collected by a dead-letter queue. Standard queues deliver at least once, which is why we design the processing to be idempotent. Persistent data resides outside the functions, for example in Amazon DynamoDB or Amazon S3.

07 How are serverless functions tested and monitored?

Unit tests verify the business logic of a function as they do for other code. For the interaction with queue, storage, and database, integration tests run against locally emulated services or against a test environment in the cloud, and the AWS SAM CLI can invoke Lambda functions locally. For serverless monitoring, the platform provides the foundation, because Lambda sends logs to Amazon CloudWatch Logs and reports metrics to CloudWatch, and traces can be enabled through AWS X-Ray. We add structured logs and a correlation ID that makes it possible to follow a transaction across functions and queues. The IT Monitoring page describes how applications are connected to your existing monitoring.

08 Who takes on cloud-native development, and what do cloud-native application development services cover?

dataliquid takes on cloud-native development for companies, working from Hamburg. Our cloud-native application development services cover the design and development of cloud-native applications and services, functions for event-driven tasks, processing pipelines with queues, and the connection to existing systems and APIs. For cloud development, we use Java, Python, and Go. We work from the perspective of the software and give your platform and operations team the information it needs from the application, and your team or your service provider is responsible for operating the cloud environment. Our documented projects are predominantly integration projects, including the archive migration of a photo agency to the AWS Cloud. The Custom Software Development page gives an overview of the pillar.

Cloud-Native Development

Let's talk about your cloud initiative.

The initial call with an engineer covers your task, your cloud environment, and a sensible first step.

01 Submit a request
* Required field
Topic
Encrypted transmission · TLS 1.3