At AWS re:Invent in late November 2021, something surprisingly pleasing and yet completely inevitable happened. AWS added sustainability to the well-architected pillars that define their “key concepts, design principles, and architectural best practices for designing and running workloads in the cloud.” In effect, AWS has just stated that sustainability is central to how everyone needs to think about engineering from now on. It’s about time.
Throughout 2021, we have been predicting a statement like that would be coming from all of the major hypercloud providers. It was the unavoidable result of the commitments AWS, Google Cloud, and Azure made in 2020 to carbon zero hosting by 2030. These promises are great, but they won’t be trivial to deliver on.
It appears that transitioning to systems that must run on top of renewably generated (and therefore variably available) power cannot be achieved by hosting vendors acting alone. It will also require considerable effort by software architects and operations teams within enterprises.
The Coed:Ethics community, working together with CS, have therefore pulled together an open source, vendor-neutral reference paper on the current best practices in sustainable architecture for enterprises. It launches this week.
Drawing on wide expertise, this whitepaper sets out what sustainable architecture looks like. Debating and understanding these new approaches is needed because enterprises must update their systems to handle a world of variably available power. It won’t be easy, but it will help save the planet, reduce hosting costs, and mean companies won’t be blindsided by the next inevitable move by governments worldwide—carbon tax legislation.
Since 2020, it has become increasingly clear to us that the excellent carbon zero vows made by Amazon, Google, and Microsoft can’t be kept without our help. As AWS itself points out, it can handle sustainability of the cloud. However, when it comes to sustainability in the cloud, if it wants to continue to meet contractual SLAs, it is somewhat at the mercy of its customers. For most, that will mean rearchitecting their systems.
Enterprises have several years to act, but they need to start planning their transition now. Hopefully, the whitepaper will point them in the right direction because, in our judgment, every enterprise needs to have a carbon minimization strategy for their technology products and services in place by 2024, for completion by 2030.
A high-level view of the changes that businesses need to adopt is outlined in the paper. The good news is they are mostly just an extension of the other cloud native trends we talk about in this WTF blog: microservices, managed services, serverless and cost optimization. However, enterprises will need to put their foot down and accelerate their progress in these areas.
The paper’s key takeaways are:
Most importantly, measure carbon emissions (or their rough proxy of hosting cost where appropriate) and pick your battles. There is considerable work to do. Don’t waste precious time and resources optimizing software that has little impact.
According to the ex-AWS, green tech evangelist Paul Johnston, “Always on is unsustainable.” That sounds like the final death knell for that legacy monolith you haven’t quite gotten rid of yet.
This is a lot of work, but it’s not all bad news:
Another advantage is that sustainable software is smaller and quicker to write. As Adrian Cockcroft, VP of Sustainable Architecture at AWS, points out, “The biggest win is often changing requirements or SLAs. Reduce retention time for log files. Relax overspecified goals.”
Sometimes overspecified goals are unavoidable, but often they are internally driven rather than in response to genuine external needs. If that is the case then drop them until you know you require them. That’s best practice anyway—it means your products get to market faster, with fewer things to go wrong. Sustainability is a top excuse to cut back on that gold plating.
AWS is the first hypercloud to explicitly spell out that, as tech producers, we have work to do too, but they won’t be the last. We need to get planning.