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

Choose sustainable region for workloads #128

Closed
Changes from 2 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
43 changes: 43 additions & 0 deletions docs/catalog/cloud/choose-sustainable-region.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
version: 1.0
submitted_by: markus-ntt-seidl
published_date: TBD
category: cloud
tags:
- cloud
- role:cloud-engineer
- size:medium
markus-gsf-seidl marked this conversation as resolved.
Show resolved Hide resolved
---

# Choose sustainable region for workloads

## Description

Applications can have background tasks or jobs that run independent to the rest of the application. These workloads can be put into a region that is the most sustainable region of the used cloud provider.

## Solution

Run the workloads in a region that the used cloud provider labels as most sustainable. Choose the region that is near your application so that data transfer to and from the sustainable region minimal.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do think these two patterns describe different facts and details, can you check again?

Copy link
Contributor

@greenhsu123 greenhsu123 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had another look. So firstly, I think it's best if we separate this pattern into two patterns so we are following the 1:1 mapping.

Secondly, if we were to separate the patterns: the other pattern's solution is Choose a region that is the closest to the majority of where the network packets are going., which is fairly similar to Choose the region that is still near to your application so that data transfer to and from the sustainable region is minimal. However, the latter can be used to address different intent. Thoughts?


## SCI Impact

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

Concerning the SCI equation. choose sustainable region for workloads will impact two parts:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @greenhsu123 that this would also affect M.

- `E`: Transferring the necessary data to the sustainable region and back to the application region will increase the energy consumed by the system
- `I`: Location based carbon emissions will be reduced as the workload is executed in a more sustainable region as the original region

## Assumptions

markus-gsf-seidl marked this conversation as resolved.
Show resolved Hide resolved
- This optimization assumes that the workload can be run in an additional region and the transfer of the necessary data from and to the region is still better, in terms of CO2, than running the workload in the original region

## Considerations

- Consider moving your application to the most sustainable region
- Consider running the workload at times where energy is produced from renewable resources

## References

- [AWS Sustainability Region Selection](https://docs.aws.amazon.com/wellarchitected/latest/sustainability-pillar/region-selection.html)