To get started implementing serverless functions in your environment, the first step is to sign up for an account with a serverless platform provider. AWS Lambda, Google Cloud Functions and Microsoft Azure Serverless Computing/Azure Functions Serverless Compute are the most popular, but there are many others. Choosing the right one for your business depends on many factors, starting with the type of software you’re building and your goals. You’ll have different options if you’re starting out with legacy applications than if you’re already deeply embedded in the cloud.
From there you’ll need to consider technical issues, such as language support and deployment, dependencies management, persistent storage resources, and types of triggers, to name just a few. These will be handled differently from platform to platform and are worth familiarizing yourself with to inform your decision.
Once you sign up with a platform, implementing your first function should be easy as long as you know what you want to build. All the big vendors offer tutorials to get you acquainted with serverless environments and the specifics of their respective platforms.
If you’re not ready to wed yourself to a vendor straight away, there are ways to run serverless code on your local hardware. AWS Serverless Application Model (AWS SAM), for example, has a feature that lets you test Lambda code offline.