TExcelTAD
Home › AWS Cloud › Cloud Deployment Models

Cloud Deployment Models

The service model (IaaS/PaaS/SaaS) tells you what you rent. The deployment model tells you where the resources run and who can use them.

Model Where it runs Typical reason
Public cloud (cloud-native) Entirely on a provider such as AWS Start-ups, new applications, global reach
Private cloud (on-premises) Your own data centre, with cloud-like self-service (e.g. VMware, OpenStack) Strict regulation, existing investment
Hybrid cloud Some systems on-premises, some in the public cloud, connected Gradual migration, data that must stay local
Multi-cloud Several public providers at once Avoiding lock-in, best-of-breed services, acquisitions

How AWS connects hybrid setups

A hybrid cloud only works if the two sides can talk privately and quickly:

  • AWS Site-to-Site VPN: an encrypted tunnel over the internet between your router and a VPC.
  • AWS Direct Connect: a dedicated private fibre link from your data centre to AWS.
  • AWS Outposts: AWS-managed racks installed in your data centre, running AWS services locally.
  • AWS Storage Gateway: lets on-premises servers use S3-backed storage as a file share or disk.

Model: choosing a deployment model

Decisions like this are usually a mix of hard constraints and preferences. This model applies the hard constraints first:

python · try it yourself
def deployment_model(workload):
    if workload.get("data_must_stay_on_site") and workload.get("needs_cloud_services"):
        return "hybrid (keep regulated data local, burst into AWS)"
    if workload.get("data_must_stay_on_site"):
        return "private cloud / on-premises"
    if workload.get("uses_two_providers"):
        return "multi-cloud"
    return "public cloud"

workloads = [
    {"name": "mobile game backend", "needs_cloud_services": True},
    {"name": "hospital records", "data_must_stay_on_site": True},
    {"name": "bank analytics", "data_must_stay_on_site": True, "needs_cloud_services": True},
    {"name": "merged company apps", "uses_two_providers": True},
]
for w in workloads:
    print(f"{w['name']:<20} -> {deployment_model(w)}")
mobile game backend  -> public cloud
hospital records     -> private cloud / on-premises
bank analytics       -> hybrid (keep regulated data local, burst into AWS)
merged company apps  -> multi-cloud

Model: latency between sites

In a hybrid setup the network link matters. A request that crosses from on-premises to the cloud several times adds the round-trip time each time. Compare a VPN over the internet with a Direct Connect link (both values are examples; measure your own):

python · try it yourself
links = {"site-to-site VPN": 28.0, "Direct Connect": 9.0}   # round-trip ms, example values
app_work_ms = 40                                             # time spent in the application itself

for crossings in (1, 3, 10):
    row = [f"{crossings:>2} crossings:"]
    for name, rtt in links.items():
        total = app_work_ms + crossings * rtt
        row.append(f"{name} {total:6.1f} ms")
    print("  ".join(row))
 1 crossings:  site-to-site VPN   68.0 ms  Direct Connect   49.0 ms
 3 crossings:  site-to-site VPN  124.0 ms  Direct Connect   67.0 ms
10 crossings:  site-to-site VPN  320.0 ms  Direct Connect  130.0 ms

A "chatty" application that makes ten calls across the link per page view suffers much more than one that makes a single call. When you split an application between on-premises and the cloud, keep the components that talk a lot on the same side.

Common mistakes

  • Calling any virtualised data centre a "private cloud". Without self-service, elasticity and metering it is just virtualisation.
  • Going multi-cloud "for resilience" without the staff to run two platforms well. It doubles the skills you need; most teams get more resilience from using several Availability Zones (next lesson) on one provider.

Test yourself

A company keeps patient data in its own data centre but runs analytics on AWS. Which model is this?

  1. Public cloud
  2. Private cloud
  3. Hybrid cloud
  4. SaaS

Which AWS service provides a dedicated private network connection from your data centre to AWS?

  1. AWS Outposts
  2. AWS Direct Connect
  3. Amazon CloudFront
  4. AWS Snowball

What does AWS Outposts do?

  1. Moves data with a physical device
  2. Runs AWS-managed racks inside your own data centre
  3. Caches websites at the edge
  4. Monitors costs