Overview
This AMI runs Grocy, the self-hosted grocery and household management web application, on Ubuntu 24.04 LTS. You track groceries and stock on hand, expiry dates, recipes and meal plans, a shopping list, chores and tasks, with a barcode-friendly interface and a REST API. Version 4.7.1 is pinned and pre-installed in the AMI, so first start does not depend on a registry.
What Perimattic adds
No default login: a fresh Grocy ships with a built-in admin/admin account. During first-login setup this AMI replaces it, through Grocy's own database, with your own administrator and a random 24-character password generated on your server, before the site is published. Setup then checks that admin/admin, a blank password and a wrong password are refused, that there is no sign-up page, and that the REST API refuses anonymous visitors and made-up API keys. Apache provides HTTPS with a free Let's Encrypt certificate for your domain.
Limits you should know
This runs the community-maintained linuxserver.io image of Grocy, not an image published by the Grocy project itself (Grocy publishes no image of its own). No mail server is configured, so Grocy's own email features are not available until you add one. Grocy's barcode lookup contacts OpenFoodFacts only when you scan a barcode it does not already know. Grocy used well under 100 MB of memory in our tests, so a t3.small (2 GB) is the recommended starting size.
Licence and attribution
Built on the open-source Grocy (MIT licence), unmodified, packaged in the linuxserver.io community image. Not affiliated with, endorsed by, or sponsored by the Grocy project or linuxserver.io; Grocy is a trademark of its owner.
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 username) Open https://your-domain and sign in as your administrator with the password printed at the end of setup Add your first products, locations and a shopping list
A domain name with an A record pointing at the instance is required, because the site is served over HTTPS.
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
- Grocy 4.7.1 (MIT) pinned and pre-installed: household and grocery inventory, expiry tracking, recipes, meal planning, shopping lists, chores and a REST API.
- No default login: the built-in admin/admin account is replaced with your own administrator and a generated 24-character password before the site is published; sign-up and anonymous API access are refused. HTTPS through Apache and Let's Encrypt.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
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.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: Grocy 4.7.1 (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.
- The built-in admin/admin account is replaced with your own administrator and a random 24-character password generated at first login, before the site is published; setup verifies the default login, a blank password and anonymous API access are all refused.
- Grocy 4.7.1 (MIT, community-maintained linuxserver.io image) runs as an unprivileged user; there is no sign-up page.
- Grocy's barcode lookup contacts OpenFoodFacts only when you scan an unknown barcode; no other usage data is sent.
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 size: Grocy used well under 100 MB in our tests and the whole host under 1 GB. Choose a larger type only for a very large household or heavy API use.
-
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 Grocy
-
Point a domain at the instance
Create a DNS A record (for example grocy.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, admin username and admin email and checks the DNS A record
- Starts Grocy, lets it create its database on first visit, then replaces the built-in admin/admin account with your own administrator and a random 24-character password generated on your server
- Checks that the new password works, that admin/admin, a wrong password and a blank password are refused, that there is no sign-up page, and that the API refuses anonymous visitors and made-up API keys
- Configures Apache as an HTTPS reverse proxy and requests a Let's Encrypt certificate
- Prints the URL, username and password; 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 Grocy
Open https://<your-domain>/ and sign in with the username and password printed at the end of setup (view it again with: sudo cat /opt/app/access.txt).
-
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
Data (SQLite database, uploaded files, config.php) is in /opt/app/config. Back up all of /opt/app or take EBS snapshots. Add users in the top menu > Manage users; create API keys in the top menu > Manage API keys.
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
Vendor 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.