Skip to main content

How to host services

At MOJ you must use the Cloud Platform to host your service by default, unless you’re advised otherwise by a member of the hosting team. This includes applications that would otherwise sit in your own, or your supplier’s, infrastructure, regardless of who manages it. If you would like to discuss this with the hosting team, please get in touch.

If your team needs to host legacy services, you must use the Modernisation Platform. If you have an existing legacy service, you should plan to migrate it to the Modernisation Platform as soon as you’re able.

Cloud Platform

The Cloud Platform is a modern hosting platform for digital services:

  • It makes it quick and easy to ‘just deploy an app’
  • Teams get the features they need to operate their service, such as easy scalability, zero downtime deploys, security scanning, monitoring, logging, and more, all set up for you by default
  • When you need the full power of AWS or Kubernetes, it’s all available
  • Configuration is all self-service, using Infrastructure as Code with managed CI/CD and GitOps processes
  • The Cloud Platform team manage the hosting and provide support for the platform
  • You can host GOV.UK Prototype Kit sites quickly and easily

Your team can get started on the Cloud Platform without letting anyone know; just follow the Cloud Platform documentation and get in touch with the Cloud Platform team if you need help.

Modernisation Platform

The Modernisation Platform is a cloud-first hosting platform for legacy applications. You can start hosting your applications on the Modernisation Platform by following the Modernisation Platform user guide.

  • It makes it easy to create non-Kubernetes environments for applications
  • It aligns with the MOJ Security Guidance
  • It standardises commonalities across applications, such as: application networking, certificate management, CI/CD processes; with infrastructure as code
  • It supports you modernising your applications

Other hosting infrastructure

You should not use other hosting platforms to host MOJ services, or run your own infrastructure outside of these platforms.

If you currently use other infrastructure to hosting your service, you should move it to the Cloud Platform or the Modernisation Platform. Get in touch with us if you’d like support migrating to one of these platforms.

Hosting static websites or documentation

Static websites are usually fine to be hosted on GitHub Pages, provided they:

We use public cloud hosting by default

We follow the Government Cloud First policy and use public cloud “Platform as a Service” (PaaS) and “Infrastructure as a Service” (IaaS) infrastructure to host our services.

Our choice of platforms:

  • are highly scalable and available to meet the needs of service users
  • have automated tools for MOJ administrators to manage their environments
  • standardise infrastructure across MOJ
  • help reduce cost across MOJ
  • support building capability across the department rather than in silos

We currently use Amazon Web Services (AWS) by default for scalable computing, storage and deployment services, but we may recommend some services are hosted in Microsoft Azure, based on the needs of the service and its relationship to other services already in Azure.

If your service is currently hosted outside of AWS or Azure, get in touch with the Modernisation Platform team to plan for its future hosting.

We pay for hosting centrally by default

By default, we pay for all use of AWS and Azure services across MOJ (excluding HMCTS) centrally.

As part of this, the hosting team will routinely review your use of hosting to ensure you’re using infrastructure appropriately, keeping it secure and up to date, and making the best use of the money you’re spending.

If your service or services cost more than £30,000 per year to host, we may need to cross-charge you for your use. Cross-charging typically only applies to very large services or teams, and we currently only cross-charge two groups.

If we do need to cross-charge you, we will still work with you to ensure you’re using infrastructure appropriately and safely.

This page was last reviewed on 27 September 2024. It needs to be reviewed again on 27 December 2024 by the page owner #operations-engineering-alerts .
This page was set to be reviewed before 27 December 2024 by the page owner #operations-engineering-alerts. This might mean the content is out of date.