Overview
Pushing a log line over basic auth
A curl push to the Loki HTTP API through the nginx reverse proxy, authenticated with the per instance basic auth credentials.
Pushing a log line over basic auth
Querying logs with logcli
Loki ready and metrics endpoints
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Grafana Loki Log Aggregation - Pre-configured AMI with24/7 Support
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview
Grafana Loki is the open source log aggregation system from Grafana Labs. It indexes only metadata labels rather than full log content, which keeps storage costs low and operations simple, and pairs naturally with Grafana for visualization. This AMI delivers Loki fully installed and configured so a complete log ingestion endpoint is running within minutes of launch. The current release available is Loki 3.
Built for DevOps engineers and platform teams running workloads on AWS who need a self-hosted, cost-effective alternative to full-text indexing log systems - without the multi-hour manual setup.
Logging Stack
- Grafana Loki running as a systemd service in single binary, single tenant mode with a filesystem chunk store
- An nginx reverse proxy on port 80 fronting the Loki HTTP API, protecting push and query endpoints with HTTP basic authentication
- The companion logcli command line query tool preinstalled for ad hoc log exploration
Unlike deploying Loki from scratch - which requires configuring storage backends, writing systemd units, setting up authentication, and provisioning volumes - this AMI handles all of that at launch.
Secure First Boot
On the first boot of your instance, a one-shot service generates a fresh basic authentication password unique to that instance, writes the bcrypt hash into the nginx htpasswd file, and stores the plain text value in a root-only file. No shared or default credentials ship in the image. This means your log ingestion endpoint is never left open - unlike many community images that ship with no authentication layer at all.
Dedicated Storage Tier
Loki chunks, rules, and the write-ahead log live on a separate, independently resizable EBS volume mounted at the Loki data directory. The log storage tier is kept off the operating system disk so it can be grown without disturbing the rest of the instance. This eliminates the common failure mode of log data filling the root volume and crashing the OS.
Ready To Use
The Loki service, nginx reverse proxy, configuration, data directory, and per-instance credentials are all prepared. Point any Loki client (Promtail, Vector, Fluent Bit, the Grafana Loki data source) at the public address with the generated credentials and start ingesting logs immediately.
Use Cases
Multi-region microservices logging: Deploy one Loki instance per AWS region to ingest logs locally with basic auth, then query across regions from a central Grafana dashboard. Teams running 10-50 microservices can consolidate logs without shipping data cross-region during ingestion.
Self-hosted log backend for Grafana dashboards: Teams already using Grafana for metrics visualization can add Loki as a native log data source, correlating logs and metrics in a single pane without adopting a separate managed logging service.
Cost-effective long retention of high-volume logs: Because Loki indexes only labels rather than full log lines, storage consumption is significantly lower than full-text indexing systems - making it practical to retain months of logs on EBS.
Alerting on log patterns: Use the built-in Loki ruler to fire alerts based on LogQL queries, enabling pattern-based alerting without an external rules engine.
Get Started
To discuss label design strategy, retention policy planning, or a guided deployment walkthrough before purchasing, contact cloudimg support at support@cloudimg.co.uk . Our engineers can help you plan your logging architecture and get to first log ingestion as quickly as possible.
cloudimg Support
24/7 technical support by email and chat. Expert assistance with Loki deployment, label design, retention policy, multi-tenant migration, and client integration. 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
- Grafana Loki preinstalled and ready, with an nginx reverse proxy on port 80 fronting the push and query API, plus the logcli command line tool, and no manual setup required
- Hardened first boot generates a fresh HTTP basic authentication password for every instance and stores it in a file only the root user can read, so the log ingestion endpoint is never left open
- 24/7 technical support from cloudimg, with expert assistance for Loki deployment, label design, retention tuning and log client integration
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 |
u7i-12tb.224xlarge | u7i-12tb.224xlarge instance type | $0.24 |
g7e.24xlarge | g7e.24xlarge instance type | $0.24 |
c8id.96xlarge | c8id.96xlarge instance type | $0.24 |
g6f.2xlarge | g6f.2xlarge instance type | $0.24 |
c7i-flex.large | c7i-flex.large instance type | $0.08 |
c7i-flex.8xlarge | c7i-flex.8xlarge instance type | $0.24 |
g4dn.2xlarge | g4dn.2xlarge instance type | $0.24 |
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 Grafana Loki 3 log aggregation system.
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). Grafana Loki is fronted by an nginx reverse proxy on port 80 with HTTP basic authentication. Retrieve the generated basic auth password with: sudo cat /root/loki-credentials.txt. The user name is 'cloudimg'. Push logs with: curl -u cloudimg:<password> -X POST http://<instance-public-ip>/loki/api/v1/push (Content-Type application/json). Restrict port 80 to trusted networks or load balancers. The Loki API also listens on port 3100 on the loopback for local logcli queries.
Resources
Vendor resources
Support
Vendor support
cloudimg Support
cloudimg provides 24/7 technical support for this Grafana Loki AMI by email and live chat.
Contact: support@cloudimg.co.uk
What we help with:
- Initial deployment and instance sizing guidance
- Loki configuration, label design, and retention policy tuning
- Nginx reverse proxy and authentication troubleshooting
- Log client integration (Promtail, Vector, Fluent Bit, Grafana data source)
- EBS volume resizing and storage tier management
- Multi-tenant migration planning
- Performance tuning and troubleshooting
- Software updates and security patching guidance
Response times: Critical issues receive a one-hour average response.
Deployment assistance: If you need help planning your logging architecture before or after purchase - including label design strategy, recommended instance types for your log volume, or a guided deployment walkthrough - contact us at support@cloudimg.co.uk and our engineers will assist.
Refunds and billing: For questions about charges, billing, or refund requests, contact support@cloudimg.co.uk with your AWS account ID and instance details.
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.