Overview
This is a repackaged open source software product wherein additional charges apply for a hardened, AWS-optimized image with verifiable provenance evidence and maintenance. PostgreSQL 18 with pgvector 0.8 runs on an Ubuntu 24.04 LTS base tuned for Amazon EC2, with a documented set of security settings applied on top and a complete provenance evidence pack including a Software Bill of Materials (SBOM).
Value-Added Features
PostgreSQL 18 with pgvector 0.8 Deployment:
-
Vector Search Built In: pgvector adds vector columns, exact nearest-neighbor search and approximate indexes (HNSW and IVFFlat) inside PostgreSQL, so embeddings live next to relational data in one ACID-compliant engine.
-
Pre-Enabled in the Template Database: The extension is enabled in the template database, so every database created afterwards can store embeddings without another step.
-
Official Upstream Packaging: PostgreSQL 18 is installed from the official PGDG repository rather than a distribution backport.
Comprehensive Evidence Pack:
Every AMI carries an 8-file provenance evidence pack under /opt/optimization-report/:
- Tuning_Parameters.txt: Every tuning change, shown against its base-image value, with the reasoning and how to reverse it.
- Security_Parameters.txt: All 31 security settings in the same format; the 10 already at the wanted value are marked unchanged rather than presented as improvements.
- package_changes.txt: Packages upgraded, installed and removed versus the base image.
- sbom.spdx.json: Software Bill of Materials in SPDX format, generated from the dpkg database.
- cve_scan.txt / cve_scan_full.txt.gz: Vulnerability scan grouped by whether an upstream fix exists, so unfixable findings are not counted against the image.
- key_files.sha256: SHA-256 checksums of all 7 files this image changed, so the delivered state can be verified in one command.
- README.txt: Index of artifact contents and operational guidance.
Security & Attack Surface:
-
Kernel Network Hardening: 19 network-related kernel parameters are fixed in /etc/sysctl.d/99-security.conf: ICMP redirects are neither accepted nor sent, source-routed packets are rejected, and the rest are pinned at safe values so they cannot drift.
-
Unused Kernel Modules Disabled: 12 rarely used filesystem and network protocol modules are blocked from loading via /etc/modprobe.d/99-disable-unused.conf. squashfs stays available so snap-packaged agents keep working.
-
SSH Login Window Tightened: LoginGraceTime is reduced from 120 to 60 seconds. Root login policy, authentication retries and forwarding are left as the base image ships them.
-
Fully Patched at Release: Zero packages carried an available upstream fix at build time, including updates Ubuntu was still phasing in, and superseded kernel packages were removed rather than left behind.
AWS Network & Kernel Tuning:
-
Network Stack: TCP BBR congestion control with fair queueing, increased connection backlogs, raised socket buffer ceilings, and MTU probing enabled. Ceilings are only ever raised, never lowered.
-
System Tuning: tuned daemon active with an aws-optimized profile whose bootloader section is deliberately empty, so the kernel command line carries no net.ifnames entry and the network interface keeps its original name after a reboot - verified on this instance family.
-
Reliability: The systemd journal is capped at 200 MB so logs cannot fill the root filesystem, and superseded kernels are cleaned up automatically.
Operational Tools:
- Preinstalled Tools: AWS SSM Agent active, CloudWatch Agent installed (disabled by default).
Maintenance:
- Maintenance Specifications: Rebuilt and updated bi-weekly to monthly incorporating upstream PostgreSQL and Ubuntu 24.04 security updates, with artifact documentation refreshed per release.
About PostgreSQL
One of the world's most advanced open-source relational database systems, paired here with pgvector for vector data types and similarity search. It backs transactional applications built with Django, Spring Boot, FastAPI and Node.js, and removes the need for a separate vector database in most RAG, semantic search and recommendation architectures.
About Ubuntu 24.04 LTS
The most widely deployed Linux distribution in the cloud, built on the Debian foundation, with a five-year maintenance window for LTS releases and broad ecosystem compatibility across the tooling these workloads depend on.
Highlights
- PostgreSQL 18 with pgvector on an AWS-Optimized Ubuntu 24.04 Base: 19 security-related kernel parameters, 12 blocked modules and a tightened SSH login window applied on top, with the database software and its configuration untouched.
- Verifiable Evidence Pack and SBOM: An 8-file evidence pack ships inside the image, with an SPDX Software Bill of Materials, a CVE scan grouped by upstream fix availability, a package delta report, and SHA-256 checksums of every file the image changed.
- PostgreSQL 18: Best-practice deployment. Installed from the official PGDG repository with pgvector pre-enabled in the template database, on an EC2-tuned base with TCP BBR, rebuilt bi-weekly to monthly with upstream security patches.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.medium Recommended | $0.04 |
t3.micro | $0.03 |
t2.micro | $0.03 |
r7a.medium | $0.04 |
g5.48xlarge | $0.68 |
g6.16xlarge | $0.68 |
r5n.12xlarge | $0.68 |
x8aedz.large | $0.12 |
m8azn.xlarge | $0.19 |
m5ad.12xlarge | $0.68 |
Vendor refund policy
No refunds. Cancel anytime.
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
Latest Updates
Additional details
Usage instructions
Connection Methods
Once launched, SSH into the instance. The default username is 'ubuntu'. You can switch to the root user environment by running: sudo su -
Install Information
-
OS: Ubuntu 24.04 LTS (x86_64, Minimal Installation)
-
PostgreSQL: 18
-
pgvector: 0.8 (pre-enabled in the template1 and postgres databases - every new database automatically includes the vector extension)
-
Config File: '/etc/postgresql/18/main/postgresql.conf' and '/etc/postgresql/18/main/pg_hba.conf'
-
Data Directory: /var/lib/postgresql/18/main/
Usage Instructions
-
Access the database (peer authentication): Log in locally by running: sudo -u postgres psql
-
Verify pgvector: Inside the psql prompt, run: SELECT extversion FROM pg_extension WHERE extname = 'vector'; Databases you create with CREATE DATABASE automatically include the extension - no CREATE EXTENSION step is needed.
-
Remote or password access (optional): By default PostgreSQL listens on localhost only. To enable password authentication and remote access, edit '/etc/postgresql/18/main/postgresql.conf' (listen_addresses) and '/etc/postgresql/18/main/pg_hba.conf' (authentication rules), restart the service, and open port 5432 in the Security Group.
-
Manage the service: Use 'sudo systemctl start/stop/restart/status postgresql@18-main' to control the database service.
-
View logs: Server logs are written to /var/log/postgresql/
Firewall Configuration
-
SSH (Port 22): Required for initial system access.
-
PostgreSQL Database (Port 5432): Required for client connections to the database (localhost only by default; see step 3 to enable remote access).
-
Security Recommendation: For production environments, strictly limit access to these ports to trusted IP addresses only via cloud Security Groups or the local firewall.
Support
Vendor support
Should you encounter any issues while using the system, please do not hesitate to contact us via email at: support@easyclouds.io ,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
