Skip to content
CAMPUX Cloud Bootcamp Phase Two · Class Eleven
Phase Two — Core Infrastructure
4 drills · 2 situations · Part F of VI
Compute · Class Eleven
Class Eleven · Part F

The compute decision

Choose compute by the work it must run, the limits it must meet, and the operations your team can support. Then explain the choice in plain language.

Phase Two · Core Infrastructure · Class 11 · Part F · 12 min · Assumes Class 11 Part A, Class 11 Part B, Class 11 Part D and Class 11 Part E

After this you can write a workload's hard requirements, compare the compute services you have met so far, and defend a written choice.

New to this? Read Class 11 Part A, Class 11 Part B, Class 11 Part D and Class 11 Part E first. Already done them, or know the material? Carry on.

§1

Begin with the work, then compare the services

The manager points to the new application and asks, “Can we put it on Kubernetes?” Ada asks what the application actually needs. It is a small supported web app, has no operating-system dependency, and the team has not operated a cluster before. She starts with a managed web platform and records what would change her decision. A defensible choice begins with this one workload and its operators, then compares the services that can meet its requirements.

For each remaining option, compare total cost, available capacity, team skills, deployment and rollback, monitoring, and who patches the operating system. A managed service often removes work your team does not need to own, but it is not automatically cheapest or suitable for every runtime. The decision is the least operational burden among options that meet the measured requirements, at an acceptable cost and risk.

A defensible compute choice
List hard requirements, shortlist services that meet them, then compare cost and operating work. State which requirement ruled out each rejected option and what you will test before release.
§2

Build a shortlist, then test it

Some candidates below (Functions, Container Apps, AKS) are taught later, in Classes 27 and 41. Treat them here as names on a shortlist with known trade-offs. This part asks for a written, reviewable choice, not for skill with services you have not met yet.

Web app or API? Start by checking App Service and, if the app is already containerized, Container Apps. Scheduled or event-driven job? Check Functions and Container Apps jobs; App Service WebJobs may fit an existing App Service estate. A three-hour duration alone does not force a VM: Azure Functions' timeout depends on its hosting plan, while Container Apps supports scheduled jobs. Verify the exact plan, execution behavior, startup time, and price.1

Needs VM-level operating-system control? Compare a VM and a scale set if you need multiple elastic machines. Needs Kubernetes controls? Compare AKS, including the team and cluster operations it requires. Needs a single-tenant App Service platform or physical-host isolation? Compare ASE v3, and choose its separate dedicated-host option only for a documented physical-host requirement. A normal ASE can have public inbound access, so choose the network configuration separately. Do not accept or reject a service by its label alone; test the written requirements against current service limits and total costs.2

Start with a requirement. Keep more than one option until you test the trade-offs.

Fig. 1 · Questions that suggest candidates; compare before deciding
Five workload questions suggest compute candidates; compare limits, costs, and operations before choosing. Short + event-driven? Functions Standard web app or API? App Service Containerised, needs elastic host? Container Apps Need full Kubernetes? AKS Need full OS control? VM / scale set several may fit · test the shortlist
Use each row as a prompt for a candidate, not an automatic answer. A scheduled job might fit Functions, Container Apps jobs, or a VM depending on its runtime and operating needs. Compare the viable choices against the same requirements.
Play

Play it through

Four minutes. Place a legacy batch job whose licensed software requires guest OS access, then choose hosting for a standard storefront. For each, name the requirement behind the choice.

This part is a decision exercise. The individual services have hands-on lessons elsewhere in the course. Here, practice writing requirements and comparing two viable services before provisioning anything.

§3

What each candidate asks of your team

Use this as a first shortlist, then verify current features, limits, pricing, and responsibilities for the exact plan and region. The same workload can have several valid choices. An ASE remains App Service, but single-tenant deployment, internal versus external inbound access, and optional physical dedicated hosts are distinct decisions.

Table 1 — Candidates to check against the workload
CandidateConsider whenYour team still owns
FunctionsEvent-driven code or scheduled work; verify hosting-plan timeout and behaviorCode, configuration, dependencies, monitoring, and retries
App ServiceWeb app or API without guest OS controlApp, configuration, deployment, access, and scale
  ↳ ASE v3Written single-tenant App Service or ASE-specific needApp Service work, environment cost, and chosen network model; dedicated hosts are optional
Container AppsContainerized app or scheduled/event job without managing a clusterImage, app behavior, configuration, scaling rules, and monitoring
AKSKubernetes features and control justify cluster operationsCluster, nodes, workloads, policies, and upgrades
VM / scale setGuest OS or VM-level control is required; use a scale set for a fleetGuest OS, patching, application, backup, and recovery

Two mistakes remain common. One is taking on VM or cluster work without a requirement that needs it. The other is choosing a managed plan without checking its runtime, scale, network, and recovery limits. Neither can be settled by the product name or a single hourly price. Write the requirement and test the candidate that claims to meet it.

§4

Defending the call in the room

In a design review, state the workload first: “This is one stateless web app with no guest OS dependency. App Service meets its tested traffic and network needs. AKS would give Kubernetes control, but we have no requirement for it and would need to operate a cluster.” That is a reasoned recommendation, not a universal ban on AKS.

For a three-hour scheduled job, do not say “Functions cannot run that long” without naming the plan. Check the current timeout and execution constraints for the proposed hosting plan; also consider a Container Apps job if the workload can be containerized. If a licensed component requires guest OS access, that is a concrete reason to compare VMs. The Container Apps versus AKS versus App Service note gives another comparison to examine.

Case File · Campux Retail

Campux's whole estate, placed by the framework

three workloads · three requirements to verify

The storefront is a web app with seasonal demand and no guest OS dependency, so App Service is a candidate after testing its scale and networking. The nightly price import runs for a few minutes on a timer, so a Functions plan is a candidate after checking its timeout and retries. For this exercise, the POS reconciliation uses a licensed Windows component that requires guest OS installation and cannot be repackaged for a managed container service. That stated dependency makes a VM defensible; its three-hour duration alone would not.

A developer proposes AKS for the storefront because it is familiar. Ask what Kubernetes capability the app needs and who will run the cluster. If none is required, compare App Service's cost and operations with AKS before choosing. If the POS software changes later and no longer needs the guest OS, reopen its hosting decision too. A good design can change when its constraints change.

§5

What you carry out of Class Eleven

Class Eleven covered managed web hosting, single-tenant App Service, individual VMs, and VM fleets. Each gives a different amount of platform control and operating work. Your job is to state the workload, rule out products that cannot meet its hard requirements, and compare the remaining options on cost, recovery, and team effort.

Write the decision down: what was required, what you tested, why you chose this service and plan, and what would make you revisit it. Class Twelve applies the same method to storage. You do not need to memorize one answer for every shape of app; you need a repeatable way to reach and defend a sound answer.

On the job

The architecture review where "why not Kubernetes" comes up

You · Cloud Engineer · defending a design to a sceptical panel

You present an App Service design and the senior architect asks why it is not on AKS. Explain the requirements you tested: traffic, network access, recovery, deployment, and OS dependencies. If App Service meets them, ask which specific requirement AKS would meet better and what cluster operations would cost the team. Record the comparison. A different answer may be right if the team's existing platform, skills, or workload constraints change.

Guided practice · Supplied training example

Write a decision another engineer can review

Use the fictional evidence below. This is a desk exercise; it does not provision Azure resources or measure a live service.

Storefront: supported runtime, no custom OS component
Team: two engineers; no cluster operations experience
Need: deploy reviewed code and recover a failed release
  1. Write the hard requirements separately from preferences.

  2. Complete an App Service decision with one rejected alternative.

  3. Name a new requirement that would cause you to revisit that decision.

Check your reasoning after you finish

App Service is a reasonable first candidate here. A VM introduces OS chores with no stated need; AKS adds cluster operations. A proven unsupported runtime, special networking requirement or workload shape can change the choice.

Class Eleven · Part F

Examination

Four drills, then two situations. The situations have no marking scheme — write your answer before you reveal the reasoning, or the exercise is worthless. Nothing is stored.

Drill 01Recall
Which question should guide a compute choice after you have written the workload's requirements?
Marked

C. First rule out options that fail a hard requirement. Then compare the viable options on cost, recovery, and the operating work your team will own. A product's power, popularity, or maximum scale matters only when the workload actually needs it. One workload can have more than one sound answer.

Drill 02Recall
A workload is already containerised, needs to scale elastically (including to zero when idle), and you do not want to operate a Kubernetes cluster. Which rung fits?
Marked

C. Azure Container Apps is the strongest first candidate for the stated containerized workload and desire to avoid cluster operations. Verify the app's scale rule and whether zero replicas are appropriate. A VM scale set returns guest OS work to the team. AKS brings Kubernetes operations the question says the team does not want. ASE v3 is single-tenant App Service; physical dedicated hosts are optional and it is not chosen just because the workload is a container.

Drill 03Select three
Which three facts should materially change the list of compute services you evaluate?
Marked

Guest OS control, a plan-specific timeout, and real Kubernetes needs all affect the shortlist. The timeout rules out that proposed Functions plan; another Functions plan or a Container Apps job may still fit. The two other statements describe image or status preferences, not a workload constraint. Name the exact service feature or limit before eliminating a product.

Drill 04Spot the error
An architecture summary places four Campux workloads. One placement contradicts the framework and will cost chores or fail outright. Which?
COMPUTE PLACEMENTS — Campux
1.  Storefront (web app, seasonal surge) -> App Service Standard.
2.  Nightly price import (~4 min, timer) -> Functions, consumption.
3.  Internal reporting site (dozens of users) -> AKS cluster.
4.  POS reconciliation (licensed guest-OS component) -> right-sized VM.
Marked

Line three. The reporting site has no stated Kubernetes need, yet its team would operate a cluster. Shortlist a simpler web host and test its network, access, scale, and recovery requirements first. The other placements have stated reasons: a web storefront, a short timer job, and a licensed component that needs guest OS access. A three-hour duration alone would not justify line four's VM.

Consider the consequence. The reporting site runs fine on AKS — that is the trap — but the six-person team now operates a cluster, its upgrades, its node pools and its on-call, all to serve an internal page a single App Service app would have hosted for a fraction of the attention. The cost is not an outage; it is a permanent tax on the team's time, justified by nothing the workload actually needed. Catching "this doesn't need that rung" is the entire job the framework trains.

Situation 01Write before you reveal
In a design review, a respected senior engineer says your App Service choice is "not how serious companies do it — everything should be on Kubernetes for consistency." How do you hold your ground without being dismissive?
"Consistency" is a real value. Ask what it is worth here, and to whom the chores fall.
Reasoning

Take consistency seriously. If the company already operates AKS well, using its established deployment and monitoring tools may save work. Ask what that platform provides this app and who handles its upgrades, security, and incidents.

Compare the two real options. List the app's traffic, network, recovery, and release requirements. Check that App Service and the existing AKS platform can meet them. Compare the full cost and the team's operating work, including any new AKS cluster or App Service setup. Do not choose from reputation alone.

State a revisit trigger. If App Service wins, document why and keep common standards for deployment and monitoring. Reconsider AKS when a requirement changes, such as needing orchestration across several services. Class Twenty-Seven examines that platform in detail.

Situation 02Write before you reveal
A manager, worried about a past outage, wants a blanket rule: "From now on, every production workload goes on a VM so we have full control." Walk through how you would respond.
The manager wants safety. Test whether "full control" actually delivers it, or just relocates the risk.
Reasoning

Investigate the outage first. Ask what failed, how it was detected, and how service was restored. A VM rule only helps if guest OS control addresses that cause; it does not automatically prevent a repeat.

Compare responsibilities. A VM gives the team OS and patch control along with the work of patching, backup, monitoring, and recovery. A managed service handles some of that platform work, while the team still owns its application and configuration. Either option can fail if its recovery plan is untested.

Propose a measurable decision. Set a recovery target, test backup and restore, monitor the failure mode, and compare a VM with managed candidates against the workload's requirements. Keep a VM where its control is needed. Document the choice and revisit it after an incident or requirement change.

Examination record · first attempt
0/4
Class 11f · Complete
Retain this much

Five things worth carrying out of Part F

  1. Write the workload's trigger, duration, runtime, network, scale, recovery, and isolation needs before selecting a product.
  2. Shortlist more than one candidate when possible: Functions or Container Apps jobs for scheduled work, App Service for web apps, AKS for Kubernetes needs, VMs for guest OS control.
  3. Check the exact hosting plan's limits. A three-hour job does not automatically require a VM, and ASE's single-tenant platform is distinct from optional physical dedicated hosts.
  4. Compare total cost, startup and recovery behavior, team skills, and ongoing operations among candidates that meet the hard requirements.
  5. Document the chosen service and plan, the alternatives rejected, the evidence, and when the decision should be revisited.
Notes
  1. Microsoft documents plan-specific Azure Functions timeouts, scheduled Container Apps jobs, and App Service WebJobs. Check the current limits and pricing of the exact candidate plan. ↩
  2. Microsoft's ASE overview distinguishes its single-tenant platform from optional dedicated physical hosts. Availability, network controls, team skills, and migration constraints can change a close compute decision, so validate each against the current service documentation. ↩