Overview
PiGallery2 sign-in
The PiGallery2 sign-in page, served over TLS with a per-instance administrator login generated on first boot.
PiGallery2 sign-in
Photo gallery grid
Photo lightbox
Administration settings
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
A Private Photo Gallery, Live in Minutes
PiGallery2 is a fast, self-hosted, directory-first photo gallery and management server. Point it at a folder of photos and videos and it serves a modern browser gallery that preserves your directory structure, generates thumbnails, reads EXIF metadata, and adds search, maps, face grouping, and secure sharing. Browse and share a personal or team photo library from any device - without handing your photos to a third-party cloud.
This AMI delivers PiGallery2 fully installed and hardened so a working gallery is operational within minutes of launch. No manual package installation, no Node.js version management, and no service configuration required. A small set of sample photos is included so the gallery is populated the moment you sign in; replace them with your own photos in the gallery folder documented in the deployment guide.
Why This AMI Instead of Self-Deploying
Deploying PiGallery2 yourself - whether via the official Docker image or a manual Node.js install - still requires you to configure TLS termination, set up persistent storage, harden the default administrator account, and manage ongoing upgrades. This AMI eliminates that operational burden:
- TLS from first boot: nginx terminates HTTPS on port 443 with a self-signed certificate regenerated per instance; no manual certificate setup needed to start securely.
- No shared default credentials: The stock PiGallery2 deployment creates a well-known default admin account. This image generates a unique administrator password on every first boot, stored only as a salted one-way hash.
- Dedicated data volume: Photos, thumbnail cache, and SQLite index live on an independently resizable EBS volume separate from the OS disk.
- Included support: 24/7 cloudimg engineers handle upgrades, TLS with real domains, and troubleshooting.
Secure by Default
Unlike a bare PiGallery2 deployment that ships a well-known default administrator, this image turns authentication on and generates a unique credential on each instance's first boot. Only a salted one-way hash of the password is written to the configuration, while the plain password is placed in a root-only file for the administrator to retrieve. No two deployments share a login and there is no open gallery to discover.
Application Stack
- PiGallery2 - Node.js photo gallery server, bound to the loopback interface only
- nginx - reverse proxy terminating TLS on port 443; port 80 redirects to HTTPS
- ffmpeg - installed so video thumbnails work out of the box
- SQLite - index and thumbnail cache on a dedicated data volume
- Runs as an unprivileged system user under systemd for automatic restarts and clean logging
Getting Started
- Launch the AMI on an m5.large or larger and open ports 80 and 443 in your security group
- SSH into the instance and read the generated admin login: sudo cat /root/pigallery2-credentials.txt
- Open your browser to https:/// and accept the self-signed certificate
- Sign in with the administrator username and password from the credentials file
- Add your own photos to /var/lib/pigallery2/images on the data volume, then browse the gallery to index them
- Follow the deployment guide to point a domain, install a CA-signed certificate, and configure sharing
24/7 cloudimg Support
Every deployment is backed by cloudimg engineers available around the clock via email and live chat. Support covers initial deployment and instance sizing guidance, TLS termination with a real domain and certificate, adding and organizing photo libraries, PiGallery2 upgrades, and general troubleshooting. Critical issues receive a one-hour average response time.
This AMI uses standard AWS pay-as-you-go infrastructure billing. Launch an instance to evaluate the gallery and terminate at any time with no long-term commitment.
PiGallery2 is a trademark of its respective owner. 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
- Launch a production-ready photo gallery in minutes, not hours. Unlike self-deploying PiGallery2 via Docker or manual Node.js install - where you must configure TLS, set up persistent volumes, and harden credentials yourself - this AMI delivers a fully operational gallery on first boot. Directory-first browsing preserves your folder structure with thumbnails, EXIF search, maps, face grouping, and secure sharing ready immediately.
- Secure by default - unlike the stock PiGallery2 deployment which ships a well-known default administrator account that leaves your gallery open to anyone who finds it. This AMI enables authentication automatically and generates a unique administrator password on every first boot, stored only as a salted one-way hash in the configuration. The plain credential is placed in a root-only file for you to retrieve.
- 24/7 technical support from cloudimg engineers via email and live chat, with a one-hour average response time for critical issues. Support covers the full lifecycle: deployment guidance, instance sizing, TLS setup with your real domain and CA-signed certificate, photo library organization, PiGallery2 upgrades, and general troubleshooting.
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 PiGallery2, a fast self-hosted, directory-first photo gallery and management server.
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'). PiGallery2 is served over HTTPS on port 443 through nginx (the server listens on 127.0.0.1:8080); port 80 redirects to HTTPS. Retrieve the generated administrator login with: sudo cat /root/pigallery2-credentials.txt. Browse to https://<instance-public-ip>/, accept the per instance self signed certificate, and sign in with the username and password shown - authentication is enabled and a unique credential was created on first boot. The health endpoint http://<instance-public-ip>/healthz is open. Add your own photos to /var/lib/pigallery2/images on the dedicated data volume, then browse the gallery to index them. Services are managed with systemctl (pigallery2, nginx). To enable a real domain and certificate, follow the TLS section of the user guide.
Resources
Vendor resources
Support
Vendor support
cloudimg Support
cloudimg provides 24/7 technical support for this PiGallery2 AMI via email and live chat.
Contact: support@cloudimg.co.uk
Response Times:
- Critical issues (service down, data loss risk): one-hour average response
- General inquiries: responded to within business hours
Support Scope:
Our engineers assist with the full lifecycle of your PiGallery2 deployment:
- Initial deployment guidance and instance sizing recommendations
- TLS termination setup with a real domain and CA signed certificate
- Adding, organising and indexing photo and video libraries
- Configuring search, maps, face grouping and secure sharing
- PiGallery2 version upgrades and migration assistance
- Data volume management, backup and recovery
- nginx reverse proxy configuration and performance tuning
- Troubleshooting application errors and connectivity issues
Getting Help:
Email support@cloudimg.co.uk or use live chat with a description of your issue. Include your instance ID and AWS region to expedite troubleshooting.
Refunds:
If you experience issues with the product, contact support@cloudimg.co.uk . Our team will work to resolve your concern or assist with the refund process through AWS Marketplace.
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.