DCA Hardened Images

Meilisearch (Hardened) on Amazon Linux 2023

Meilisearch on Amazon Linux 2023, security-hardened for production: minimal package set, SSH key-only access, IMDSv2-only, production mode with a per-instance master key generated on first boot (never baked into the image), and continuously patched images. This product has charges associated with it for image hardening, maintenance, and support.

View on AWS Marketplace

Why this image

About

Meilisearch (Hardened) on Amazon Linux 2023 is a production-ready, security-hardened image of the Meilisearch lightning-fast search engine, maintained and supported by Derek Coleman & Associates Inc.

This is repackaged open-source software. Meilisearch is developed by Meili SAS and the Meilisearch community and is distributed under the MIT license. Meilisearch is a trademark of Meili SAS; this listing is not endorsed by or affiliated with Meili SAS. This product bundles Meilisearch built from unmodified upstream source on a hardened Amazon Linux 2023 base; the charges associated with this listing are for image hardening, continuous patching, vulnerability scanning, and business-day support - not for the underlying open-source software, which remains free.

Hardening baseline: minimal package footprint, SSH key-only access (password authentication disabled), IMDSv2 enforced, Meilisearch running in production mode bound to 127.0.0.1:7700 with a unique master key generated per instance on first boot (stored root-only at /etc/meilisearch.env - no key is ever baked into the image). Opening port 7700 to trusted CIDRs is a deliberate customer step. Images are rebuilt, scanned for HIGH and CRITICAL vulnerabilities, and republished on a regular cadence so that new launches start current. Manage the service with systemd: sudo systemctl restart meilisearch.

Pricing (hourly usage, AWS Marketplace)

Instance typeSizeSoftware price
c7i.xlarge4 vCPU / 8 GiB$0.46/hr
c7i.2xlarge8 vCPU / 16 GiB$0.92/hr
c7i.4xlarge16 vCPU / 32 GiB$1.84/hr

Recommended: c7i.xlarge. AWS infrastructure charges are separate and billed by AWS. Charges stop when instances are terminated. No subscription, no minimum.

Getting started

1. Launch from AWS Marketplace (1-Click or EC2 console).
2. Connect via SSH with your EC2 key pair: ssh -i <key> ec2-user@<public-ip>. Root login is disabled; use sudo.
3. Meilisearch runs in production mode on 127.0.0.1:7700. meilisearch-firstboot.service writes a per-instance master key to /etc/meilisearch.env on first boot; read it with: sudo grep MEILI_MASTER_KEY /etc/meilisearch.env, then create API keys via the /keys endpoint. Every request needs Authorization: Bearer <key>. Data: /var/lib/meilisearch/data (dumps and snapshots alongside).
4. To serve clients, open TCP 7700 to trusted CIDRs only.
5. Verify: sudo systemctl status meilisearch.
6. Sensitive data: the only secret is the per-instance master key in /etc/meilisearch.env (generated on first boot; never shipped in the image). To rotate: stop meilisearch, write a new MEILI_MASTER_KEY, start, then re-issue API keys.
7. Backup: snapshot the EBS volume (it contains all configuration and data).
8. Resources: a single instance uses 1 EC2 instance and 1 gp3 EBS volume; no other AWS resources are created.
9. Support: support@dcassociatesgroup.com.

Support

Email support@dcassociatesgroup.com — business-day response. Covers image operation, the hardening baseline, and launch issues. See support.