Listing Thumbnail

    Hardened Ruby on CentOS Stream 9

     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 Ruby toolchain provided by Hanwei. SELinux is enforcing, SSH is hardened and key-only, auditd is active, kernel and resource limits are tuned for EC2, and ruby and gem are preinstalled.

    Overview

    Charges for this image cover the security hardening, optimization, and pre-integration work Hanwei performs on top of the upstream Ruby and CentOS Stream 9 projects. Ruby 3.0 is installed during the image build with RubyGems and the development headers, so ruby and gem 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. A subscriber launches the instance and can install gems and run applications immediately.

    What Hanwei Adds to Upstream Ruby

    • Interpreter installed at build time: Ruby 3.0 comes from the CentOS Stream 9 AppStream repository together with RubyGems and the ruby-devel headers, so ruby and gem are on PATH and the openssl extension is available.
    • Build dependencies preinstalled: gcc, make, pkgconf and the OpenSSL development headers are present, so gems with native extensions compile from source 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, disables setuid core dumps 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

    • SELinux runs in enforcing mode and auditd records activity against a base rule set.
    • Sign in as 'ec2-user' 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-run 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

    • Hosts running Ruby web applications and background job workers.
    • Build and CI hosts that install gem dependencies and run test suites against Ruby 3.0.
    • Automation and scripting hosts that rely on Ruby tooling.
    • Development instances for teams whose applications are validated against the 3.0 series.

    About Ruby and CentOS Stream 9

    Ruby is a dynamic, object-oriented language designed for programmer productivity, with a broad standard library and the RubyGems package ecosystem behind its web frameworks and tooling. Version 3.0 added Ractor for parallel execution, a scheduler interface for non-blocking fibers and the RBS language for type signatures, and it made case/in pattern matching a stable feature.

    CentOS Stream 9 is a Linux distribution that tracks the development stream of Red Hat Enterprise Linux 9. Packages land in CentOS Stream before they appear in a RHEL minor release, so it stays close to the RHEL package set and toolchain while remaining freely redistributable. It uses dnf, systemd and SELinux, which makes it a predictable base for server workloads that need RHEL compatibility.

    Highlights

    • WHAT IS PACKAGED - This image provides Ruby 3.0 with RubyGems and the development headers, installed at build time and on PATH, together with gcc, make, pkgconf and the OpenSSL headers so that gems with native extensions compile immediately.
    • HOW THE BASELINE IS HARDENED AND TUNED - SELinux enforcing, 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
    CentOs CentOS Stream 9

    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 Ruby on CentOS Stream 9

     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 (577)

     Info
    • ...
    Dimension
    Cost/hour
    t3.small
    Recommended
    $0.09
    t2.micro
    $0.09
    t3.micro
    $0.09
    m5n.16xlarge
    $0.99
    u-24tb1.112xlarge
    $0.39
    m4.4xlarge
    $0.29
    r5d.xlarge
    $0.19
    r7a.metal-48xl
    $0.99
    r6in.2xlarge
    $0.29
    h1.2xlarge
    $0.29

    AI Insights

     Info

    Dimensions summary

    You pay by the hour for Ruby running on a hardened CentOS Stream 9 image. Pricing has one structure: an hourly software rate tied to the EC2 instance type you launch. Each dimension names a specific instance size, from small burstable types up to large memory-, compute-, storage-, and accelerator-optimized machines. The hourly rate scales with the instance's capacity, so larger instances cost more per hour. You choose the instance that fits your workload. There is no upfront commitment; you are billed only for the hours you run.

    Top-of-mind questions for buyers

    Each unit is one running EC2 instance of the size you pick, billed per hour. The hourly rate covers the hardened CentOS Stream 9 image with Ruby installed. You choose the instance type that matches your workload, and the software charge is tied to that specific instance size.
    The hourly software charge applies only while the instance runs. A stopped instance does not accrue software charges. Stored volumes may still incur separate AWS storage fees, but the software license meters running hours only. You pay for the hours the instance is active.
    The hourly software rate scales with the instance's capacity. Moving from a small burstable type to a larger memory-, compute-, or accelerator-optimized instance raises the per-hour rate. The change takes effect when you launch the new instance size. You are billed at the rate for whichever type you run.
    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 'ec2-user' to the running instance and use sudo to run commands requiring root access.

    Use "sudo su - root" to switch to root.

    OS CentOS Stream 9.

    Use the command 'ruby -v' to check the ruby version. Ruby Version: ruby 3.0.

    Please allow SSH port 22 to limited IPs for access.

    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.

    Product comparison

     Info
    Updated weekly

    Customer reviews

     Info
    Sentiment is AI generated from actual customer reviews on AWS and G2
    Reviews
    Functionality
    Ease of use
    Customer service
    Cost effectiveness
    0 reviews
    Insufficient data
    Insufficient data
    Insufficient data
    Insufficient data
    15 reviews
    Insufficient data
    0 reviews
    Insufficient data
    Insufficient data
    Insufficient data
    Insufficient data
    Positive reviews
    Mixed reviews
    Negative reviews

    Overview

     Info
    AI generated from product descriptions
    Ruby Runtime Environment
    Ruby 3.0 with RubyGems and development headers preinstalled and on PATH at first boot, with gcc, make, pkgconf and OpenSSL development headers for native extension compilation
    Operating System Hardening
    SELinux enforcing mode, SSH restricted to key-based authentication with vetted cipher and key exchange algorithms, auditd active with base rule set for privileged command execution, and kernel protections against ICMP redirects and martian packets
    System Performance Tuning
    File descriptor limit increased to 65536, memory-map ceiling raised to 262144, device receive backlog set to 16384, TCP SYN backlog set to 8192, and socket buffer maxima configured to 16 MB
    AWS Integration
    SSM Agent installed and enabled for Session Manager and Patch Manager access, chrony configured to Amazon Time Sync Service, and automatic root filesystem extension when volume exceeds image default
    Build and Validation Process
    Ruby 3.0 installed from CentOS Stream 9 AppStream repository at build time with packages at newest upstream level, each image version validated on EC2 before release with repeatable build process
    Operating System Distribution
    CentOS Stream 9 based Linux distribution with enterprise-class functionality compatible with Red Hat Enterprise Linux
    Remote Desktop Access
    RDP based remote desktop environment for remote connectivity and management
    Pre-installed Development Tools
    Visual Studio Code integrated development environment included for software development
    Command Shell Environment
    Fish shell with command auto-suggestion and completion capabilities
    Web Browser
    Firefox browser included for web browsing and internet access
    Security Hardening Standard
    CIS Level 1 benchmark hardening validated via OpenSCAP with alignment to PCI DSS, FedRAMP, NIST, FISMA, and DoD Cloud Computing SRG compliance frameworks
    System Monitoring and Infrastructure Visibility
    Nagios Core configured for infrastructure monitoring including CPU, memory, disk, and network metrics
    Security Information and Event Management
    Wazuh Agent providing SIEM capabilities and intrusion detection functionality
    Host-based Firewall Configuration
    Pre-configured UFW firewall rules with robust password policies via libpam-pwquality and auditd system auditing
    Malware Detection and Prevention
    ClamAV integrated for malware scanning and threat detection

    Contract

     Info
    Standard contract

    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.