Rosa OpenShift Essentials for Cloud-Native Applications is a game-changer for developers and IT teams. It provides a streamlined way to deploy and manage cloud-native applications.
Rosa OpenShift Essentials is built on top of OpenShift Container Platform, a leading enterprise Kubernetes platform. This means you get the best of both worlds: the scalability and flexibility of cloud-native applications, combined with the security and manageability of a proven enterprise platform.
With Rosa OpenShift Essentials, you can take advantage of a range of features that make it easy to deploy and manage cloud-native applications. This includes automated provisioning, self-healing, and rolling updates, among others.
OpenShift Configuration
Our OpenShift cluster is now set up and ready to go. The cluster name should not contain more than 15 characters.
To add the admin user, we'll need to copy and run the oc login command from the output. This will give us access to the cluster.
We can verify the list of nodes with oc, and also check the EC2 console for the node names.
Provision the Cluster
To provision an OpenShift cluster, you'll need to keep in mind that the cluster name should not contain more than 15 characters.
You can see the cluster come to life, and then it's time to add the admin user. Copy and run the oc login command from the output.
You can use oc to list the nodes in the cluster, and you can also check this on the EC2 console, where it shows the node names.
To deploy applications, you'll use kubernetes native manifests with oc, for which you can clone the manifests repo.
Data Foundation
OpenShift Data Foundation is a powerful tool that provides cloud native storage, data management, and data protection for applications running on OpenShift Container Platform in various environments.
It's designed to work seamlessly in the cloud, on-prem, and hybrid/multi-cloud environments, making it a versatile option for organizations with diverse infrastructure needs.
OpenShift Data Foundation is built to provide a robust data foundation for applications, ensuring they have the necessary storage and data management capabilities to run smoothly.
Let's test persistence, we shall delete the pod and when the new pod comes, we'd see if the schema we created exists.
A new pod is now running, we can check the list of schemas with curl.
OpenShift
OpenShift is a powerful platform for deploying and managing applications. You can deploy HarperDB on OpenShift using the harperdb/harperdb-openshift image, which has a slightly different user than the previous image.
To use this image, simply change the image section of your deployment manifest and apply it again with oc. This will create a new HarperDB pod with the openshift image.
If you're new to OpenShift, you might want to start with a managed service like Red Hat OpenShift Service (ROSA) on AWS. ROSA offers a range of benefits, including a managed service with 24/7 support, simplified billing and provisioning, and joint support from Red Hat and AWS.
Here are the key advantages of ROSA:
- A Managed Service – ROSA is fully managed 24X7X365 by a team of Red Hat SREs.
- Simplified Billing and Provisioning – The ROSA service is now listed on the AWS console.
- Joint Support – ROSA is jointly supported by Red Hat and AWS.
- ROSA is the same OCP as deployed on-prem.
- ROSA enables current OCP customers to leverage the strength of AWS in availability and compliance.
ROSA is a great option if you want to focus on developing applications without worrying about the undifferentiated heavy lifting of managing OCP and the underlying IaaS.
OpenShift Management
ROSA provides a fully managed service, 24X7X365, by a team of Red Hat SREs, which means all Day 1, Day 2 operations, cluster monitoring, and upgrades are managed for you.
This allows enterprises to cut their operational budgets while focusing on developing their applications, integrating extremely well with all their existing AWS infrastructure.
ROSA is jointly supported by Red Hat and AWS, which means customers can open up one support ticket to engage Tier 1 and Tier 2 support along with well-defined escalation paths for Tier 3.
Here are the key advantages of ROSA's OpenShift management:
- A Managed Service – ROSA is fully managed 24X7X365 by a team of Red Hat SREs.
- Simplified Billing and Provisioning – The ROSA service is now listed on the AWS console along with other AWS services.
- Joint Support – ROSA is jointly supported by Red Hat and AWS.
- Compliance – ROSA running on AWS offers compliance with various industry-standard regulations such as SOC 1, SOC 2, PCI, FedRamp etc.
OpenShift Security and Delivery
With F5 Distributed Cloud Services, customers can minimize deployment challenges on Red Hat OpenShift. This includes eliminating the need to build custom routing, VPNs, or NATs to connect on-premises and ROSA clusters.
Seamless connectivity is enabled by Distributed Cloud App Connect, which runs on OpenShift clusters and connects at layer 7. This leverages an app delivery fabric that extends into any environment.
Organizations can enforce consistent security policies across every service running in any OpenShift cluster. This ensures every app is protected, and networking and security policies are managed centrally and deployed globally.
By deploying a Customer Edge (CE) package on-premises, ROSA Distributed Cloud App Connect can establish app-to-app connectivity between OpenShift clusters and other Kubernetes distributions. This delivers consistent policy enforcement and centralized observability across disparate cluster environments.
This approach minimizes the pains of deploying new applications, simplifying network and security orchestration.
Database Access
RHODA, or Red Hat OpenShift Database Access, is an add-on service to OSD and ROSA, enabling administrators to set up connections to database-as-a-service offerings.
RHODA's initial alpha release included support for MongoDB Atlas for MongoDB and Crunchy Bridge for PostgreSQL, offering flexibility in database choices.
RHODA is a capability in managed OpenShift Kubernetes environments, designed to simplify database access and setup.
Administrators can use RHODA to connect to database-as-a-service offerings from different providers, streamlining database management.
Security, Connectivity, and Delivery
Consistent security is key to protecting your applications and data. F5 Distributed Cloud Services ensures that every app is protected by enforcing consistent security policies across every service running in any OpenShift cluster.
With F5 Distributed Cloud Services, you can minimize the complexity of extending layer 3 network connectivity from on-premises to the cloud. This eliminates the need for custom routing, VPNs, or NATs to connect clusters.
Distributed Cloud App Connect apps running on OpenShift clusters seamlessly connect at layer 7, leveraging an app delivery fabric that extends into any environment. This secure service connectivity model minimizes lateral movement and eliminates complexity.
Organizations can manage networking and security policies centrally and deploy them globally to apps in every OpenShift cluster, saving time and making ongoing maintenance much simpler.
F5's hybrid platform provides a range of security and networking services to complement existing management tools. Organizations can choose to consume these services via SaaS or implement a hybrid SaaS solution utilizing a custom Customer Edge (CE) software package deployed in their environment.
By deploying a CE package on-premises, ROSA Distributed Cloud App Connect can connect traffic between locations for high availability and service mobility, easing migrations, and delivering apps to users with a consistent app delivery and security operational model.
Api Token
You need to copy the token from the next step and set it as a variable.
Note that you need to paste the token in the line after the read command.
I had to login with the --token option because setting the variable ROSA_TOKEN didn't work for me.
This is a crucial step in the process, so make sure to get it right.
Just copying the token and setting it as a variable is not enough, you need to follow the specific instructions.
Frequently Asked Questions
What is Rosa in OpenShift?
Rosa in OpenShift is a managed service that runs the Red Hat OpenShift enterprise Kubernetes platform on AWS. It helps you build, scale, and deploy containerized applications with ease.
Sources
- https://en.wikipedia.org/wiki/OpenShift
- https://blog.joshgav.com/posts/why-openshift-rosa-on-aws
- https://www.f5.com/company/blog/red-hat-openshift-aws-f5-distributed-cloud-services
- https://dev.to/aws-builders/deploy-harperdb-on-rosa-red-hat-openshift-service-on-aws-4jge
- https://www.vamsitalkstech.com/aws/introducing-red-hat-openshift-on-aws-rosa/
Featured Images: pexels.com