Overview

Product video
This is a repackaged open source software wherein additional charges apply for extended support with a 24 hour response time.
Built for performance and stability, this AMI features OpenJDK 21 (Java 21) running on the reliable CentOS Stream 10 operating system. Perfect for developers and organizations seeking to leverage the latest Java advancements, this AMI allows for rapid deployment of Java applications in the AWS cloud.
Key Features:
- Latest Java Version: Leverage the enhancements and new features of OpenJDK 21 to improve application performance and developer productivity.
- CentOS 10: Incorporates a stable and secure environment, ideal for enterprise-level applications and services.
- Optimized Performance: Pre-configured for optimal performance and resource usage in cloud environments.
Benefits:
- Rapid Deployment: Quickly spin up Java applications with minimal configuration required.
- Secure and Reliable: Benefit from CentOS's reputation for security and community support.
- Cost-Effective: Open-source foundation alongside flexible cloud pricing options.
Use Cases:
- Enterprise Applications: Deploy large-scale applications requiring Java.
- Web Services: Build and manage Java-based web applications and RESTful services.
- Development and Testing: Use this AMI as a development environment for testing new features in Java 21.
Make the most of your cloud infrastructure with this cutting-edge OpenJDK 21 AMI on CentOS 10, ensuring a powerful foundation for your Java applications.
Try our most popular AMIs on AWS EC2
- Ubuntu 24.04 AMI on AWS EC2
- Ubuntu 22.04 AMI on AWS EC2
- Ubuntu 20.04 AMI on AWS EC2
- Ubuntu 18.04 AMI on AWS EC2
- CentOS 10 AMI on AWS EC2
- CentOS 9 AMI on AWS EC2
- CentOS 8 AMI on AWS EC2
- Debian 12 AMI on AWS EC2
- Debian 11 AMI on AWS EC2
- Debian 10 AMI on AWS EC2
- Debian 9 AMI on AWS EC2
- Red Hat Enterprise Linux 9 (RHEL 9) AMI on AWS EC2
- Red Hat Enterprise Linux 8 (RHEL 8) AMI on AWS EC2
- Red Hat Enterprise Linux 7 (RHEL 7) AMI on AWS EC2
- Oracle Linux 9 AMI on AWS EC2
- Oracle Linux 8 AMI on AWS EC2
- Oracle Linux 7 AMI on AWS EC2
- Amazon Linux 2023 AMI on AWS EC2
- Windows 2022 Server AMI on AWS EC2
- Windows 2019 Server AMI on AWS EC2
- Docker on Ubuntu 20 AMI on AWS EC2
- Docker on CentOS 10 AMI on AWS EC2
Highlights
- OpenJDK 21 on CentOS Stream 10 offers a robust, high-performance development environment ideal for Java applications. With the latest Java 21 features, developers can leverage improved performance, enhanced language constructs, and new APIs for modern application development. The comprehensive support for both enterprise-level applications and microservices makes it a versatile choice for deploying scalable solutions in the cloud.
- This AMI ensures seamless integration within the AWS ecosystem, allowing for easy scaling and management of Java-based applications on EC2. Pre-configured with CentOS 10, it enables developers to focus on code rather than configuration. Users benefit from optimization for cloud computing, including security enhancements and system performance tuned for AWS infrastructure.
- Use cases for OpenJDK 21 on CentOS 10 are versatile, ranging from web servers serving dynamic Java applications to backend services for microservices architecture. Additionally, its compatibility with existing Java frameworks, such as Spring and Hibernate, makes this AMI an ideal choice for enterprises transitioning to cloud-native application architectures in a cost-effective manner.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Buyer guide

Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t2.2xlarge Recommended | $0.56 |
t2.micro | $0.21 |
t3.micro | $0.07 |
m7i-flex.4xlarge | $1.12 |
hpc7a.48xlarge | $4.48 |
i2.2xlarge | $0.56 |
h1.2xlarge | $0.56 |
g4dn.metal | $3.36 |
r7a.metal-48xl | $3.36 |
r6in.2xlarge | $0.56 |
Vendor refund policy
The instance can be terminated at anytime to stop incurring charges
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
System Update
Additional details
Usage instructions
SSH to the instance and login as 'ec2-user' using the key specified at launch.
OS commands via SSH: SSH as user 'ec2-user' to the running instance and use sudo to run commands requiring root access.
verify java version by running
java -version
Resources
Vendor resources
Support
Vendor support
Email support for this AMI is available through the following: https://supportedimages.com/support/ OR support@supportedimages.com
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Standard contract
Customer reviews
Building reliable enterprise services has reduced costs and supports cloud-native workflows
What is our primary use case?
Recently, the task where I used OpenJDK Java was deploying a Java-based web application on a Linux server using Apache Tomcat . OpenJDK Java served as the runtime environment, and I used it for application testing, configuration, and troubleshooting to ensure stable performance in production.
Besides running and supporting Java-based web applications, I also used OpenJDK Java for learning and testing new Java features, troubleshooting application issues, and working with containerized environments such as Docker and Kubernetes .
What is most valuable?
The feature that I have found most valuable is stability and reliability because in my day-to-day work, it helps ensure that Java applications run consistently in development, testing, and production environments with minimal issues. This reduces troubleshooting time and gives me confidence when deploying applications on Linux servers and containerized platforms.
The feature worth mentioning is OpenJDK Java's strong ecosystem and community support because it is widely adopted. There is extensive documentation, a large collection of libraries and frameworks, and plenty of community resources available, which makes development, troubleshooting, and learning much easier.
OpenJDK Java has positively impacted my organization by providing a stable, reliable, and cost-effective platform for running Java applications. Its open-source nature eliminates licensing costs, while its strong performance and compatibility help ensure smooth application deployment and maintenance.
While I do not have exact figures, one noticeable benefit has been avoiding commercial Java licensing costs by using OpenJDK Java. This allows us to run and maintain Java-based applications without additional runtime licensing expenses while still receiving the performance and stability needed for production workloads. Additionally, its reliability helped reduce downtime and troubleshooting effort, improving overall operational efficiency.
What needs improvement?
The documentation is generally good, but it could be improved with more beginner-friendly guides for upgrades, troubleshooting, and performance tuning. More practical examples for cloud and containerized deployments would also be helpful.
For how long have I used the solution?
What do I think about the stability of the solution?
What do I think about the scalability of the solution?
How are customer service and support?
How was the initial setup?
What about the implementation team?
What was our ROI?
What's my experience with pricing, setup cost, and licensing?
What other advice do I have?
OpenJDK Java updates and patch management are handled through my standard system maintenance process. The infrastructure team regularly applies security patches and version updates during scheduled maintenance windows, with testing performed before deployment to production to ensure application compatibility and stability.
The learning curve is generally moderate. New developers can learn the basics quickly, thanks to Java's clear syntax and extensive documentation, while more advanced topics such as enterprise frameworks, performance tuning, and large-scale application development take additional experience to master.
OpenJDK Java supports compliance efforts by providing a secure and well-maintained runtime environment with regular security updates and patches. While compliance depends mainly on application design and organizational processes, OpenJDK Java helps by offering a stable platform that aligns with enterprise security and governance requirements.
Personally, I expect OpenJDK Java to continue evolving with improvements in performance, security, and cloud-native development. I am particularly keeping an eye on enhancements for containers and Kubernetes environments, better support for modern application architectures, and continued innovation through regular Java releases while maintaining backward compatibility.
OpenJDK Java remains important for my future plans because many enterprise applications and backend services rely on Java. Given its stability, strong ecosystem, and open-source nature, I expect it to continue being used for new applications, modernized services, and cloud-native deployments in the future.
It is generally easy to find developers with OpenJDK Java skills because Java is one of the most widely used programming languages. There is a large talent pool, extensive learning resources, and many developers already have experience with Java-based applications and frameworks.
I would recommend OpenJDK Java to organizations looking for a reliable, mature, and cost-effective Java platform. It offers strong performance, broad ecosystem support, and no licensing costs. My advice would be to choose an appropriate LTS version, establish a regular patching process, and thoroughly test applications before major version upgrades to ensure compatibility. I have provided this review with an overall rating of nine out of ten.
Virtual threads have transformed asynchronous teaching and enterprise development workflows
What is our primary use case?
My main use case for OpenJDK Java is for various development purposes including desktop, web, integration patterns, interoperability, and everything that is usually included in standard enterprise projects and small demo examples that I use in teaching while instructing students at my courses.
What is most valuable?
The best features OpenJDK Java offers depend on the version. Usually, the last few versions included virtual threads and all the optimizations that benefit applications including Spring applications, etc. Nowadays you don't need to rely on platform threads. You can use virtual threads without a problem and create them in vast numbers, not just hundreds, because asynchronous applications are very important for creating an environment in which you can be responsive, and especially in this AI age where you can combine everything together and try to provide your users with the best features and best capabilities of your system. Of course, the latest version includes the Vector API. I'm looking forward to actually using the best features related to that and all those small perks that are added to every single version, such as lambda expression optimizations, HTTP client, JavaFX that I use, and everything that helps you to be productive and to follow the best practices such as SOLID principles, design patterns, and clean code.
OpenJDK Java has positively impacted my organization because the word open actually opens everything more to the community. Usually people don't want to be vendor-locked. That's why they need this opportunity to choose their own platform to create an environment where they feel the most comfortable and of course, the most productive. Every next version of OpenJDK, for example, the last few years we experienced optimization in garbage collectors, etc. Someone can also include their own garbage collector or choose from the list of available and supported garbage collectors. They can have this support that will give them full control over their environments. Everything that is added to the stack every six months also makes the whole community vibrant. We eagerly wait for those short-term releases every six months, but at the end of the day, the latest versions are those that have the most impact to the community.
What needs improvement?
I think that we need to follow the latest trends and include even more optimization in the language to match the best performing languages so we can get more with less code because Java often requires some kind of boilerplate to achieve many things, but other languages don't require that. This is perhaps the only thing that will naturally evolve in the future. Also since Java was released in 1995, nowadays we celebrate 30 to 31 years of Java existence on the market. There are certainly things that can be optimized. This release cycle every six months is a good one, so I think newer features will be added and of course, older features will be removed. For example, I really don't prefer to use primitive types such as int, long, short, and boolean. I would rather use records or reference types. This could be something that might be more promoted to actually use other reference types rather than using primitive types. I understand how deep this is within the language, so it cannot be extracted or cut off from the platform. However, it's our responsibility to promote the best practices and to use, for example, optional types instead of null references to avoid null pointer exceptions. This is something I really appreciate in Java because avoiding common pitfalls and mistakes helps developers to be more productive.
For how long have I used the solution?
I have been using OpenJDK Java since I started programming in 2003 when I was a student.
Which other solutions did I evaluate?
I would like to see some alternative tools that will help developers to start development with AI assistance because JetBrains IntelliJ is something that is really powerful, but when you are no longer a student, you need to pay for the tooling. Before, let's say 20 years ago, we had Eclipse or JDeveloper environments, but they are not keeping pace with the competitors. That's why this open keyword should also popularize the whole Java enterprise and community, etc. It will help to have a tool that will be competitive to the other elements because, for example, we had the Scene Builder for JavaFX that was maintained by Oracle, but they abandoned it. So this parallel thread, let's say Gluon JavaFX is now actually producing good results. That's why this branding is very important. If you actually stand behind a tool that will be created for this new era of development with the help of AI and live coding, it could help the platform to be more popular and of course, involve more than 10 million developers. Although Java is already over 30 years old, it will still be a main competitor on the market. For all enterprise development solutions, Java as an open-source technology could still be the number one choice and stay for a long time as number one.
What other advice do I have?
An example of how I use OpenJDK Java in my teaching and enterprise projects is that since everything I teach is related to Java, I create an object, for example, in the IntelliJ JetBrains environment. Then when a new Java version is released, perhaps version 25 or 26 every six months, I download it through this tool, JetBrains IntelliJ, and configure my project, mostly Spring projects or vanilla Java projects without any specific frameworks to establish the basic functionality, and then I start developing all the features that are required for this purpose.
At the end of the day, Java is a platform and many open-source libraries and projects are added to the technology stack and then we are implementing enterprise applications, web applications, or even console applications just to show that this is something that can cover everything. With AI, it's much easier because the best models are using the latest Java versions without any problems, so you can immediately be very productive and at the end of the day, you can deliver your application much faster than you could five or six years ago.
I want to show many examples of performance, measurements, reports, and automation such as unit testing, CI/CD, and especially integration with AI regarding how I use OpenJDK Java in my teaching and development.
The efficiency of virtual threads is the first thing that comes to mind when I talk about how virtual threads or any of these features have changed the way I and my students develop applications. Instead of creating platform threads that are very heavy for the system because the memory footprint is 1 MB to 2 MB per thread, with virtual threads, you actually have a footprint of 1 KB, which means that you can create many threads and they can be synchronized, especially if you use asynchronous operations or prefer to have non-blocking changes to every resource that you are contacting with. This is something that can be done much more easily and you can create a pool of threads that you use efficiently, so you can be much more productive when you use those things. Of course, your system can utilize the hardware resources much more efficiently and that's why this is the future of asynchronous parallel development. For example, when you synchronize virtual threads with your main thread in JavaFX UI, you can actually create something that will run in the background without taking too much processor time and actually increase the responsiveness of every application.
I want to highlight especially the newest features that are included in the latest releases, such as the Vector API, because I tested the Vector API a few years ago when it was in the incubation period. It was still promising to actually use some features of CPUs to even better optimize the processing of large data. Especially nowadays we use many datasets when we prepare the datasets to train our LLM models. This is something I would like to highlight and I'm looking forward to getting the final version so I can play with it in my own use cases.
My advice for others looking into using OpenJDK Java is that they need to compare their own solutions to OpenJDK Java and then decide for themselves because it's very important to have a choice, not to be vendor-locked. You should have a choice and compare how good this is accepted, how easy you can actually get all the information, and how good it is accepted across the AI landscape. If the AI generates many examples that can be easily integrated or run on OpenJDK Java, that's the way to go. I give this review a rating of 9 out of 10.
High‑throughput data pipelines have processed telecom records efficiently and meet performance goals
What is our primary use case?
My main use case for OpenJDK Java is developing a telecom product which requires OpenJDK 21 with Apache Kafka . We are using Apache NiFi , and that was the major requirement for OpenJDK because we were using the Apache NiFi latest version which uses Java 17 and above versions.
A specific example of how OpenJDK Java fits into our telecom product is that Apache NiFi requires Java 17 and above versions, and OpenJDK is a free version which can be used. We use it and also use virtual threads for Java 21, so we benefit from the features of OpenJDK.
What is most valuable?
The best features OpenJDK Java offers are that it is open source and all the latest Java features can be used in OpenJDK. We used OpenJDK 21 version with those features, including virtual threads and strings which are also part of those features.
The most valuable open-source aspects and latest Java features for us are virtual threads which were the most frequently used in our application.
OpenJDK Java has improved our organization because it has some optimization techniques. Since our application was a high throughput application, we utilized these optimizations. We also make use of other Java features which are widely used in Java 17 as well.
What needs improvement?
OpenJDK Java already has so many features which are not part of other languages. As time evolves, OpenJDK is already getting enhanced with many features including Java Streams. We might need to include many libraries which are part of Python and are not currently part of OpenJDK. This would be a way to improve OpenJDK.
The needed improvements for OpenJDK include documentation and support which is already good from the OpenJDK side, and I do not find any problem currently. The OpenJDK community is not what we had earlier in the Java community, but it is acceptable. OpenJDK is already a part of our work.
For how long have I used the solution?
I have been using OpenJDK Java for around 1.5 years.
Which solution did I use previously and why did I switch?
I do not think we were using a different solution as we started using OpenJDK 21 when I joined this project within our organization which was a product development. The upper management was using this only.
What was our ROI?
I have seen a return on investment as I think a lot of money has been saved, but I do not have that number currently because higher management handles that in our organization.
What's my experience with pricing, setup cost, and licensing?
My experience with pricing, setup cost, and licensing was good.
Which other solutions did I evaluate?
I do not have the answer to whether we evaluated other options before choosing OpenJDK Java because I have been part of a development team, and higher management only chose this. We made use of it.
What other advice do I have?
The optimizations impacted our organization significantly since we were using Apache NiFi with OpenJDK 21, and our application throughput was really high. We were able to process 7,000 records per minute, so the throughput was really high and the performance was also good. The JVM was not running high and the performance was really good. I would rate this product a 9 overall.
Which deployment model are you using for this solution?
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Building diverse applications has empowered long-term innovation and reduced infrastructure costs
What is our primary use case?
A specific example of a project where I used OpenJDK Java is as one of the maintainers of the Pi4J project, which is a library that allows Java developers to interact with electronics connected to a Raspberry Pi. This is one of the main projects that I'm involved in as a pet project, where I also write all the documentation and the release notes for the Azul releases of the OpenJDK Java builds.
What is most valuable?
OpenJDK Java has positively impacted my organization by allowing us to build whatever we want. There are either libraries available to create any kind of application, or it's very easy to add functionality to solve specific issues or even create a library that you can share with the community to help others.
Specific outcomes that show how OpenJDK Java has benefited my organization include that with Azul, we have a lot of data about that. For instance, if you are using Kafka running on the Java runtime and you switch to another distribution of the Java runtime, such as the Zing runtime, then you can achieve up to a 30% cost reduction because you need fewer servers or a smaller deployment environment to achieve the same load and reduce your costs.
What needs improvement?
For how long have I used the solution?
What do I think about the stability of the solution?
What do I think about the scalability of the solution?
How are customer service and support?
Which solution did I use previously and why did I switch?
What was our ROI?
Which other solutions did I evaluate?
What other advice do I have?
Which deployment model are you using for this solution?
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Robust platform has supported secure wallet backends and reduced development costs
What is our primary use case?
In addition to my main use case, while studying, I used JDK to build backend logic for my personal project, which is a form-fill assist application.
What is most valuable?
This feature has helped my development process because creating too many objects can lead to an out of memory situation, but the garbage collection efficiently deletes unused memory.
OpenJDK Java stands out for its portability, as it runs on a write once, run everywhere principle due to its virtual memory and JVM, which converts every code into machine code, making it helpful to run code on any device.
OpenJDK Java has positively impacted my organization by providing a large number of resources to find issues and creating a large environment that helps in many areas.
Having a large environment and many resources has helped my team specifically when we tried to use Redis components, as we could consult previous blogs to maintain it, which was helpful for integrating other components into our code.
What needs improvement?
We would like to see better documentation of new features that are updated in OpenJDK Java.
It would be great to provide AI-related features and proper documentation to study OpenJDK Java.
For how long have I used the solution?
What do I think about the stability of the solution?
How are customer service and support?
Which solution did I use previously and why did I switch?
How was the initial setup?
What was our ROI?
What's my experience with pricing, setup cost, and licensing?
I do not have prior experience with pricing, setup cost, and licensing for OpenJDK Java.