Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
When starting to write software in serverless and Function-as-a-Service, the default cloud vendor’s console is the starting point. However, once the application gains some complexity, a proper deployment tool is necessary. This post covers the most popular deployment tools for serverless.
The Cloud Provider’s Way
Each of the cloud vendors provides an easy way to deploy functions:
- AWS has a CLI for deploying Lambda functions, as well as two tools (SAM and Chalice) which are covered in this article.
- Microsoft Azure recommends using Visual Studio for deploying functions, and it also enables doing so using the Azure CLI.
- Google Cloud provides different ways of deploying Cloud Functions. The gcloud command-line tool is the recommended way.
- IBM Cloud offers the IBM Cloud CLI.
Platforms
Serverless deployment platforms enable more than just deploying your code — their features vary from modeling the serverless application, code management, visualization, and multi-cloud support.
AWS SAM
SAM — Serverless Application Model — is a way to describe and deploy serverless applications in a simple way. It extends the AWS CloudFormation to provide a simplified method of defining AWS Lambda functions, API Gateway, and DynamoDB tables. It supports the runtime of the Lambda functions. AWS SAM only supports applications deployed on AWS.
AWS SAM applications are described in the SAM format, which is JSON or YAML and deployed using the AWS SAM CLI. Get started using this guide. AWS SAM also has an active Slack channel.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.