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.
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 visualisation. This image 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.
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 fronts the Loki HTTP API and protects the push and query endpoints with HTTP basic authentication. The companion logcli command line query tool is preinstalled on the image for ad hoc log exploration.
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.
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.
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.
cloudimg Support 24/7 technical support by email and chat. Help with Loki deployment, label design, retention policy, multi tenant migration and client integration.
Use Cases Centralised application and infrastructure log aggregation. Self hosted log backend for Grafana dashboards. Cost effective long retention of high volume logs. Alerting on log patterns through the Loki ruler. Edge or per region log ingestion fronted by basic auth.
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 provides 24/7 technical support for this product by email and live chat. Our engineers help with deployment, configuration, updates, performance tuning and troubleshooting; critical issues receive a one hour average response. Contact support@cloudimg.co.uk .
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.