As developers you can have an
outsized impact
@jawache
Slide 10
Slide 10 text
Electricity is responsible for 30%
of CO2e
@jawache
Slide 11
Slide 11 text
On average 80% of the worlds
electricity is created from the
burning of Fossil Fuels
@jawache
Slide 12
Slide 12 text
Don't waste electricity
@jawache
Slide 13
Slide 13 text
Use Clean Electricty
@jawache
Slide 14
Slide 14 text
Microsoft Azure
Google Cloud
AWS (only Dublin, Frankfurt, Oregon or Canada)
carbon neutral clouds
@jawache
Slide 15
Slide 15 text
how wasteful are
servers?
@jawache
Slide 16
Slide 16 text
@jawache server "carbon" cost
Slide 17
Slide 17 text
@jawache
~600 kg CO2e to run/year
Idle servers consume ~25% of the
electricity compared to peak load
~150 kg CO2e to run/year
server "carbon" cost
Slide 18
Slide 18 text
@jawache
(Assuming a 4 year lifespan)
320 kg CO2e to create/year
server "carbon" cost
Slide 19
Slide 19 text
@jawache
An idle server wastes about
470 kg CO2e per year
server "carbon" cost
Slide 20
Slide 20 text
how can Serverless
help?
@jawache
Slide 21
Slide 21 text
https:!//azure.com/app1234/v1/moo/foo
what is serverless?
@jawache
Slide 22
Slide 22 text
• Autoscales
• Pay as you go
• Unit of measurement is not servers
what is serverless?
@jawache
Slide 23
Slide 23 text
@jawache what is serverless?
Slide 24
Slide 24 text
@jawache what is serverless?
Slide 25
Slide 25 text
• CO2e was released to create a server
• CO2e was released to power a server
• If you don't run at 100% utilisation you are wasting CO2e
• Serverless let's us run servers at 100%
serverless is greener because?
@jawache
Slide 26
Slide 26 text
how to Serverless in
Node.js?
@jawache
Slide 27
Slide 27 text
Azure functions
AWS Lambda
Google cloud functions
@jawache
Slide 28
Slide 28 text
No content
Slide 29
Slide 29 text
Let's Talk
Sure!
Slide 30
Slide 30 text
Azure functions
@jawache
Slide 31
Slide 31 text
Azure functions
@jawache
Slide 32
Slide 32 text
Azure functions
hexa.run
@jawache
Slide 33
Slide 33 text
nitr.ooo
@jawache
Slide 34
Slide 34 text
google cloud functions
https://fireship.io/snippets/setup-nestjs-on-cloud-functions/
@jawache
• Servers release CO2e
• Serverless is more efficient, less waste.
• Serverless with Nest.js on Azure (nitr.ooo)
• Clean Energy
• climateaction.tech
Summary
@jawache