Overview
This AMI runs Logto, the open-source identity and authentication platform, with PostgreSQL 17 on Ubuntu 24.04 LTS: sign-in and sign-up for your own applications using OpenID Connect and OAuth 2.0, users, roles and an administration console. The upstream vendor images, Logto 1.46.0 and PostgreSQL 17.11, are pinned and baked into the AMI, so first start does not depend on a registry.
What Perimattic adds
A closed administration console: a fresh Logto lets the first visitor to its administration console register as the administrator. At first login this AMI creates that administrator for you through Logto's own registration flow on the server's loopback port, before anything is published, using the username admin and a random 24-character password generated on your server. There are no default or shared credentials in the image. Apache provides HTTPS with a free Let's Encrypt certificate for your domain.
Limits you should know
TCP port 3002 must be opened in your security group, in addition to 22, 80 and 443, because the administration console is a separate application with its own address. No email or SMS connector is configured, so verification codes and password-reset messages do not work until you add your own connector in the console. The first-run survey of the open-source console is switched off and its address is blocked inside the container. Logto runs as the root user inside its container, which is isolated from the host. Data is stored in /opt/app/postgres on the root volume, so choose the root EBS volume size for your data and take EBS snapshots for backup. We tested the administrator sign-in through the full authorization-code flow; we did not test every console page or the management API beyond that.
Logto used about 400 to 460 MB of memory and PostgreSQL about 80 MB when idle, and the whole host about 0.9 to 1.0 GB; a t3.small (2 GB) passed all tests with about 1 GB free. A t3.medium (4 GB) is the recommended starting size.
Licence and attribution
Logto is released under the Mozilla Public License 2.0; the images are unmodified. PostgreSQL is released under the PostgreSQL License. Built on the open-source Logto (MPL-2.0). Not affiliated with, endorsed by, or sponsored by the Logto project; Logto is a trademark of its owner.
Getting Started Launch the AMI and open ports 22, 80, 443 and 3002 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain:3002 and sign in as admin with the password printed at the end of setup Create your applications and add your own email or SMS connector
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
- Logto 1.46.0 (MPL-2.0) with PostgreSQL 17.11, pinned and pre-installed: OpenID Connect and OAuth 2.0 sign-in for your applications on your own server. Port 3002 must be opened for the console.
- Secure first login: the administrator is created by setup with a random 24-character password and Logto closes administrator registration by itself; a second registration is 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
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 |
Dimensions summary
Top-of-mind questions for buyers
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: Logto 1.46.0 (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 administrator (username admin, random 24-character password) is created at first login through Logto's own registration flow on the loopback port before anything is published; Logto then closes administrator registration, and setup verifies that a second registration is refused, that a wrong password and a stranger are refused and that anonymous API requests are refused.
- Application: Logto 1.46.0 (MPL-2.0) with PostgreSQL 17.11, unmodified upstream images, pinned. The first-run survey endpoint is off.
- The administration console is on TCP port 3002, which must be opened. No email or SMS connector is configured.
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.medium (4 GB of memory) is the recommended starting size: Logto used about 400 to 460 MB and PostgreSQL about 80 MB when idle (the whole host about 0.9 to 1.0 GB), and a t3.small also passed all tests. Open TCP port 3002 for the administration console.
-
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 Logto
- 3002 - Logto administration console (HTTPS, same certificate) - must be opened
-
Point a domain at the instance
Create a DNS A record (for example auth.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 and admin email and checks the DNS A record
- Generates a random 24-character administrator password and a database password on your server
- Starts PostgreSQL, seeds the database with Logto's own command and starts Logto
- Creates the administrator through Logto's own registration flow on the loopback port, then checks that Logto closed administrator registration, that a second registration is refused, that a wrong password and a stranger are refused and that anonymous API requests are refused
- Configures Apache as an HTTPS reverse proxy for ports 443 and 3002 and requests a Let's Encrypt certificate
- Prints the console address and the administrator credentials; 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 Logto
Open https://<your-domain>:3002 and sign in as admin with the generated password (view it again with: sudo cat /opt/app/access.txt). TCP port 3002 must be open in your security group. Then create your applications; the sign-in service for your users is at https://<your-domain>.
-
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 is in the PostgreSQL database in /opt/app/postgres: back up all of /opt/app or snapshot the volume before upgrades. The administration console is on TCP port 3002, which must be open in your security group. No email or SMS connector is configured: add your own in the console before relying on verification codes or password resets. End-user sign-up in the default tenant is off until you enable it. This listing relies on factual use of the upstream name in the attribution notice only; the product is not affiliated with its project.
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.