As cloud platforms evolve, serverless functions offer scalable solutions, but cloud-specific requirements often make it challenging to keep business logic portable. This session demonstrates building cloud-agnostic business logic in Kotlin using a simplified variant of clean architecture, combined with Spring Cloud Function and headless Gradle modules to separate core logic from cloud-specific code.
Elena will show how to structure a Kotlin serverless application to keep business logic cloud-agnostic while allowing platform-specific integrations, such as storage, where needed. By isolating core logic, developers can deploy the same business code across providers like AWS Lambda and Azure Functions.
Through live coding, attendees will explore practical techniques for creating and deploying Kotlin serverless applications with portable business logic.
Key Takeaways:
- Use clean architecture and Spring Cloud Function to make business logic portable across cloud providers.
- Leverage Gradle modules to enforce boundaries between business logic and cloud-specific code.
By the end, attendees will have a framework for building cloud-agnostic business logic in Kotlin, ready to implement in their own projects.
Speaker

Elena van Engelen
Author of "Kotlin Crash Course" | Lead Engineer, Trainer, Blogger and Speaker
I am an expert software engineer with over two decades of experience who is driven by passion for technology. I specialize in Kotlin and cloud-native solutions and focus on building mission critical, scalable and maintainable systems. Besides software development I also enjoy sharing my knowledge through talks, my blog, giving Kotlin training and my book, “Kotlin Crash Course", a project-based approach to learning Kotlin from scratch. Explore more about my work and expertise on my website.