I know GDS uses Cloud Foundry a lot (as do the US and Korean governments). How much of gov.uk is deployed on CF?
I worked on building out a kubernetes platform for a large Government Department. Once a service passes the initial assessment, they can get assigned control of the sub domain and point it at their own hosting.
(Source: have worked at GDS for the past couple of years.)
GOV.UK aren't quite yet entirely on AWS but are working toward that end. With GOV.UK, all the code is in the open where possible (https://github.com/alphagov/govuk-aws and https://github.com/alphagov/govuk-puppet respectively for the infrastructure).
Source: I used to work at GDS.