Hello World: Creating Functions using Fission (in Golang)

March 5, 2018

First, What is Serverless?

In the last blog post Kubernetes for Newbies, we went over how to get an application up and running on Kubernetes. Though Kubernetes is surely a hot topic in tech, the “serverless” space has become just as (if not even more) trendy. Why is serverless so popular in the dev community?

Turns out, serverless is a developer’s saving grace when it comes to managing servers. Instead of managing a bunch of servers, Serverless solutions allow developers to … well … not manage servers at all! Serverless completely takes away the burden of managing servers. One could say that Serverless separates the “ops” from devs. Functions as a Service (FaaS) enable developers to deploy parts of an application on an “as needed” basis using short-lived functions in just about any programming language.

Benefits of using FaaS range from simplified scaling, to easier deployment, lowered costs (you only pay for the resources you use, as opposed to otherwise paying on a per-second basis).

Let’s do a quick walk through of how to deploy “Hello World” using Fission Functions!

Installations

We’ll be using Minikube to run Kubernetes locally (just as we did in the previous blog post).

What’s Next?

Go ahead and try your hand at using Fission Functions for your own cool projects! Remember that you can use Fission with other languages. Try it out using NodeJS, Python, Ruby, or any of the other languages within our listed environments! Don’t forget to tell us about what you made by tweeting us @Fissionio, and feel free to ask questions on our Slack http://fissionio.slack.com.