Leave Rackspace Spot with new credentials and your data

Leaving Rackspace Spot? Rescue and secure first, then decide where you want to go

Contributors

The CIQ Team

If you've been running workloads on Rackspace Spot, the past week has probably been a scramble. Spot made Kubernetes cheap and easy to get at, so it was a natural home for CI runners, test environments, and short-lived jobs that didn't need much ceremony. Now it's going away on short notice, with some security cleanup attached.

This post is meant to help you work through that without rushing into a decision you'll have to undo later: what to take care of first, and how to think about where to go next.

Rackspace has said Spot shuts down on December 8 at 1700 Central. Anything still running then is terminated, and access to your data ends with it (The Register). That's a short runway, but it's enough if you take things in the right order.

It helps to split the work in two. First, rescue and secure what you have. Those steps are the same wherever you end up, and they're the ones you can't do after the deadline. Then, with that done, decide where you want to go next.

Rescue and secure what you have

Rotate the credentials your clusters could read

Rackspace is closing Spot after attackers used a compromised credential to get in, created pods in customer clusters, and accessed Kubernetes Secrets, nodes, and storage volumes. Rackspace has revoked tokens and rotated its own platform keys. The credentials stored inside your clusters are yours to rotate.

The safest assumption is that every value in your Secrets was read. It's worth listing what they held and issuing a new value at the source for each one:

  • Cloud provider and third-party API keys
  • Database passwords
  • TLS certificates and their private keys
  • Container registry credentials
  • OAuth tokens and service account credentials

Revoke each old value once the new one works. And avoid copying Secrets from Spot into your next cluster, since a copied Secret carries the same exposed value.

While you still have access, it's also worth checking your cluster logs against the indicators of compromise in Rackspace's customer notice.

Export your manifests

If your manifests and Helm values live in Git, Git is your starting point. Anything applied by hand can be exported from the running cluster with kubectl get -o yaml. Before applying that output anywhere else, strip the fields the cluster added: status, metadata.uid, metadata.resourceVersion, and metadata.managedFields. Leave Secrets out of the export.

Back up your volume data, and test the restore

Persistent volumes are easy to leave until last. Copy each volume's data to storage you control, and try a restore while Spot is still up. A backup you've restored once is one you can count on.

Then decide where you want to go

There's no single right answer here. It depends on what you valued about Spot and how much of the platform you want to own. A few questions can help sort it out:

  • What would you trade first? Spot was cheap and hands-off at the same time, and most replacements give a little on one of those. Knowing which matters more to you narrows the field fast.
  • Do your workloads tolerate interruption, like CI runners and test environments, or do some need to stay up?
  • How would it feel to do this again in a year if your next provider changes course?

It also helps to remember that Spot ran more than Kubernetes. It supplied the servers, the control plane, storage, and load balancers. Wherever you land, someone supplies each of those.

What Spot ranManaged Kubernetes serviceKubernetes you run yourself
ServersThe providerRented VMs or bare metal from any provider
Control planeThe providerYou
Storage and load balancersThe provider's integrationsYou choose and run them
Upgrade timingThe provider, within its support policyYou

If you'd rather someone else keep running it

If staying hands-off matters most, another managed service is the most direct path, and probably the quickest before the deadline.

For price, the closest match is a hyperscaler's managed Kubernetes with spot or preemptible node pools, such as Amazon EKS or Google GKE. That keeps interruptible pricing for CI and batch work, with the provider running the control plane. If simpler billing matters more, managed Kubernetes from providers like DigitalOcean or Akamai (Linode) is worth a look too.

Any managed service means living with that provider's decisions about versions, pricing, and roadmap. For a lot of teams that's a fair trade. It's just worth making it on purpose.

If you want more say in where it runs

If a move like this has you wondering whether you could run some of it yourself, even just part of it, that's worth taking seriously. It's less of a leap than it used to be.

You don't have to own everything to get there. A middle path: keep renting infrastructure (cheap VMs or bare metal from whichever provider makes sense this year) and run only the Kubernetes engine yourself.

The payoff comes the next time a provider changes something. When the engine is yours, moving means installing the same engine on new servers, applying the same manifests, and restoring your data. The timing of that move is yours to set.

Running your own engine also doesn't have to mean assembling a dozen components by hand. CIQ Stratum Kubernetes Engine (SKE) is one option built to keep it simple. It's an open source engine, licensed under Apache 2.0, that installs, joins, upgrades, and snapshots a cluster from one signed binary. Kubernetes, etcd, containerd, runc, kube-vip, Cilium, CoreDNS, and a local-path storage provisioner are all inside that binary. It runs on any Enterprise Linux 9 or later distribution, including Rocky Linux, on amd64 and arm64.

The built-in dashboard ships with the engine: pods, logs, and a shell into any container, without installing anything else.

Running your own engine also means the things a managed platform handles behind the scenes become things you can see and adjust:

  • Etcd snapshots run every 12 hours by default, so your cluster state is backed up on a schedule you can change.
  • Rolling upgrades check node health at each step and roll back a node that fails, so you pick when to upgrade and the cluster protects itself along the way.
  • Certificates renew automatically, so an expired certificate doesn't take the cluster down.

It's worth being clear about the trade-off. SKE is the software. You supply the servers, the shared storage, and the load balancers, as you would with any Kubernetes you run yourself. Local-path storage keeps a volume on the node that runs it, so plan shared storage for anything that has to survive a node failure.

If you end up with clusters in more than one place, CIQ Stratum Pro is the commercial edition built on SKE. It adds a fleet manager across your SKE clusters, single sign-on through your identity provider, an optional Center for Internet Security (CIS) hardening profile with a per-control report, and support from CIQ.

Or mix the two

These paths aren't exclusive. A team might move production to a managed service now to beat the deadline, then try running its own engine for CI or dev/test, where an interruption costs little and the lessons carry over. Starting with a small piece is a low-risk way to find out how much of the platform you want to own.

Set up the next cluster so moving again is easier

Wherever you land, a few habits keep the next move on your schedule:

  • Keep manifests and Helm values in Git and apply them from there, so the cluster can be rebuilt from a repo.
  • Fetch secrets from an external secrets manager, so rotation happens in one place instead of in every cluster.
  • Write down the provider-specific settings you depend on: annotations, storage classes, load balancer config. That list becomes your next migration plan.
  • Back up volume data on a schedule to storage outside the cluster, and test the restore.

Providers change. Prices move, services get retired, and occasionally a shutdown comes with two weeks' notice. What you can shape is how much of your cluster has to move with them.

If running your own engine is on your list, the SKE documentation covers host requirements and the install, and you can download SKE from the CIQ Portal with a free account.

Built for scale. Chosen by the world’s best.

2.75M+

Rocky Linux instances

Being used world wide

90%

Of fortune 100 companies

Use CIQ supported technologies

250k

Avg. monthly downloads

Rocky Linux

9

Enterprise products

Spanning the kernel to the orchestrator

Have questions about your infrastructure?

Talk to a CIQ engineer about Rocky Linux, HPC, and AI infrastructure.

Talk to an Expert