Overview
This AMI runs the community edition of the Hasura GraphQL Engine (v2) with a PostgreSQL 17 database on Ubuntu 24.04 LTS. The container images are pinned to hasura/graphql-engine v2.51.4-ce and PostgreSQL 17.11 and baked into the AMI, so first start does not depend on a registry. Hasura is an independent project and Perimattic is not affiliated with it.
Why Hasura?
Hasura gives you a GraphQL API (queries, mutations and live subscriptions) over PostgreSQL tables and views without writing a server, with role-based permissions, event triggers that call your webhooks, remote schemas and actions for your own business logic, and a web console to manage it all.
What Perimattic adds
Pinned, tested versions: Hasura and PostgreSQL are fixed to exact tags, not 'latest', so a rebuild never changes the application behind your back.
Locked before it is reachable: a Hasura admin secret is generated on your server at first login (24 random characters). Every API call and the console need it, no anonymous role is configured, and setup checks that a wrong secret and an anonymous request are refused before the site is published. Hasura has no sign-up page and no user accounts. Telemetry is switched off. There are no default or shared credentials in the image.
HTTPS: Apache is configured as a reverse proxy, with WebSocket support for subscriptions, and a free Let's Encrypt certificate is requested for your domain with certbot. Hasura listens only on the loopback interface and PostgreSQL only inside the Docker network.
Patched base: Ubuntu 24.04 LTS built through an automated EC2 Image Builder pipeline, with security updates applied at build time.
Licence
This AMI contains the community edition of Hasura GraphQL Engine v2, whose source is released under the Apache License 2.0. It uses the '-ce' image, which excludes Hasura's commercial Enterprise Edition features (such as the ones unlocked by an Enterprise licence key). Those are separate products and are not included.
Getting Started Launch the AMI and open ports 22, 80 and 443 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain/console and paste the admin secret printed at the end of setup Connect your own database under Data, or build on the included PostgreSQL database
A domain name with an A record pointing at the instance is required, because the site is served over HTTPS. Hasura and PostgreSQL together use about 200 MB of memory when idle, so a t3.small (2 GB) is a good starting size; choose a larger size for heavy query or subscription load.
This AMI is built and supported by Perimattic.
Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations or email us at aws-support@perimattic.com .
Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
- Hasura GraphQL Engine v2.51.4 community edition (Apache-2.0) with PostgreSQL 17.11, both pinned and pre-installed: instant GraphQL APIs over your Postgres data, with a web console.
- Secure first login: a random 24-character admin secret is generated on your server, anonymous requests are refused, telemetry is off, HTTPS through Apache and Let's Encrypt, database not exposed.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.03 |
t3.micro | $0.03 |
c3.2xlarge | $0.03 |
c3.4xlarge | $0.03 |
c3.8xlarge | $0.03 |
c3.large | $0.03 |
c3.xlarge | $0.03 |
c4.2xlarge | $0.03 |
c4.4xlarge | $0.03 |
c4.8xlarge | $0.03 |
Vendor refund policy
For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com
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
Initial release.
- Application: Hasura v2.51.4-ce (container image pinned, baked into the AMI).
- Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
- TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
- Credentials are generated on the instance at first login; none are present in the image.
- A random admin secret is generated at first login; setup verifies it works and that anonymous and wrong-secret requests are refused before the site is published. No anonymous role is configured.
- Edition: Hasura GraphQL Engine v2 community edition (the -ce image, Apache-2.0); Enterprise Edition features are not included. Telemetry is off.
- Database: PostgreSQL 17.11 (pinned), reachable only inside the Docker network; it holds Hasura's metadata and is the first data source.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.
-
Choose the Recommended Instance Type
t3.small (2 GB of memory) is the recommended starting size: Hasura and PostgreSQL together use about 200 MB when idle. Choose t3.medium or larger for heavy query or subscription load.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - terminal access for setup
- 80 (HTTP) - needed to validate your domain for the TLS certificate
- 443 (HTTPS) - access to Hasura
-
Point a domain at the instance
Create a DNS A record (for example api.example.com) pointing to the instance's public IP before you log in.
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Login Setup
The first SSH login runs a guided setup:
- Prompts for your domain and admin email and checks the DNS A record
- Generates a random 24-character admin secret and database password on your server
- Starts Hasura and PostgreSQL, then checks that the admin secret works and that a wrong secret and an anonymous request are refused
- Configures Apache as an HTTPS reverse proxy and requests a Let's Encrypt certificate
- Prints the console URL, the GraphQL endpoint and the admin secret; they are also stored in /opt/app/access.txt (root only)
If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.
-
Access Hasura
Open https://<your-domain>/console, paste the admin secret printed at the end of setup into the admin secret box (view it again with: sudo cat /opt/app/access.txt) and press Enter. The GraphQL endpoint is https://<your-domain>/v1/graphql; send the secret in the x-hasura-admin-secret header.
-
Credentials
Generated on your server, never shared between customers. View them again with:
sudo cat /opt/app/access.txt
-
Manage the Services
cd /opt/app sudo docker compose ps sudo docker compose restart
Hasura has no user accounts: give your applications access through roles and permissions with a JWT secret or an auth webhook (HASURA_GRAPHQL_JWT_SECRET or HASURA_GRAPHQL_AUTH_HOOK in /opt/app/docker-compose.yml, then sudo docker compose up -d), and never put the admin secret in a browser or mobile app. Data is kept in /opt/app/postgres; back it up or snapshot the volume before upgrades.
Thank you for subscribing.
Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:
Email us: aws-support@perimattic.com WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >
We offer free setup assistance, custom development and integrations, and infrastructure consulting.
Resources
Support
Vendor support
Support by Perimattic
Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.
Contact Channels: Email: aws-support@perimattic.com WhatsApp: +91-92142 66896 Website: <www.perimattic.com >
What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance
Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation.
Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly.
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
