跳到主要内容
英国伦敦 · 创立于 1994 年
中文

Unit 5: Cost, Governance and Migration

How cloud pricing works, how organisations keep spending and risk under control through FinOps and governance, and how to plan a sensible move to the cloud.

Unit 5 of 5 · about 54 minutes

5.1 How cloud pricing works

The cloud's pay-as-you-go model is one of its greatest strengths and one of its greatest risks. Organisations pay only for what they use, but they also pay for everything they use, including resources that were forgotten, oversized or left running at weekends. Understanding the main pricing models is the first step to controlling cost.

What you pay for

Although each provider's price lists are long and detailed, most charges fall into a few categories:

  • Compute: virtual machines, containers and functions, usually charged per second or hour of running time, or per request and execution time for serverless.
  • Storage: charged per gigabyte per month, varying by storage type and tier, plus charges for some operations and retrievals.
  • Data transfer: data leaving the cloud to the internet (egress), and sometimes data moving between zones or regions.
  • Managed services: databases, analytics, AI services and others, each with its own pricing units.
  • Support and licences: support plans, and software licences such as for some operating systems and databases.

Main pricing models for compute

ModelHow it worksBest for
On-demandPay for capacity by the second or hour, with no commitment.Unpredictable or short-term workloads, testing, new projects.
Commitment discountsCommit to a level of usage or spending for one or three years in exchange for a significant discount; names include reserved instances and savings plans.Steady workloads that will clearly run for the long term.
Spot or pre-emptible capacityUse spare provider capacity at a deep discount, but it can be reclaimed at short notice.Work that can be interrupted and restarted, such as batch processing or some testing.

A common approach is to cover the stable, predictable "base" of usage with commitment discounts, use on-demand for variable demand above that base, and use spot capacity where interruption is acceptable. Committing too much, however, means paying for capacity that is not used, so commitments should follow evidence of steady usage.

Hidden and surprising costs

  1. Idle resources: development servers running overnight and at weekends, or test databases left behind after a project ends.
  2. Orphaned resources: storage disks, snapshots and network addresses that remain after the servers using them are deleted.
  3. Data egress: large downloads, video streaming or replication to other providers can produce unexpectedly high transfer charges.
  4. Over-provisioning: instances and databases sized for peak demand that rarely occurs.
  5. Logging and monitoring: very detailed logs kept indefinitely can become a noticeable cost.
  6. Runaway automation: autoscaling without limits, or a faulty function stuck in a loop.

Remember: Moving to the cloud does not automatically reduce costs. Savings come from matching resources to real demand, switching off what is not needed and choosing the right pricing models.

Total cost of ownership

When comparing cloud with on-premises options, a fair comparison looks at total cost of ownership (TCO), not just the monthly cloud bill against the price of a server. On-premises costs include hardware, replacement every few years, data centre space, power and cooling, software licences, maintenance contracts, backup systems and the staff time to run them all. Cloud costs include usage charges, support, migration effort, training and the staff time to manage cloud services well. The answer varies: steady, predictable workloads can sometimes be cheaper on-premises, while variable or fast-growing workloads often favour the cloud.

Estimating costs

All major providers publish online pricing calculators. A useful estimate lists every component of a design, such as instances, storage, databases, data transfer and support, and states assumptions about usage clearly. Estimates should be compared with actual bills after the first month and revised. Large differences are worth investigating, because they often reveal a design assumption that was wrong.

In practice

If you are asked to approve a cloud budget, look for four things. Is there a clear estimate with stated assumptions? Is there a plan to switch off non-production systems when not in use? Has the team considered commitment discounts for steady workloads, and only for those? And is there a budget alert that will warn someone if spending rises above an agreed level? These simple checks prevent many of the bill shocks that organisations experience in their first year in the cloud.

5.2 FinOps and cloud governance

Because anyone with the right permissions can create cloud resources in minutes, spending and risk can spread across an organisation very quickly. Governance provides the rules, roles and tools that keep cloud use aligned with the organisation's goals. FinOps, short for cloud financial operations, is the part of governance focused on cost.

What FinOps is

FinOps is a practice that brings together finance, technology and business teams to manage cloud spending collaboratively. It is promoted by an industry body, the FinOps Foundation, which describes the practice as moving through three repeating phases:

  1. Inform: make costs visible and understandable, so each team can see what it spends and why.
  2. Optimise: reduce waste and improve value, for example by right-sizing, scheduling and using commitment discounts.
  3. Operate: build cost awareness into everyday decisions, with agreed goals, policies and regular reviews.

A central idea is that engineers, who make many of the decisions that create cost, should see the financial effect of those decisions, while finance teams should understand the technical reasons behind spending.

Making costs visible

The foundation of cost management is being able to answer the question "who is spending what, on what?" Key tools include:

  • Account structure: separating accounts or subscriptions by team, product or environment.
  • Tagging: labelling each resource with agreed information, such as owner, cost centre, project and environment.
  • Showback and chargeback: reporting costs to each team (showback) or actually charging them to team budgets (chargeback).
  • Budgets and alerts: setting expected spending levels and notifying owners when forecasts or actual costs exceed them.
  • Unit economics: relating cost to business value, such as cloud cost per customer order or per active user, which shows whether growing spend reflects growing business.

Tip: Agree a small set of mandatory tags, such as owner, cost centre and environment, and enforce them automatically. Untagged resources are hard to attribute and are often the ones nobody is managing.

Optimisation actions

  • Right-size instances and databases using measured usage.
  • Schedule non-production environments to stop outside working hours.
  • Delete orphaned disks, snapshots and unused resources.
  • Apply storage lifecycle rules to move older data to cheaper tiers.
  • Use commitment discounts for steady usage and spot capacity for interruptible work.
  • Review architecture choices, for example whether a serverless or managed service would be more efficient.
  • Reduce unnecessary data transfer, for example by keeping processing in the same region as the data it uses.

Wider cloud governance

Cost is only one aspect. A cloud governance framework typically also covers:

  1. Policies: which providers, regions and services are approved, and what security baselines apply.
  2. Roles and responsibilities: who owns each account, who can approve new services, and who responds to incidents.
  3. Guardrails: automated controls that prevent policy breaches, such as blocking unapproved regions.
  4. A landing zone: a pre-configured, secure starting environment with standard accounts, networking, logging and identity settings, into which new workloads are placed.
  5. Risk and compliance: regular checks against legal, contractual and internal requirements.
  6. Supplier management: contract terms, exit plans and monitoring of provider performance.

Some organisations set up a cloud centre of excellence, a small cross-functional team that develops standards, shares good practice and supports other teams, rather than acting as a gatekeeper for every decision.

Sustainability

Cloud governance increasingly includes environmental impact. Many providers offer tools that estimate the carbon emissions associated with a customer's usage. The most effective actions often overlap with cost savings: removing idle resources, right-sizing and choosing efficient services.

Common mistakes

  1. Treating cost as only finance's problem, so engineers never see the effect of their choices.
  2. Creating governance so heavy that teams bypass it with unofficial accounts.
  3. Optimising once and then never reviewing again.
  4. Focusing only on reducing the total bill, rather than on the value each pound of cloud spending delivers to the business.

In practice

A practical starting point for any organisation is a monthly cost review lasting less than an hour. Each team looks at its spending trend, its largest cost items, any untagged resources and one or two optimisation actions to take before the next review. Over time, this habit does more to control cloud costs than any single large cost-cutting exercise.

5.3 Planning a cloud migration

Moving existing systems to the cloud is called migration. Done well, it can improve resilience, flexibility and the speed at which new services are delivered. Done hastily, it can simply move old problems to a new, more expensive location. This lesson outlines a practical, phased approach.

Start with why

A migration should begin with clear goals, such as closing an ageing data centre before its lease ends, improving disaster recovery, supporting growth or enabling new digital services. Goals guide every later decision and provide a basis for measuring success.

Discover and assess

Next, build an inventory of applications, servers, databases and the dependencies between them. Many migrations run into trouble because an application quietly depends on another system, a shared file location or a scheduled task that nobody documented. For each application, record its business owner, importance, data sensitivity, technical condition and licensing terms.

The migration strategies

Each application can be handled in one of several ways, often summarised as the "Rs" of migration:

  • Rehost ("lift and shift"): move the application to cloud virtual machines with little or no change. It is the fastest approach but brings fewer cloud benefits.
  • Replatform ("lift and reshape"): make modest changes to gain benefits, such as moving the database to a managed service.
  • Refactor or re-architect: redesign the application to use cloud-native approaches such as containers and serverless. It offers the most benefit but needs the most time and skill.
  • Repurchase: replace the application with a SaaS product.
  • Retain: keep it where it is for now, perhaps because of regulation, recent investment or complexity.
  • Retire: switch it off because it is no longer needed. Assessments commonly uncover applications that can simply be retired.
  • Relocate: move an entire virtualised environment to a cloud-hosted version of the same platform with minimal change.

Tip: Rehosting first and optimising later is a legitimate strategy, especially under time pressure, but only if the optimisation step is genuinely planned and funded. Otherwise "later" may never come, and costs stay high.

Plan in waves

Rather than moving everything at once, migrations are usually organised in waves. Early waves include low-risk, simpler applications that let the team build skills, refine processes and demonstrate value. Critical and complex systems follow once the approach is proven. Applications that depend closely on each other are generally moved in the same wave.

Before the first wave, the organisation should prepare its foundations: the landing zone, identity integration, network connections, security baselines, cost tagging and monitoring described earlier in this course.

Migrate, test and cut over

For each application, a typical sequence is:

  1. Build the target environment and copy or replicate the data.
  2. Test functionality, performance, security and backup and restore.
  3. Agree a cut-over plan with business owners, including timing, communication and a rollback plan if something goes wrong.
  4. Switch users to the new environment and monitor closely.
  5. Decommission the old environment once the new one is stable, so the organisation does not pay twice.

People and skills

Migration is as much about people as technology. Operations staff need new skills, such as infrastructure as code and cloud security. Finance teams need to adjust to variable spending. Service desks need updated procedures. Clear communication with users about what will change, and when, reduces disruption and anxiety. Involving experienced staff early also helps, because they often know about undocumented dependencies and workarounds.

Common mistakes

  1. Skipping discovery and being surprised by hidden dependencies.
  2. Migrating everything as-is without right-sizing, leading to higher costs than before.
  3. Forgetting software licensing terms, which may restrict use in the cloud.
  4. Leaving old servers running for months after cut-over.
  5. Underestimating the time needed to transfer large volumes of data.

In practice

For any proposed migration, a one-page plan for each application is a valuable discipline. It should state the business owner, the chosen strategy and why, the dependencies, the target design, the test approach, the cut-over date and rollback plan, the expected monthly cost and the date the old system will be switched off. Reviewing these pages together quickly shows whether the overall programme is realistic.

Case study: A phased migration at a regional housing association

Brookvale Homes, a fictional housing association, had to leave its small data centre within eighteen months because the building was being redeveloped. The IT manager began with a discovery exercise covering forty-two applications.

The assessment produced a clear picture. Seven applications were no longer used and were retired. The email server and the old intranet were replaced with SaaS products. The housing management system, which the supplier supported in the cloud, was replatformed onto virtual machines with a managed database. A legacy rent-arrears tool, due to be replaced within two years, was simply rehosted.

The team built a landing zone with standard accounts, single sign-on, logging and mandatory tags, then migrated in four waves, starting with low-risk internal tools. Each wave included restore tests and an agreed rollback plan. After cut-over, the team right-sized instances based on two months of usage data and bought commitment discounts for the steady database workload. Monthly cost reviews became a standing agenda item, and the old data centre was vacated two months ahead of schedule.

Activity

Choose three applications or systems from your organisation, or from an organisation you know well. For each one, select a migration strategy (rehost, replatform, refactor, repurchase, retain, retire or relocate) and justify your choice in one or two sentences. Then suggest which should move first and explain why.

Compare with a model answer

A good answer chooses varied, realistic systems and matches strategies to their circumstances. For example, an ageing on-premises email server might be repurchased as a SaaS product because good alternatives exist; a customer-facing web application that changes often might be replatformed onto managed services, or refactored if the team has the skills; and an old reporting tool used by two people might be retired once its reports are recreated elsewhere.

The answer explains its reasoning in terms of business value, risk, cost and effort. For sequencing, it typically proposes starting with the lowest-risk, least-dependent system to build skills and confidence, while noting any deadlines, such as an expiring support contract, that could change the order.

Key takeaways

  • Cloud costs mainly come from compute, storage, data transfer and managed services, and on-demand, commitment and spot pricing suit different workloads.
  • Idle, orphaned and oversized resources and unexpected data egress are common sources of avoidable spending.
  • FinOps brings finance, technology and business teams together to make costs visible, optimise them and build cost awareness into everyday decisions.
  • Cloud governance combines policies, clear roles, automated guardrails and a secure landing zone to keep cloud use safe and aligned with organisational goals.
  • Successful migrations start with clear goals and discovery, choose a strategy for each application, proceed in waves and decommission old systems promptly.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 4
WhatsApp