Search for Well Architected Advice
-
Operational Excellence
-
- Resources have identified owners
- Processes and procedures have identified owners
- Operations activities have identified owners responsible for their performance
- Team members know what they are responsible for
- Mechanisms exist to identify responsibility and ownership
- Mechanisms exist to request additions, changes, and exceptions
- Responsibilities between teams are predefined or negotiated
-
- Executive Sponsorship
- Team members are empowered to take action when outcomes are at risk
- Escalation is encouraged
- Communications are timely, clear, and actionable
- Experimentation is encouraged
- Team members are encouraged to maintain and grow their skill sets
- Resource teams appropriately
- Diverse opinions are encouraged and sought within and across teams
-
- Use version control
- Test and validate changes
- Use configuration management systems
- Use build and deployment management systems
- Perform patch management
- Implement practices to improve code quality
- Share design standards
- Use multiple environments
- Make frequent, small, reversible changes
- Fully automate integration and deployment
-
- Have a process for continuous improvement
- Perform post-incident analysis
- Implement feedback loops
- Perform knowledge management
- Define drivers for improvement
- Validate insights
- Perform operations metrics reviews
- Document and share lessons learned
- Allocate time to make improvements
- Perform post-incident analysis
-
Security
-
- Separate workloads using accounts
- Secure account root user and properties
- Identify and validate control objectives
- Keep up-to-date with security recommendations
- Keep up-to-date with security threats
- Identify and prioritize risks using a threat model
- Automate testing and validation of security controls in pipelines
- Evaluate and implement new security services and features regularly
-
- Define access requirements
- Grant least privilege access
- Define permission guardrails for your organization
- Manage access based on life cycle
- Establish emergency access process
- Share resources securely within your organization
- Reduce permissions continuously
- Share resources securely with a third party
- Analyze public and cross-account access
-
- Perform regular penetration testing
- Deploy software programmatically
- Regularly assess security properties of the pipelines
- Train for Application Security
- Automate testing throughout the development and release lifecycle
- Manual Code Reviews
- Centralize services for packages and dependencies
- Build a program that embeds security ownership in workload teams
-
-
Reliability
-
- Be aware of service quotas and constraints in Cloud Services
- Manage service quotas across accounts and Regions
- Accommodate fixed service quotas and constraints through architecture
- Monitor and manage quotas
- Automate quota management
- Ensure sufficient gap between quotas and usage to accommodate failover
-
- Use highly available network connectivity for your workload public endpoints
- Provision Redundant Connectivity Between Private Networks in the Cloud and On-Premises Environments
- Ensure IP subnet allocation accounts for expansion and availability
- Prefer hub-and-spoke topologies over many-to-many mesh
- Enforce non-overlapping private IP address ranges in all private address spaces where they are connected
-
- Monitor end-to-end tracing of requests through your system
- Conduct reviews regularly
- Analytics
- Automate responses (Real-time processing and alarming)
- Send notifications (Real-time processing and alarming)
- Define and calculate metrics (Aggregation)
- Monitor End-to-End Tracing of Requests Through Your System
- Define and calculate metrics
- Send notifications
- Automate responses
-
- Monitor all components of the workload to detect failures
- Fail over to healthy resources
- Automate healing on all layers
- Rely on the data plane and not the control plane during recovery
- Use static stability to prevent bimodal behavior
- Send notifications when events impact availability
- Architect your product to meet availability targets and uptime service level agreements (SLAs)
-
-
Cost Optimization
-
- Establish ownership of cost optimization
- Establish a partnership between finance and technology
- Establish cloud budgets and forecasts
- Implement cost awareness in your organizational processes
- Monitor cost proactively
- Keep up-to-date with new service releases
- Quantify business value from cost optimization
- Report and notify on cost optimization
- Create a cost-aware culture
-
- Perform cost analysis for different usage over time
- Analyze all components of this workload
- Perform a thorough analysis of each component
- Select components of this workload to optimize cost in line with organization priorities
- Perform cost analysis for different usage over time
- Select software with cost effective licensing
-
-
Performance
-
- Learn about and understand available cloud services and features
- Evaluate how trade-offs impact customers and architecture efficiency
- Use guidance from your cloud provider or an appropriate partner to learn about architecture patterns and best practices
- Factor cost into architectural decisions
- Use policies and reference architectures
- Use benchmarking to drive architectural decisions
- Use a data-driven approach for architectural choices
-
- Use purpose-built data store that best support your data access and storage requirements
- Collect and record data store performance metrics
- Evaluate available configuration options for data store
- Implement Strategies to Improve Query Performance in Data Store
- Implement data access patterns that utilize caching
-
- Understand how networking impacts performance
- Evaluate available networking features
- Choose appropriate dedicated connectivity or VPN for your workload
- Use load balancing to distribute traffic across multiple resources
- Choose network protocols to improve performance
- Choose your workload's location based on network requirements
- Optimize network configuration based on metrics
-
- Establish key performance indicators (KPIs) to measure workload health and performance
- Use monitoring solutions to understand the areas where performance is most critical
- Define a process to improve workload performance
- Review metrics at regular intervals
- Load test your workload
- Use automation to proactively remediate performance-related issues
- Keep your workload and services up-to-date
-
-
Sustainability
-
- Scale workload infrastructure dynamically
- Align SLAs with sustainability goals
- Optimize geographic placement of workloads based on their networking requirements
- Stop the creation and maintenance of unused assets
- Optimize team member resources for activities performed
- Implement buffering or throttling to flatten the demand curve
-
- Optimize software and architecture for asynchronous and scheduled jobs
- Remove or refactor workload components with low or no use
- Optimize areas of code that consume the most time or resources
- Optimize impact on devices and equipment
- Use software patterns and architectures that best support data access and storage patterns
- Remove unneeded or redundant data
- Use technologies that support data access and storage patterns
- Use policies to manage the lifecycle of your datasets
- Use shared file systems or storage to access common data
- Back up data only when difficult to recreate
- Use elasticity and automation to expand block storage or file system
- Minimize data movement across networks
- Implement a data classification policy
- Remove unneeded or redundant data
-
- Articles coming soon
< All Topics
Print
Use managed device farms for testing
PostedDecember 20, 2024
UpdatedMarch 18, 2025
ByKevin McCaffrey
Integrating managed device farms into your testing processes can significantly reduce the environmental impact of your software development lifecycle. By relying on shared resources for device testing, organizations can minimize the need for redundant hardware and associated energy consumption, while ensuring efficient testing across a representative set of devices.
Best Practices
Optimize Testing Processes with Managed Device Farms
- Leverage managed device farms to conduct testing across a diverse range of devices and configurations without the need for extensive physical hardware.
- Choose device farms that offer a variety of device types, OS versions, and screen sizes to ensure comprehensive testing while minimizing resource consumption.
- Integrate automated testing frameworks with your device farm to reduce manual testing efforts, improving efficiency and reducing the carbon footprint associated with testing processes.
- Schedule testing to run during off-peak hours to take advantage of lower energy consumption rates where possible, aligning your tests with green energy availability.
- Continuously monitor and analyze usage patterns of the device farms to identify underutilized resources and optimize them for better sustainability results.
Questions to ask your team
- What criteria do you use to select managed device farms for testing?
- How do you monitor the environmental impact of your testing practices?
- Can you describe the process for integrating managed device farms into your development workflow?
- What metrics do you track to evaluate the sustainability benefits of using managed device farms?
- Have you conducted any assessments on the efficiency of your testing using managed device farms compared to other methods?
- How do you ensure that the managed device farms you use are aligned with your sustainability goals?
Who should be doing this?
Development Team Lead
- Identify testing needs and coordinate the use of managed device farms.
- Oversee the development and integration of features in alignment with sustainability goals.
- Ensure that testing practices prioritize efficiency and minimize resource usage.
Quality Assurance Engineer
- Utilize managed device farms for effective testing of new features.
- Evaluate the environmental impact of testing activities and advocate for best practices.
- Report on testing outcomes and suggest improvements for sustainable testing processes.
DevOps Engineer
- Implement automated testing pipelines that leverage managed device farms.
- Monitor resource usage and optimize test environments to reduce sustainability impact.
- Collaborate with development and QA teams to streamline deployment processes while reflecting sustainability objectives.
Sustainability Officer
- Define and promote sustainability best practices across development and testing workflows.
- Evaluate the environmental impact of organizational processes and recommend changes.
- Educate teams on the importance of using managed device farms for resource-efficient testing.
What evidence shows this is happening in your organization?
- Sustainability Testing Guide: A comprehensive guide outlining best practices for utilizing managed device farms for testing, emphasizing the reduction of environmental impact through efficient resource use.
- Device Farm Usage Policy: A policy document establishing guidelines for employing managed device farms in the development process to ensure adherence to sustainability goals while maintaining high-quality testing standards.
- Sustainability Impact Assessment Matrix: A matrix tool to evaluate the environmental impact of various testing methodologies, providing a clear comparison of traditional testing versus managed device farm usage.
- Deployment Strategy Playbook: A playbook detailing strategies for integrating managed device farms into deployment workflows, highlighting sustainability benefits and cost-effectiveness.
- Sustainability Dashboard: An interactive dashboard that tracks the environmental metrics related to testing processes, showcasing the impact of using managed device farms over traditional solutions.
Cloud Services
AWS
- AWS Device Farm: AWS Device Farm provides a managed service to test applications on real mobile devices, reducing the need for physical device ownership and thereby lowering carbon emissions associated with manufacturing and maintaining hardware.
Azure
- Azure DevTest Labs: Azure DevTest Labs allows users to quickly create environments for testing and development, making it easier to utilize virtual machines without the need for physical hardware, promoting a more sustainable development process.
Google Cloud Platform
- Firebase Test Lab: Firebase Test Lab is a cloud-based app-testing infrastructure that allows developers to test their apps across a wide range of devices, reducing the environmental impact associated with maintaining multiple physical devices.
Question: How do your organizational processes support your sustainability goals?
Pillar: Sustainability (Code: SUS)
Table of Contents