Listing Thumbnail

    Hardened OpenJDK 17 on Ubuntu 24.04

     Info
    Deployed on AWS
    AWS Free Tier
    This is a repackaged open source software product wherein additional charges apply for security hardening, optimization, and pre-integration of the OpenJDK 17 toolchain provided by Hanwei. AppArmor is active, SSH is hardened and key-only, auditd is active, kernel and resource limits are tuned for EC2, and java and javac are preinstalled.

    Overview

    Charges for this image cover the security hardening, optimization, and pre-integration work Hanwei performs on top of the upstream OpenJDK 17 and Ubuntu 24.04 LTS projects. OpenJDK 17 is installed during the image build and java and javac are on PATH at first boot, while the operating system underneath is configured to a fixed hardened and tuned baseline and validated on EC2 before publication. The base is Ubuntu 24.04 LTS, whose standard security maintenance runs to 2029.

    What Hanwei Adds to Upstream OpenJDK 17

    • Toolchain installed at build time: the full JDK is installed rather than the runtime alone, so java, javac, jar, jshell and the diagnostic tools jcmd, jstack and jmap are all present on PATH.
    • Build dependencies preinstalled: gcc, pkg-config and the OpenSSL development headers are present, so native libraries reached through JNI and build plugins that compile native code work without further setup.
    • Tuning baseline applied identically across the catalogue: the file descriptor limit goes from 1024 to 65536 and the memory-map ceiling from 65530 to 262144; the device receive backlog goes from 1000 to 16384 and the TCP SYN backlog from 128 to 8192, so bursts queue instead of being dropped; socket buffer maxima reach 16 MB for larger autotuned windows; connections keep their congestion window across idle periods; and the journal is capped at 500 MB. The profile raises ceilings only and does not alter protocol semantics or application behaviour.
    • Applied hardening beyond the distribution default: SSH is limited to a vetted cipher, key exchange and MAC list, X11 forwarding is off, the login grace period is shortened and verbose authentication logging is on; auditd runs a base rule set for privileged command execution; the kernel drops ICMP redirects on IPv4 and IPv6, logs martian packets, filters reverse paths in loose mode, restricts dmesg and turns off sysrq.
    • AWS operational integration: the SSM Agent is installed and enabled for Session Manager and Patch Manager without an inbound SSH rule; chrony points at the Amazon Time Sync Service; and the root filesystem extends at boot when the volume exceeds the image default.
    • Patch level set at the build date: packages come from official upstream repositories at the newest level published when the image was built.
    • Repeatable build and EC2 validation: each version comes from the same build process and is launched and exercised on EC2 before release.

    Access and Security Posture

    • AppArmor is active and auditd records activity against a base rule set.
    • Sign in as 'ubuntu' with the key pair selected at launch, then use 'sudo su -' for a root shell. Session Manager is available as an alternative that needs no inbound port.
    • Direct root login over SSH is disabled and password authentication is not accepted.
    • No authorized keys and no SSH private keys are embedded in the image.

    Operational Impact on EC2

    • Launch-to-first-build time is reduced to a single boot cycle.
    • Every instance starts from an identical configuration, removing drift between development, staging and production hosts.
    • Network services need no per-host limit or backlog adjustment before handling load.
    • Clock accuracy comes from the Amazon Time Sync Service, which matters for log correlation and request signing.
    • Post-launch patching effort is lower because the package set is current at release.

    Where This Image Fits

    • JVM services on teams standardised on Ubuntu LTS rather than an RPM distribution.
    • Build and CI hosts that compile Java projects with Maven or Gradle.
    • Development instances for teams working on Java 17 codebases.
    • Workloads that need Ubuntu package availability alongside a supported LTS JDK.

    About OpenJDK 17 and Ubuntu 24.04 LTS

    OpenJDK 17 is a long-term support release of the Java platform. It carries sealed classes, pattern matching for instanceof, records, switch expressions and the strongly encapsulated JDK internals introduced through JEP 403, plus the ZGC and Shenandoah collectors for latency-sensitive workloads. As an LTS release it receives security updates for a longer window than the interim releases, which is why it remains a common target for server applications and build pipelines.

    Ubuntu 24.04 LTS is a long-term support release with standard security maintenance through 2029. It uses apt and systemd, enables AppArmor by default, and carries a large package archive with broad third-party support, which is why it is often the assumed target for tooling and vendor documentation. The login account is 'ubuntu' with sudo.

    Highlights

    • WHAT IS PACKAGED - This image provides the full OpenJDK 17 development kit rather than the runtime alone, so java, javac, jar, jshell and the jcmd, jstack and jmap diagnostic tools are on PATH at first boot, on an Ubuntu 24.04 LTS base with security maintenance through 2029.
    • HOW THE BASELINE IS HARDENED AND TUNED - AppArmor active, root login locked and SSH limited to key-based authentication with a vetted cipher, key exchange and MAC list. auditd runs a base rule set for privileged commands. The kernel drops ICMP redirects, logs martian packets and restricts dmesg. The file descriptor limit goes from 1024 to 65536 and the memory-map ceiling from 65530 to 262144; receive and SYN backlogs are enlarged and socket buffers reach 16 MB.
    • HOW IT FITS AWS OPERATIONS - The SSM Agent is installed and enabled, so instances can be managed through Session Manager and Patch Manager without an inbound SSH rule. chrony is pointed at the Amazon Time Sync Service, the root filesystem extends automatically when the volume exceeds the image default, and cloud-init handles user-data provisioning in launch templates and Auto Scaling groups.

    Details

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    Ubuntu 24

    Deployed on AWS
    New

    Introducing multi-product solutions

    You can now purchase comprehensive solutions tailored to use cases and industries.

    Multi-product solutions

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Hardened OpenJDK 17 on Ubuntu 24.04

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time. Alternatively, you can pay upfront for a contract, which typically covers your anticipated usage for the contract duration. Any usage beyond contract will incur additional usage-based costs.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.
    If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier  for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier  for more details.

    Usage costs (557)

     Info
    • ...
    Dimension
    Cost/hour
    t3.medium
    Recommended
    $0.04
    t2.micro
    $0.04
    t3.micro
    $0.04
    c7i.8xlarge
    $0.39
    d3.xlarge
    $0.09
    c6a.32xlarge
    $0.99
    r6in.metal
    $0.99
    inf2.24xlarge
    $0.99
    c5ad.large
    $0.09
    g6.xlarge
    $0.29

    AI Insights

     Info

    Dimensions summary

    You pay by the hour for this hardened OpenJDK 17 image running on Ubuntu 24.04. Pricing is not tiered; instead, each dimension maps to a specific Amazon EC2 instance type. The hourly software rate follows the instance you pick. Smaller instances like t2.nano or t3.micro carry lower hourly rates. Larger compute, memory, storage, and accelerated instances (for example c7i, r7iz, x1e, and GPU or inference families) carry higher rates that reflect their size and capacity. You choose the instance that fits your workload, and billing scales with the hours you run it.

    Top-of-mind questions for buyers

    The hourly rate covers the hardened OpenJDK 17 software packaged on Ubuntu 24.04. It does not include the underlying EC2 compute cost. You pay that instance charge and any storage or data transfer fees to AWS separately, on the same running instance.
    The software rate meters running time only. A fully stopped instance does not accrue the hourly software charge. Restart it and hourly billing resumes. Stopped instances may still incur AWS storage fees for attached volumes, but those are separate from the software rate.
    Yes. Each dimension maps to one EC2 instance type, and the hourly software rate is tied to that instance. Switching to a larger family or size means the rate for the new instance applies from the hours you run it. There is no blended or averaged rate.
    www.proimage.cloud
    Helpful?

    Vendor refund policy

    no refunds

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    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

    Updated to the latest

    Additional details

    Usage instructions

    ssh as user 'ubuntu' to the running instance and use sudo to run commands requiring root access.

    Use 'sudo su - ' to switch to root.

    Use the command 'java -version' to check the Java version.

    Please allow SSH port 22 to limited IPs for access.

    Resources

    Vendor resources

    Support

    Vendor support

    If you encounter problems in the process of using the system, please feel free to contact us by email prosupport@hanweie.com , thank you.

    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.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.