Listing Thumbnail

    Hardened Langfuse with Per-Instance Secrets on Ubuntu 24.04

     Info
    Deployed on AWS
    AWS Free Tier
    This product has charges associated with it for integration of Langfuse v4.77.0 with internal-only backend services, per-instance generated secrets, disabled self-registration, TLS with a certificate that follows the instance address, a 23-check verifier, and a tested Ubuntu 24.04 baseline on t3.xlarge.

    Overview

    This product provides Langfuse v4.77.0 on Ubuntu 24.04 (x86_64) with seller-written software that changes how the stack is exposed and which credentials it uses. The upstream quick-start configuration uses placeholder secrets and weak passwords, serves the web interface over plain HTTP, publishes MinIO and an optional AI gateway on all network interfaces, leaves self-registration on, and sends usage telemetry by default. This AMI keeps the upstream images unmodified and changes the configuration around them. The additional charges cover seller-performed integration, configuration and testing on the bounded baseline described below. Any support or maintenance offered by the seller is a supplementary service and is not the sole basis for the software charges.

    What the additional charges cover:

    • Internal-only backends: MinIO is not published to the network at all, the Langfuse web container is bound to the loopback address, and the optional AI gateway is not started. Only SSH and the web entry (80, redirecting to 443, and 443) are open; nginx terminates TLS.
    • Per-instance secrets: on first boot every secret is generated for the instance, including the NextAuth secret, the API key salt, the 256-bit encryption key and the PostgreSQL, ClickHouse, Redis and MinIO passwords. The file is readable only by root.
    • Self-registration and usage telemetry are switched off. Upstream's compose file does not pass the sign-up setting to the container; the override does, and a live probe confirms that sign-up is refused.
    • A first organisation, project, API key pair and administrator with a random password are created on first boot. The hanwei-langfuse command shows them, creates users and resets passwords, because registration is off and no e-mail service is configured.
    • A boot-time address service: the sign-in address and the self-signed certificate follow the instance's public IP, which changes when the instance is stopped and started. Commands set a fixed domain name.
    • All six images pinned by digest, and longer health-check allowances so that a first boot on a new volume starts reliably.
    • A verifier with 23 checks across operating system settings, Langfuse settings and licence files, including live probes and a check that the security settings reach the containers, with a JSON report. It runs hourly and reports drift; it does not revert changes.
    • Testing of the above on the stated baseline.

    Technical implementation:

    • A compose override file (docker-compose.hanwei.yml) is applied on top of a per-instance copy of the upstream compose file; the pristine upstream file is kept separately and never edited.
    • Services are started by langfuse-stack.service. sshd is configured for public-key login only.

    Included components:

    • Ubuntu 24.04.5 LTS (x86_64), Docker Engine 29.1.3, Docker Compose 2.40.3, nginx 1.24
    • Langfuse v4.77.0 web and worker images (MIT; parts under the Langfuse Enterprise License), unmodified
    • ClickHouse 26.3.62.3 (Apache-2.0), MinIO RELEASE.2026-11-09 (AGPL-3.0), Redis 7.4.12 (RSALv2 or SSPLv1), PostgreSQL 17.11, unmodified images
    • Hanwei Langfuse Guard 1.0.0 (seller software)

    Tested deployment baseline:

    • Instance type and hardware: t3.xlarge, 4 vCPU, 16 GiB memory, 100 GiB gp3 root volume. The containers used about 2 to 3.5 GiB of memory.
    • Operating system and architecture: Ubuntu 24.04.5 LTS, x86_64.
    • Functional checks: first boot on two separate instances launched from a new volume, the 23-check verifier, a port scan from a second instance showing only ports 22, 80 and 443 open, differing secrets and certificates between instances, sign-in from outside the instance, user creation and password reset, a trace sent over OpenTelemetry and read back, a change of public IP after stop and start, a custom domain name, two reboots, and detection of deliberately introduced misconfigurations.
    • Scope boundary: SDK integrations, evaluations, prompt management, datasets, the playground, dashboards, alerts, single sign-on, e-mail, other instance types, performance, scale, high availability, backups and upgrades were not tested.

    Highlights

    • 1. Every secret is generated per instance at first boot, self-registration is off, a first administrator and API key pair are created, and the certificate follows the instance address when its public IP changes.
    • 2. A 23-check verifier with live probes reports drift. Tested on t3.xlarge with two instances; SDK integrations, evaluations and media upload were not tested.

    Details

    Delivery method

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

    Latest version

    Operating system
    Ubuntu 24.04

    Deployed on AWS

    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 Langfuse with Per-Instance Secrets 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 (33)

     Info
    Dimension
    Cost/hour
    t3.xlarge
    Recommended
    $0.05
    t3.micro
    $0.05
    t2.micro
    $0.05
    t3.large
    $0.05
    t3.medium
    $0.05
    t3.nano
    $0.05
    t3.small
    $0.05
    t3a.large
    $0.05
    t3a.medium
    $0.05
    t3a.micro
    $0.05

    Vendor refund policy

    No Refund

    Custom pricing options

    Request a private offer to receive a custom quote.

    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

    Version v4.77.0 (Guard 1.0.0) - Initial Release (2026-11-10)

    This release provides Langfuse v4.77.0 on Ubuntu 24.04 with its supporting services reachable only inside the instance, a new set of random secrets generated on each instance's first boot, user self-registration switched off, and TLS with a per-instance certificate that follows the instance's address. It includes the seller-provided Hanwei Langfuse Guard 1.0.0. The configuration was tested on a t3.xlarge instance.

    Seller-provided technical value:

    • A compose override that stops publishing MinIO to the network, binds the Langfuse web container to the loopback address, and leaves the optional AI gateway out. Only SSH (22) and the web entry (80, redirecting to 443, and 443) listen on the network; nginx terminates TLS.
    • A first-boot initializer that generates every secret per instance (NextAuth secret, API key salt, 256-bit encryption key, and the PostgreSQL, ClickHouse, Redis and MinIO passwords), switches self-registration and usage telemetry off, and creates a first organisation, project, API key pair and administrator with a random password. Upstream's compose file does not pass the sign-up setting to the container; the override does.
    • A boot-time address service that sets the sign-in address and re-issues the self-signed certificate when the instance's public IP changes, and commands for a fixed domain name.
    • A command, hanwei-langfuse, to show the administrator account and the SDK keys, create users and reset passwords (no e-mail service is configured), and manage the address and certificate.
    • All six container images pinned by digest, and longer health-check allowances so that a first boot on a new volume starts reliably.
    • A verifier with 23 checks, including live probes (sign-up is refused, the API rejects missing and example keys, Redis, ClickHouse and PostgreSQL refuse anonymous access) and a check that the security settings reach the containers, with a JSON report. It runs hourly and reports drift; it does not revert changes.

    Included software:

    • Ubuntu 24.04.5 LTS (x86_64), Docker Engine 29.1.3, Docker Compose 2.40.3, nginx 1.24
    • Langfuse v4.77.0 web and worker (commit 514873470), unmodified images (MIT; parts under the Langfuse Enterprise License)
    • ClickHouse 26.3.62.3 (Apache-2.0), MinIO RELEASE.2026-11-09 (AGPL-3.0), Redis 7.4.12 (RSALv2 or SSPLv1), PostgreSQL 17.11, unmodified images
    • Hanwei Langfuse Guard 1.0.0

    Not included:

    • A language model, an enterprise licence, and the Langfuse AI gateway.

    Tested baseline:

    • Architecture: x86_64. Instance type: t3.xlarge (4 vCPU, 16 GiB), 100 GiB gp3.
    • Verification: two instances launched from this AMI were checked for first boot on a new volume, the 23-check verifier, a port scan from another instance, differences in generated secrets between instances, administrator and user sign-in from outside the instance, sending a trace over OpenTelemetry and reading it back, a change of public IP after stop and start, a custom domain name, reboot persistence, and detection of deliberately introduced misconfigurations.

    Customer responsibilities and limitations:

    • Langfuse v4 receives traces over OpenTelemetry; the legacy ingestion endpoint is not available in its default mode. Use a current Langfuse SDK or send OTLP/HTTP directly.
    • Features that give the browser or an SDK a pre-signed MinIO link do not work, because MinIO is not reachable from outside: the media upload endpoint returns a link to localhost:9090 (observed), and exports that are downloaded through such links are expected not to work.
    • SDK integrations, evaluations, prompt management, datasets, the playground, dashboards, alerts, single sign-on, e-mail, other instance types, performance, high availability, backups and upgrades were not tested.
    • The images contain parts of Langfuse that are governed by the Langfuse Enterprise License. This AMI includes no enterprise licence and does not enable enterprise features; use enterprise-only functionality only with your own licence from Langfuse. Redis 7.4 is source-available (RSALv2 or SSPLv1) and may not be offered to others as a managed service; MinIO is AGPL-3.0. See /usr/share/doc/hanwei-langfuse/THIRD-PARTY-IMAGES.md.
    • The certificate is self-signed. Open TCP 22 and TCP 443 only from your own address range, and from the machines that send traces.
    • Data is stored in Docker volumes on the root disk. No automatic backups. Snapshot the volume yourself.
    • Langfuse is a separate project, with ClickHouse, Inc. as copyright holder. The seller is not affiliated with it.

    Additional details

    Usage instructions

    Launch with your own EC2 key pair, a root volume of at least 100 GiB, and a Security Group that allows TCP 22 and TCP 443 only from your own address range and from the machines that send traces. After launch, allow about 5 minutes for the first boot to finish.

    SSH to the instance as ubuntu using the key pair selected at launch.

    Verify the delivered configuration:

    • sudo hanwei-langfuse-guard verify (23 checks; exit code 0 when all required checks pass)

    Sign in and get the SDK settings:

    • sudo hanwei-langfuse url, then open it in a browser (the browser will warn about the self-signed certificate).
    • sudo hanwei-langfuse admin prints the administrator e-mail and generated password. Change the password afterwards in the web interface.
    • sudo hanwei-langfuse credentials prints the host and the API key pair of the first project.

    Send traces:

    • Langfuse v4 receives OpenTelemetry data. Use a current Langfuse SDK, or send OTLP/HTTP to <host>/api/public/otel/v1/traces with the public key as the user name and the secret key as the password.

    Manage users and the address:

    • sudo hanwei-langfuse create-user <alice@example.com> MEMBER and sudo hanwei-langfuse reset-password <alice@example.com> (registration is off and no e-mail service is configured).
    • For an Elastic IP or a domain name run sudo hanwei-langfuse set-url <https://langfuse.example.com>.

    Security boundary:

    • Backends are reachable only inside the instance. Keep Security Group rules narrow, back up your data, and apply Ubuntu updates with sudo apt update && sudo apt upgrade. Documentation is at /usr/share/doc/hanwei-langfuse/.

    Support

    Vendor support

    For product technical support, please contact prosupport@hanweie.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.

    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.