
Red Hat OpenShift Service on AWS (ROSA): Complete Architecture, Deployment, and DevOps Guide
Learn how to deploy, configure, and manage Red Hat OpenShift Service on AWS (ROSA) for enterprise Kubernetes workloads. Explore ROSA Hosted Control Planes (HCP), VPC networking, IAM and OIDC security, EC2 worker nodes, CI/CD with GitHub Actions, Terraform, OpenShift GitOps, Amazon RDS, S3, CloudWatch monitoring, autoscaling, cost optimization, and production-ready DevOps best practices.
AWS Community Builder Article | AWS | OpenShift | Kubernetes | DevOps | Cloud Architecture

1. Introduction
As organizations modernize applications, Kubernetes has become a foundation for deploying and scaling containerized workloads.
However, managing Kubernetes clusters in production requires expertise in networking, security, cluster upgrades, monitoring, infrastructure availability, and operational automation.
Red Hat OpenShift Service on AWS (ROSA) addresses these challenges by providing a managed Red Hat OpenShift platform on AWS.
ROSA combines the enterprise capabilities of Red Hat OpenShift with AWS infrastructure and jointly supported cluster operations.
This allows DevOps and platform engineering teams to focus more on application delivery, security, and developer productivity.
2. What Is ROSA?
Red Hat OpenShift Service on AWS is a managed Kubernetes application platform that runs on AWS.
It provides:
- Managed OpenShift cluster infrastructure
- Enterprise Kubernetes orchestration
- Container application deployment
- OpenShift Operators
- Developer tools and APIs
- AWS service integrations
- Cluster monitoring capabilities
- Joint AWS and Red Hat support
- Cluster lifecycle management
ROSA is particularly useful for organizations already using OpenShift on-premises that want a more consistent application platform in AWS.
3. ROSA Architecture Types
ROSA provides two primary deployment architectures.
ROSA with Hosted Control Planes (HCP)
In this architecture, Red Hat manages the cluster control plane in a Red Hat-owned AWS account, while the worker nodes run in the customer's AWS account.
Red Hat Managed AWS Account +----------------------------+ | OpenShift Control Plane | | | | Kubernetes API Server | | etcd | | Controllers | +-------------+--------------+ | Managed Connectivity | +-------------v--------------+ | Customer AWS Account | | | | Amazon VPC | | | | | +-- Private Subnet AZ-A | | | EC2 Worker Nodes | | | | | +-- Private Subnet AZ-B | | EC2 Worker Nodes | | | | Applications / Services | +----------------------------+ROSA Classic
In ROSA Classic, both the control plane and worker nodes are deployed in the customer's AWS account, with supported management operations performed by Red Hat.
Architecture comparison
Feature | ROSA HCP | ROSA Classic |
|---|---|---|
Control plane location | Red Hat AWS account | Customer AWS account |
Worker nodes | Customer AWS account | Customer AWS account |
Cluster management | Managed | Managed |
Infrastructure footprint | Reduced customer-side control-plane footprint | Includes customer-side control-plane infrastructure |
Cost model | Worker fees, HCP cluster fee, AWS infrastructure | Worker fees and applicable infrastructure/service costs |
Ideal consideration | Efficient managed control-plane architecture | Requirements specific to Classic topology |
An existing Classic cluster cannot simply be converted in place into HCP. Migration requires planning and creation of a suitable new cluster.
4. End-to-End Enterprise ROSA Architecture
Developers | v GitHub Repository | v GitHub Actions | Build and Test | v Container Registry | v OpenShift Deployment | v AWS Application Load Balancer | v +-------------------------+ | Amazon VPC | | | | Private Subnet AZ-A | | +-----------------+ | | | ROSA Worker EC2 | | | | Application Pods| | | +-----------------+ | | | | Private Subnet AZ-B | | +-----------------+ | | | ROSA Worker EC2 | | | | Application Pods| | | +-----------------+ | +------------+------------+ | +--------+--------+ | | | v v v Amazon Amazon Amazon RDS S3 CloudWatchThis architecture separates application delivery, container orchestration, database storage, object storage, and observability.
5. ROSA vs Amazon EKS
Both ROSA and Amazon EKS provide managed Kubernetes capabilities on AWS.
Feature | ROSA | Amazon EKS |
|---|---|---|
Kubernetes platform | Red Hat OpenShift | AWS-managed Kubernetes |
Enterprise OpenShift APIs | Native | Not native |
OpenShift Operators | Integrated ecosystem | Kubernetes operators/add-ons |
AWS integration | Yes | Yes |
Platform operations | Jointly supported by Red Hat and AWS | AWS-managed control plane |
Best fit | OpenShift-standardized enterprises | AWS-native Kubernetes platforms |
ROSA is especially relevant for teams already invested in OpenShift, while EKS is often preferred by teams building AWS-native Kubernetes platforms.
Neither option removes the need for workload security, application monitoring, or deployment governance.
6. AWS Prerequisites
Before deploying ROSA, prepare:
- An AWS account with appropriate permissions.
- A Red Hat account.
- ROSA service enablement in the AWS console.
- Required AWS service quotas.
- AWS CLI.
- ROSA CLI.
- OpenShift CLI (
oc).
- Suitable VPC networking.
- Required IAM roles and OIDC configuration.
- A reviewed cost estimate.
Check EC2, EBS, VPC, and load balancer quotas before deployment.
7. Install and Configure AWS CLI
On an administrative workstation or approved deployment host, install the current AWS CLI from the official AWS documentation.
Verify:
aws --versionConfigure credentials using an approved AWS authentication method.
aws configureFor enterprise environments, prefer IAM Identity Center or temporary role credentials instead of permanent access keys.
Verify identity:
aws sts get-caller-identity8. Install ROSA CLI and OpenShift CLI
Download the latest supported ROSA CLI from the Red Hat Hybrid Cloud Console.
Verify installation:
rosa versionAuthenticate:
rosa loginInstall and verify the OpenShift CLI:
oc version --clientThe ROSA CLI manages cluster provisioning and lifecycle operations, while
oc manages OpenShift resources and applications.
9. AWS VPC Configuration for ROSA
A typical production VPC architecture includes:
- Multiple Availability Zones
- Private subnets for worker nodes
- Suitable public subnets where required by the design
- Route tables
- NAT or approved outbound connectivity
- DNS resolution
- Security groups
- Appropriate subnet tags
Example:
VPC CIDR: 10.20.0.0/16
Availability Zone A Public: 10.20.0.0/24 Private: 10.20.10.0/24
Availability Zone B Public: 10.20.1.0/24 Private: 10.20.11.0/24
Availability Zone C Public: 10.20.2.0/24 Private: 10.20.12.0/24This is an illustrative network plan. Validate supported topology, IP capacity, and CIDR requirements for the selected ROSA version.
Subnet tagging
Public subnet:
aws ec2 create-tags \ --resources subnet-PUBLIC_ID \ --tags Key=kubernetes.io/role/elb,Value=1Private subnet:
aws ec2 create-tags \ --resources subnet-PRIVATE_ID \ --tags Key=kubernetes.io/role/internal-elb,Value=1Replace the placeholder IDs with actual subnet IDs.
10. Configure IAM Roles and OIDC
ROSA uses AWS IAM and AWS Security Token Service (STS) to grant required cluster and operator permissions.
For ROSA HCP, the guided setup includes account-wide roles, OIDC configuration, and operator roles.
Example:
rosa create account-roles \ --hosted-cp \ --mode autoCreate an OIDC configuration:
rosa create oidc-config \ --mode auto \ --yesAdditional operator-role setup must reference the actual OIDC configuration and appropriate role information.
For production, review the generated IAM policies and role trust relationships before proceeding.
11. Create a ROSA Cluster
After completing the AWS prerequisites, networking, IAM roles, OIDC configuration, and operator roles, use the interactive ROSA CLI.
rosa create cluster \ --hosted-cp \ --interactiveFollow the prompts to select the cluster name, Region, network configuration, and supported compute options.
Check the current CLI help because supported flags and workflow details can change.
Cluster creation provisions billable AWS and ROSA resources.
12. Verify Cluster Status
List clusters:
rosa list clustersInspect a cluster:
rosa describe cluster \ --cluster my-rosa-clusterAfter configuring an identity provider and appropriate permissions, authenticate using the OpenShift CLI:
oc login https://api.example-cluster.example:6443Check worker nodes:
oc get nodesCheck namespaces:
oc get projectsThe API URL above is a placeholder.
13. Deploy an Application on ROSA
Create an OpenShift project:
oc new-project demo-appExample Kubernetes Deployment:
apiVersion: apps/v1kind: Deploymentmetadata: name: demo-webspec: replicas: 2 selector: matchLabels: app: demo-web template: metadata: labels: app: demo-web spec: containers: - name: web image: nginxinc/nginx-unprivileged:stable ports: - containerPort: 8080 resources: requests: cpu: 100m memory: 128Mi limits: cpu: 500m memory: 256MiDeploy:
oc apply -f deployment.yamlVerify:
oc get deploymentsoc get podsCreate an internal service and expose it through a reviewed OpenShift Route or ingress configuration when required.
14. OpenShift Operators
Operators extend Kubernetes by automating the lifecycle of complex applications and platform components.
Examples include:
- Database operators
- Monitoring operators
- Logging operators
- Storage operators
- GitOps operators
- Security operators
Operators can simplify installation, configuration, upgrades, and ongoing application management.
Only install operators supported by your OpenShift version and approved for your security environment.
15. CI/CD with GitHub Actions
A typical ROSA deployment pipeline:
Developer Push | vGitHub Actions | vUnit Tests | vContainer Build | vImage Security Scan | vPush Container Image | vDeployment Approval | vOpenShift Deployment | vHealth VerificationRecommended practices include protected environments, short-lived credentials, image digest pinning, and approval gates for production.
Never store cluster-admin credentials directly in GitHub repositories.
16. GitOps with OpenShift
GitOps uses a Git repository as the desired-state source for cluster applications and configurations.
Git Repository | vGitOps Controller | vOpenShift Cluster | vApplication Resources | vContinuous ReconciliationGitOps can improve consistency, auditability, and rollback workflows.
Use appropriate OpenShift GitOps capabilities and separate permissions for production and non-production environments.
17. ROSA Security Best Practices
Security responsibilities remain shared between the managed platform provider and the customer.
Recommended controls:
- OpenShift role-based access control
- Least-privilege AWS IAM
- OpenShift Security Context Constraints
- Kubernetes NetworkPolicies
- Image vulnerability scanning
- Encryption at rest and in transit
- Secure secret management
- Restricted ingress
- Cluster audit logging
- Workload identity controls
- Environment separation
Avoid running privileged containers unless specifically required and approved.
18. Monitoring and Observability
Production monitoring should cover:
- Worker node CPU and memory
- Pod restarts
- Container resource limits
- Application response times
- Ingress failures
- Persistent volume capacity
- Cluster alerts
- Deployment failures
- AWS infrastructure costs
Use supported OpenShift monitoring and logging capabilities, alongside Amazon CloudWatch where appropriate.
Define alert ownership and incident response procedures before production rollout.
19. Scaling Applications
ROSA supports Kubernetes workload scaling through supported OpenShift mechanisms.
Example:
oc scale deployment/demo-web \ --replicas=5Horizontal Pod Autoscaler example:
oc autoscale deployment/demo-web \ --min=2 \ --max=10 \ --cpu-percent=70Autoscaling requires appropriate resource requests and a working metrics pipeline.
Worker-node capacity must also be available; increasing pod replicas does not automatically guarantee sufficient infrastructure.
20. Storage Integration
ROSA applications can use AWS storage services based on workload requirements.
AWS service | Use case |
|---|---|
Amazon EBS | Persistent block storage |
Amazon EFS | Shared file storage |
Amazon S3 | Object storage |
Amazon RDS | Managed relational databases |
Amazon ElastiCache | Application caching |
Use supported CSI drivers and storage classes for persistent volumes.
For production databases, carefully evaluate backup, restore, availability, and operational ownership.
21. Cost Optimization
ROSA costs generally include:
- ROSA service fees
- HCP cluster fees where applicable
- EC2 worker-node costs
- EBS storage
- Load balancers
- NAT gateways
- Data transfer
- Monitoring and logging
Optimize costs by right-sizing worker nodes, setting resource requests and limits, monitoring unused capacity, and selecting an appropriate cluster architecture.
Do not assume ROSA is cheaper or more expensive than EKS without comparing the full operating model.
22. Practical Project: Enterprise Microservices Platform on ROSA
Project objective
Deploy a production-style microservices application on ROSA with automated CI/CD, managed database connectivity, and centralized monitoring.
Technology stack
- Red Hat OpenShift Service on AWS
- Amazon EC2 worker nodes
- Amazon VPC
- Amazon RDS
- Amazon S3
- AWS IAM
- GitHub Actions
- Terraform
- OpenShift GitOps
- Amazon CloudWatch
Implementation phases
Phase 1 — Infrastructure: Create AWS networking, permissions, and ROSA prerequisites.
Phase 2 — Cluster: Provision ROSA HCP and configure identity and access.
Phase 3 — Applications: Deploy frontend, backend API, and worker services.
Phase 4 — Data: Integrate RDS and S3 with least-privilege access.
Phase 5 — CI/CD: Automate container builds, scans, and deployments.
Phase 6 — Security: Enforce RBAC, network policies, and container security.
Phase 7 — Observability: Configure metrics, logging, alerts, and dashboards.
Phase 8 — Reliability: Test scaling, rollbacks, backups, and recovery procedures.
23. Common Challenges
Insufficient AWS quotas: Verify service quotas before cluster provisioning.
Incorrect subnet tags: Validate public and private subnet discovery.
Missing outbound connectivity: Confirm all required endpoints and network routes.
IAM role errors: Review STS, OIDC, and operator-role configuration.
Pod scheduling failures: Check node capacity, resource requests, and scheduling constraints.
Container permission errors: Verify compatibility with OpenShift security policies.
Unexpected costs: Monitor cluster, worker, storage, and networking charges.
24. Production Readiness Checklist
- AWS and Red Hat prerequisites completed.
- ROSA HCP or Classic architecture selected.
- VPC and subnet design validated.
- IAM and OIDC configuration reviewed.
- Worker node capacity planned.
- Identity provider configured.
- RBAC permissions reviewed.
- Network security policies applied.
- Application resource limits defined.
- CI/CD pipeline secured.
- Container image scanning enabled.
- Monitoring and alerts configured.
- Backup and recovery tested.
- Upgrade procedures documented.
- Cost monitoring enabled.
25. Key Takeaway
Red Hat OpenShift Service on AWS provides an enterprise application platform for deploying containerized workloads with managed OpenShift operations.
ROSA = Red Hat OpenShift + AWS Infrastructure + Managed Kubernetes Operations + Enterprise DevOps
For organizations using OpenShift across on-premises and cloud environments, ROSA can provide a consistent platform while integrating with AWS services.
The most important architectural decision is choosing the appropriate ROSA deployment model and designing secure networking, identity, workload operations, and cost governance from the beginning.
Official AWS and Red Hat References
Final Thought: Successful Kubernetes platforms are not defined only by how quickly clusters are created, but by how securely, reliably, and consistently applications can be delivered and operated.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article