Lakmal Warusawithana is the Senior Director – Developer Relations of WSO2. Lakmal has a long history of working in open source, cloud, and DevOps technologies and has been Vice President of Apache Stratos PaaS Project. Lakmal is an architect for containerization and deployment orchestration of Ballerina, an open source programming language for network distributed application. Lakmal has also presented at numerous events, including ApacheCon, CloudOpen, QCon, JaxLondon, Cloud Expo, Cloudstack Collaboration Conference, WSO2Con, KubeCon, ContainerCamp, DeveloperWeek, API Summit and many tech meetups.
Code to Cloud
In the old days we write our program, build and just run that program. Now we write it, build it and then we have various ways of running it; maybe just as a binary on a machine of some kind (virtual likely, but doesn’t matter), or package it into a container or maybe take that container and make it part of a bigger deployment (K8s) or maybe deploy it into a serverless or service mesh. However, those parts are not part of the programming experience for the developer. Developer has to write code in a certain way to work well in a given execution environment. Removing this from the programming problem is not good.
Ballerina is a new opensource programming language specialized in code to cloud with unique developer experience. Its compiler can be extended to read annotations defined in the source code and generate artifacts to deploy your code into different clouds. These artifacts can be Dockerfile, Docker image, Kubernetes YAML’s or Serverless functions required to deploy your code into different clouds. This session will demonstrate how code to cloud by using Kubernetes annotation support in Ballerina.