Overview
Services, version and network
Both Dgraph services and nginx active, Dgraph v25.3.8, and every database port bound to loopback with only nginx TLS on port 443 network-exposed.
Services, version and network
Graph round-trip
Authentication enforced
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
The Problem: Open Source Dgraph Ships Unsecured
A bare Dgraph deployment exposes full read, write, and admin access - including drop-all - to anyone who can reach the port. There is no built-in access control and no authentication out of the box. Hardening it yourself means installing packages, configuring a reverse proxy, generating credentials, and troubleshooting dependencies. This AMI eliminates that entire process.
How This AMI Solves It
Every instance generates two independent secrets on first boot - unique per machine and never baked into the image - and fronts the database with a TLS reverse proxy. You move from EC2 launch to a secured, authenticated graph database in minutes with zero manual configuration. Unlike a bare install, the alpha start wrapper is fail-closed: it refuses to start without a token, so the server can never run open.
Graph Database Stack
- Dgraph v25.3.8 running as two coordinated systemd services from a single Go binary: a cluster coordinator (zero) and a data node (alpha)
- Native GraphQL and DQL query languages over clean HTTP and gRPC endpoints, with schema indexes, ACID transactions, and data import/export
- nginx TLS reverse proxy on port 443 terminating HTTPS and enforcing HTTP basic authentication in front of the alpha HTTP API
- Dedicated EBS data volume for all graph state (raft WAL, postings), independently resizable from the root volume
Secure First Boot
On first launch a one-shot systemd service generates a per-instance nginx basic-auth username and password and a per-instance Dgraph admin security token, writing the plain-text values to a file readable only by the root OS user. Every request to the HTTP API is refused without the basic-auth credentials. Every administrative operation such as altering the schema additionally requires the security token, and admin access is restricted to the local host. The database processes bind only to the loopback interface and are reached solely through the nginx reverse proxy.
Security and Encryption Guidance
- Encryption in transit: nginx terminates TLS on port 443 with a per-instance self-signed certificate. Replace it with your own CA-signed certificate for production, or front the instance with a load balancer that terminates TLS.
- Encryption at rest: Enable EBS encryption on the dedicated data volume at launch to protect graph data with AWS-managed or customer-managed KMS keys.
- Network isolation: Deploy in a private VPC subnet and restrict Security Group ingress on port 443 to only the source IPs your workload requires. Ports 8080 and 9080 stay bound to loopback and are never network-exposed.
Getting Started
Retrieve the generated credentials with sudo cat /root/dgraph-info.txt, then call the HTTPS API with the basic-auth user and password. Set a schema with the admin token, run RDF or GraphQL mutations, and query the graph immediately.
Use Cases
- Knowledge graphs and recommendations: Query deeply joined relationships in milliseconds through the authenticated HTTPS endpoint while the admin token gates schema changes to your data pipeline only
- Identity and fraud-detection graphs
- Retrieval augmented generation (RAG) knowledge stores
- Social and network relationship graphs
- GraphQL application back ends
Why cloudimg Support
24/7 technical support by email and live chat. Our engineers assist with Dgraph deployment, schema and index design, TLS and reverse-proxy configuration, credential rotation, and performance tuning. Critical issues receive a one-hour average response time.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- Unlike a bare Dgraph install that exposes full admin access to anyone who can reach the port, this AMI launches a production-secured graph database with TLS encryption, HTTP basic authentication, and a fail-closed startup - eliminating hours of manual hardening. Native GraphQL and DQL over HTTP and gRPC with ACID transactions, schema indexes, and a dedicated EBS data volume for independently resizable storage.
- Per-instance security credentials generated on every first boot - never baked into the image and never shared across deployments. A unique HTTP basic-auth password controls all API access while a separate admin token restricts schema changes to authorized operators only. Database processes bind exclusively to loopback and are reachable only through the nginx TLS reverse proxy on port 443.
- 24/7 technical support from cloudimg engineers via email and live chat, with a one-hour average response on critical issues. Our team assists with schema and index design, TLS configuration, credential rotation, performance tuning, and EBS volume management - providing the hands-on expertise that a bare open-source install or self-managed deployment cannot offer.
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
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c5a.12xlarge | c5a.12xlarge instance type | $0.24 |
c5a.16xlarge | c5a.16xlarge instance type | $0.24 |
c5a.24xlarge | c5a.24xlarge instance type | $0.24 |
c5a.2xlarge | c5a.2xlarge instance type | $0.24 |
c5a.4xlarge | c5a.4xlarge instance type | $0.24 |
c5a.8xlarge | c5a.8xlarge instance type | $0.24 |
c5a.large | c5a.large instance type | $0.08 |
Vendor refund policy
Refunds available on request.
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 of Dgraph 25.3.8 distributed graph database.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant; on Ubuntu it is ubuntu). Retrieve the generated per-instance credentials with: sudo cat /root/dgraph-info.txt. The graph database HTTP API is served over HTTPS on port 443 behind an nginx reverse proxy with HTTP basic authentication (the TLS certificate is self-signed per instance, so use curl -k or trust it on clients). Health probe: curl -k https://<instance-public-ip>/healthz. Query: curl -k -u USER:PASS -H 'Content-Type: application/dql' -X POST https://<instance-public-ip>/query -d '{ q(func: has(name)) { name } }'. Admin operations such as altering the schema also require the security token: add -H 'X-Dgraph-AuthToken: TOKEN'. Ports 8080 and 9080 stay bound to loopback and are reached only through the proxy. Restrict Security Group ingress on port 443 to trusted networks and replace the self-signed certificate with your own for production.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this Dgraph AMI product.
Support Channels
- Email: support@cloudimg.co.uk
- Live chat: available around the clock
Response Times
Critical issues receive a one-hour average response. Our engineers work with you until resolution on deployment blockers, data access problems, and service outages.
Scope of Support
Our team assists with:
- Initial Dgraph deployment and configuration
- Schema, predicate and index design
- GraphQL and DQL query help
- TLS and nginx reverse-proxy configuration
- Per-instance credential retrieval and rotation guidance
- Dedicated EBS data volume management
- Performance tuning for your workload
- Troubleshooting connectivity and access issues
Refunds and Billing
For billing questions or refund requests, contact support@cloudimg.co.uk with your AWS account ID and instance details.
Getting Started
After launching your instance, retrieve your unique Dgraph credentials from the root-only file on the instance. If you need help locating credentials or running your first query, our support team is ready to assist immediately via email or chat.
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.