4.6 Automate To Fit the Needs
Any tasks, especially repetitive, that can be automated should be automated (compilation, deployment, tests, etc.) to reduce time at the computer being wasted by people.
Criteria
- Automate Tasks: Every recurring task, such as deployment, testing, or compilation, is run automatically, as recommended by continuous integration / continuous delivery best practices.
- Necessitate Tasks: To reduce wasted processing cycles, every automated task is only run when needed.
- Automated Scaling: Automated scaling infrastructure is used to automatically increase the capacity of the web server and buffering / throttling is implemented to respond to visitor demand.
- Security Tooling: Web browsing from bots has been steadily increasing in recent years. As such, it is a growing concern for security, performance, and sustainability. Use security tools that automatically block bad actors and minimize bad behavior. This results in substantially less load on the server, fewer logs, less data, less effect due to compromise, and more. The result of compromised websites is a large increase in HTTP, email, and other traffic as malicious code attempts to infiltrate other resources and exfiltrate data. Compromised websites are typically identified by anomalous patterned behavior.
Impact
High
Effort
Medium
Benefits
- Environmental:
These practices can reduce the resources necessary to execute tasks, which can also result in reduced emissions. - Operations:
When coupled with upskilling and cross-training, automation can also improve team performance and operational efficiency. - Economic:
Automation can help reduce organizational costs.
GRI
- materials: Low
- energy: Low
- water: Low
- emissions: Low
Example
- Cleaning up bad bots can improve sustainability.
Resources
- 2020 Best Practice Guidelines for the EU Code of Conduct on Data Centre Energy Efficiency (PDF)
- AWS WAF: SEC11-BP02 – Automate testing throughout the development and release lifecycle
- AWS WAF: SEC05-BP03 – Automate network protection
- AWS WAF: SEC11-BP06 – Deploy software programmatically
- AWS WAF: SUS02-BP01 – Scale workload infrastructure dynamically
- AWS WAF: SUS02-BP03 – Stop the creation and maintenance of unused assets
- AWS WAF: SUS02-BP06 – Implement buffering or throttling to flatten the demand curve
- AWS WAF: SUS03-BP01 – Optimize software and architecture for asynchronous and scheduled jobs
- Bot traffic: What it is and why you should care about it
- Code of Conduct on Data Centre Energy Efficiency (PDF)
- Distribution of bot and human web traffic worldwide from 2014 to 2021
- [GPFEDS] 3.2 – Architecture (Resource Tailoring) (PDF)
- [GPFEDS] 6.1 – Front-End (Download Limits) (PDF)
- [GPFEDS] 8.10 – Hosting (Asynchronous Requests) (PDF)
- [GR491] 3-8028 – Memory Usage
- [GR491] 3-8029 – CPU Usage
- [GR491] 3-8031 – Unused CPU Cores
- [GR491] 3-8036 – Provisioning and Deprovisionning
- How AI and automation make data centers greener and more sustainable
- How and Why To Prevent Bots From Crawling Your Site
- How Crawl Optimization Improves Website Sustainability
- How Green is Your Data Center?
- How to Eliminate Bots From Your Website
- Load shifting of computing can lower emissions and soak up surplus renewables. Except when it doesn’t
- Microsoft Azure WAF: Sustainable workloads
- Microsoft Azure WAF: Security considerations