Requirements-driven service selection
How do you choose a cloud service?
A good selection begins with a workload and a list of requirements, not a preferred vendor. First exclude options that cannot satisfy mandatory constraints. Then compare the remaining options using cost, operations, performance, support and portability. Record the assumptions so another engineer can repeat the decision.
For example, the bookstore must keep order data in an approved location, use private database access and support a specific runtime. An offering that lacks any mandatory capability is not eligible even if it is inexpensive.
Separate mandatory requirements from preferences
A mandatory requirement is a condition the design must satisfy. A preference is desirable but can be traded against other benefits. Write measurable acceptance criteria where possible.
| Requirement | Type | Evidence to collect |
|---|---|---|
| Data remains in approved locations | Mandatory | Data, backup and log location documentation and review |
| Application runtime is supported | Mandatory | Exact version and lifecycle information |
| Private database access is supported | Mandatory | Network/identity architecture and later connectivity tests |
| Estimated monthly cost at most 180 units | Mandatory in this exercise | Cost model under stated usage |
| Easy operations | Preference | Team skills and patching duties |
| Portability | Preference | Data export, APIs, artifact formats and migration test |
A location requirement can involve backups, metadata or support access as well as primary data. A real residency decision needs qualified review. Unknown mandatory evidence is a reason to pause selection, not a passing grade. A low price is not a substitute for security.
Estimate comparable monthly costs
Use the same workload assumptions for every candidate. A low VM price is not the whole cost of running an application. Include compute, database, storage, network transfer, monitoring, support and engineering effort where relevant. Include costs from retained resources and future migration separately. Do not double-count a fee already included in a service plan.
Fictional monthly cost estimates in generic budget units (not real vendor prices):
| Candidate | Compute | Database | Storage | Transfer | Ops effort | Total |
|---|---|---|---|---|---|---|
| A: VM-based | 35 | 30 | 10 | 15 | 80 | 170 |
| B: Managed app | 60 | 30 | 10 | 10 | 25 | 135 |
| C: Limited hosting | 25 | 30 | 10 | 5 | 15 | 85 |
For B: 60 + 30 + 10 + 10 + 25 = 135 units. Operations effort is an internal cost estimate, not a provider charge. Assume monitoring/support are included or zero for this toy case; in practice check them explicitly. A budget estimate is not an invoice or a hard spending cap. Candidate C fails private database access; it cannot win this comparison even though it has the lowest cost.
Score the feasible candidates
Suppose A and B have documented evidence for every mandatory requirement. Both are below the fictional budget of 180. Compare preferences using scores from 1 (poor fit) to 5 (strong fit). Choose weights before scoring: cost 3, operations 4, portability 2, support 1. In this example the scores are judgments derived from fictional team needs; they are not benchmark results.
| Candidate | Cost (3) | Operations (4) | Portability (2) | Support (1) | Weighted total |
|---|---|---|---|---|---|
| A | 3 | 2 | 5 | 4 | 31 |
| B | 4 | 5 | 3 | 4 | 42 |
A = 3×3 + 2×4 + 5×2 + 4×1 = 31. B = 4×3 + 5×4 + 3×2 + 4×1 = 42. B wins under these assumptions. The maximum possible score is 50. To make scores reproducible, describe what each rating means; for example, operations 5 might mean the team can operate the service with its existing staffing and skills, while 2 means substantial additional work. Do not pretend these scores are precise measurements.
If portability becomes much more important, weights may change. With cost 3, operations 1, portability 8 and support 1, A scores 55 and B scores 45. A now wins. This sensitivity check shows that a recommendation depends on priorities. A tie requires further evidence or an explicit tie-breaking rule; do not silently select the first row.
Verify the shortlist before adopting it
Check real regional availability, permissions, support response terms, compatibility, quotas, pricing, upgrade policy and service-level commitments. A contractual service-level agreement (SLA) is not a guarantee of application uptime. Design and test recovery separately. A common application interface or container image can reduce migration work, but data formats, access policy, managed database features and observability may still differ.
Record the decision, rejected options and trade-offs in a short architecture decision record (ADR). Example: choose B for the fictional bookstore because it meets constraints and lowers operations effort. Risk: provider-specific configuration may increase migration cost. Before real adoption, test the supported runtime and data export in an approved environment, then estimate transfer and recovery costs. Revisit the decision if workload or support conditions change.
Practice: decide using evidence, not brand loyalty
A team has the same three options but discovers B's approved-region evidence is missing. Remove B from the feasible set until verified. A remains eligible, and C still fails private access. If the budget also drops to 150, A fails the budget and there is no eligible candidate. The correct outcome is to gather evidence, negotiate a legitimate requirement change, or find another offering; do not choose a failing option.
Common mistakes: using a weighted score to override a mandatory constraint; scoring a missing feature as average; comparing advertised compute prices without matching workload assumptions; assuming a portable container makes an entire architecture portable. Keep evidence and unknowns explicit. The next chapter introduces the account, identity and resource organization concepts needed to implement a chosen architecture safely.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Requirements-driven service selection — knowledge check
Choose the best answer for each offline scenario.
A cheap offering fails mandatory private database access. What should happen?
Compute costs 60, database 30, storage 10, transfer 10 and operations 25. What is the modeled total?
Weights are 3 and 4; ratings are 4 and 5. What is the weighted total?
Two feasible options tie on their weighted score. What should you do?
What does changing preference weights reveal?