Private beta, by invitation. It may change without warning. While the beta lasts, some paid features are free. See pricing

trumlyspec GitHub
Try trumly

← Packs

hosting

VerifiedEnrichment0.3.1

Use when: When you need to say which provider and products realise your design, and where things sit, such as the operations database on RDS in a private zone in London.

Who provides the infrastructure and which of their products realise your design: cloud providers and cloud services, attached to environments, datastores, queues and components with details. Say that the operations database runs on RDS in AWS without changing the design underneath. Also where things sit: the regions the system runs in, the network zones within them, and the rule that a datastore never lives in a public zone.

Add it

Open it in trumly cloud to start a project with this pack already in. In an existing project, open the editor's Packs tab, choose hosting, then Add. Nodes you change after adding are kept when the pack is upgraded.

From a known source. Reviewed by us, and the publisher is known.

Explore is a read-only demo in your browser: nothing to sign in to, and nothing is saved.

Namespace
hst--
Size
18 nodes
Needs
core@^1.0.0
Works with
data-model@^0.6.0, containers@^0.1.0, kubernetes@^0.2.0
Enriches
environment, datastore, queue, component
Publisher
trumly
Versions
0.3.1·0.3.0·0.2.0·0.1.0
Checksum
8b9e3008d92c1707…

Examples 1

  • The ops API on AWSA starting point

    The operations database on RDS and the services on Fargate, both in an AWS account that hosts production, attached to the design with details. The parts and the database sit in a private zone in London.

    34 nodes27 typesneeds core

    Show the 34 nodes
    • Jobs listedacceptance-criterionacceptance-criterion-jobs-listed
    • Ops staffactoractor-ops-staff
    • Job volume stays modestassumptionassumption-job-volume
    • View job statuscapabilitycapability-view-job-status
    • AWScloud-providercloud-provider-aws
    • Home servercloud-providercloud-provider-home-server
    • ECS Fargatecloud-servicecloud-service-fargate
    • Virtual machinecloud-servicecloud-service-home-vm
    • RDS for PostgreSQLcloud-servicecloud-service-rds
    • Ops APIcomponentcomponent-ops-api
    • Jobconceptconcept-job
    • Vertical scalingconsequenceconsequence-one-engine
    • Data stays in UK/EUconstraintconstraint-uk-eu-data
    • Short titlesconventionconvention-short-titles
    • Ops dbdatastoredatastore-ops-db
    • Managed document storedecision-optiondecision-option-document-store
    • Managed PostgreSQLdecision-optiondecision-option-managed-postgres
    • Database choicedecisiondecision-use-postgres
    • Home labenvironmentenvironment-lab
    • Productionenvironmentenvironment-production
    • Timely ops visibilitygoalgoal-timely-visibility
    • Live job statusincrementincrement-live-status
    • Ops APIinterfaceinterface-ops-api
    • Job status agemetricmetric-status-freshness
    • Ops APIoverviewoverview
    • Prefer managed servicesprincipleprinciple-prefer-managed
    • Home labregionregion-home-lab
    • Londonregionregion-london
    • List jobsrequirementrequirement-list-jobs
    • Job volume growthriskrisk-job-volume-growth
    • Devteamteam-dev
    • Platformteamteam-platform
    • Build status APIwork-packagework-package-build-status-api
    • Private zonenetwork-zonezone-private

Patterns 1

Small fragments you lift into a project of your own. In the editor or through an agent, insert one under its root node.

  • Naming – AWSName AWS resources after what they do in the design: workload, environment code, region code and what the resource is for (ops-prd-euw2-db), calculated onto every cloud service of kind database, compute or queue. Set a short-name on your component or datastore, a code on the environment and a short code on the region.Hangs from a name-db.

Planes 2

  • Hosting
  • Topology

Types 4

  • cloud-providerUse for the company or platform that provides the infrastructure: a public cloud, a private data centre or a SaaS vendor. Link it to the environment it hosts with details.
  • cloud-serviceUse for one product from a provider that realises part of the design: a managed database, a container platform, a queue or an object store. Link it to the design node it realises with details.
  • network-zoneA part of the network with one level of exposure.
  • regionUse for a geographic location the system runs in, such as London or Virginia. The company that provides it is a cloud provider in the hosting pack.

Link types 3

  • connects-tonetwork-zone → network-zoneTraffic may flow from this zone to that one.
  • in-regionnetwork-zone, environment, cloud-service → regionA zone, environment or cloud service lies in this region.
  • placed-incomponent, datastore, queue → network-zoneSits in this zone.

Rules 9

  • WarningEvery component is placed in a zone
  • WarningEvery cloud provider hosts at least one service
  • WarningEvery cloud service details a design node
  • WarningA cloud service's name is at most 63 characters
  • WarningEvery cloud service runs in exactly one provider
  • WarningEvery cloud service says which region it runs in
  • ErrorA datastore is never in a public zone
  • WarningEvery datastore is placed in a zone
  • WarningEvery network zone is in a region