Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use serverless cloud services for running workloads #129 #151

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions docs/catalog/cloud/use-serverless.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
version: 1.0
submitted_by: markus-ntt-seidl
published_date: TBD
category: cloud
tags:
- cloud
- role:cloud-engineer
markus-gsf-seidl marked this conversation as resolved.
Show resolved Hide resolved
- size:small
- serverless
---

# Use serverless cloud services

## Description

Serverless cloud services are services that the cloud provider manages for the application. These scale dynamically with the workload needed to fulfill the service task and apply best practices to keep resource usage minimal.

## Solution

Evaluate serverless based on your application requirements.

## SCI Impact

`SCI = (E * I) + M per R`
[Software Carbon Intensity Spec](https://grnsft.org/sci)

Regarding the SCI equation. using serverless cloud services will impact:

- `I`: Resources are only running when in use and shared over many applications, the carbon intensity will decrease. There is a slight increase in provisioning serverless structures (for example AWS Lambda cold starts), overall the carbon intensity still decreases.
- `M`: Serverless architectures share resources and only use resources when needed, this reduces the embodied carbon.

## Assumptions

- The cloud provider provides serverless services for the technologies the application uses
- There is an assumption that the application can benefit from serverless architectures

## Considerations

- Evaluate and consider what workloads can be moved to serverless. Using serverless patterns can involve a complete redesign of the application architecture.
- Consider if your application can afford a cold start during serverless resource initialization.

## References

- [Azure Dev Blog](https://devblogs.microsoft.com/sustainable-software/adopting-azure-serverless-architectures-to-help-reduce-co2-emissions-part-1/)