{
  "id": 22233846,
  "title": "Single-Node OpenShift on AWS via UPI: A Lean Setup for Labs & Training",
  "url": "https://urgent.news/2026/11/27/single-node-openshift-on-aws-via-upi-a-lean-setup-for-labs-training",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T20:59:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/docdiesel/single-node-openshift-on-aws-via-upi-a-lean-setup-for-labs-training-26mj"
  },
  "original_language": "en",
  "account": "Setting up a single-node OpenShift (SNO) cluster on AWS using User-Provisioned Infrastructure (UPI) allows for a clear and straightforward process. Without the need for Terraform or CloudFormation provisioning, each stage of the cluster deployment is observable. AWS doesn't support \"Bootstrap-in-Place\" installations with AMIs, so a temporary bootstrap EC2 instance with m6i.xlarge specifications (4 vCPUs, 16 GB RAM and 100 GB gp3 storage) is utilized initially. This instance later relinquishes control to the master node.\n\nThe master node, also running SNO, is powered by an m6i.2xlarge EC2 instance (8 vCPUs, 32 GB RAM and 120 GB gp3 storage) and requires an Elastic IP allocation. An external management station, equipped with oc and openshift-install tools, SSH access, and an Nginx web server, is necessary to serve Ignition configurations. The prerequisites include a personal DNS domain, a cluster name, a Red Hat pull secret, and an SSH public key.\n\nA fresh directory is set up for the OpenShift installer, preventing any issues from leftover state files. The installer configuration file (install-config.yaml) is backed up as it's deleted during the setup. To enable the ingress router and image registry on the single node, SNO masters are designated as schedulable before Ignition files are generated. The Ignition configuration files, which are larger than EC2 User-Data's 16 KB limit, are hosted on an Nginx web server and referenced with small JSON pointer configurations in the User-Data.\n\nUpon launch, AWS EC2 volumes are resized directly in the launch wizard. The DNS records for the cluster API, API-int, and app services should be configured with a low TTL (60 seconds) to ensure quick updates. After the master node assumes control of the control plane, the API DNS records are updated to point to the master, and the bootstrap node is subsequently terminated.\n\nPending Certificate Signing Requests (CSRs) can cause network and workload pods to remain in ContainerCreating state. If the external API is not accessible from SSH, the kubeconfig file for the master can be inspected at /etc/kubernetes/static-pod-resources/kube-apiserver-certs/secrets/node-kubeconfigs/localhost.kubeconfig. In the event that quorum is lost in etcd during the handoff process, the 'quorum-restore.sh' script can be executed (while stopping etcd containers if necessary).\n\nOnce the cluster is operational, security group rules should be refined, Ignition files removed from the web server (due to containing sensitive data), and the DNS TTL should be raised. In environments where dynamic persistent volume claims (PVCs) are needed, Red Hat LVM Storage (LVMS) can be installed through a Subscription in the openshift-storage namespace.\n\nThis guide provides a detailed walkthrough for setting up a single-node OpenShift cluster on AWS using UPI, offering valuable insight into the bootstrap, cutover, and storage processes without relying on black-box automation. Further instructions can be found in the 'openshift_single_node_aws_upi_installation_guide.md' repository.",
  "summary": "Spinning up a Single-Node OpenShift (SNO) cluster on AWS for training or lab environments doesn't always require heavy Terraform or CloudFormation scaffolding. With User-Provisioned Infrastructure (UPI) , you stay close to the actual mechanics and see every stage of the cluster coming up. Because AWS AMIs do not support \"Bootstrap-in-Place\" installations, you briefly start with a temporary…",
  "summary_source": "publisher",
  "key_points": [
    "Single-node OpenShift on AWS via UPI setup",
    "Temporary bootstrap EC2 instance used initially",
    "Master node runs on 8 vCPU, 32 GB RAM instance"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}