Instance Configuration Requirements

Overview:

When setting up your AWS instance, you’ll need to configure a few key options. Here’s a detailed guide on the recommended configurations and selections.

 

1. Instance Type

The smallest instance type we recommend for this image is:

  • t3a.small – 2 virtual CPUs and 2 GB memory.
  • t3.small – 2 virtual CPUs and 2 GB memory.

A t3a.small runs the full stack: the billing panel, its background worker, its scheduler, the database and the cache. It suits evaluation and a hosting business getting started. As your client base and order volume grow, choose a larger type. Here’s a quick reference table to help you decide:

CPU / Memory Suitable for
2 CPU cores / 2 GB Evaluation, and a hosting business getting started
2 CPU cores / 4 GB An established business billing hundreds of clients
2 CPU cores / 8 GB A larger business with thousands of services and many active extensions

For more details on different instance types and configurations, refer to the AWS Instance Types documentation.

 

2. Storage Space

The default allocated storage size for our AMI. You may specify the necessary storage size when launching a new instance or change it after deployment.

20 GB (default)

A billing panel grows on disk through its database, which keeps every client, order, invoice and payment, and through the invoice PDFs and ticket attachments it stores. Allow room for years of history rather than for the first month.

 

3. Ports Configuration

To ensure smooth operation of your installation, open the inbound ports below. These three are all that this image needs.

Please note: the database does not need an open port, and must not be given one. MariaDB and the cache run on a private network inside the instance and are reachable only by the application. Opening port 3306 to the internet would expose your clients’ personal and billing records, and is not required for anything.

 

Inbound Ports:

 

Type Protocol Port Range Source Why
SSH TCP 22 0.0.0.0/0 To run the one-click installer and the domain setup tool. Restrict this to your own address if you can.
HTTP TCP 80 0.0.0.0/0 Reaching Paymenter before you add a domain, and SSL certificate validation afterwards.
HTTPS TCP 443 0.0.0.0/0 Required once you associate a domain. Your clients will be paying invoices and entering personal details, so serve it over HTTPS.

Outbound Ports:

Outbound access is needed to download the application on first boot, to obtain and renew your SSL certificate, to send email through your own provider, and to reach your payment gateways and the servers Paymenter provisions. The default AWS security group allows all outbound traffic, and no change is required.

 

4. Important Notes:

  • Paymenter sends no email until you set up outgoing mail.
    Mail is switched off when Paymenter is first installed. Your clients receive no invoices, reminders or notices until you enter your SMTP server details in the admin panel.
  • Mail Sending Restrictions:
    AWS restricts outbound email on port 25 from EC2 instances by default. Paymenter sends through the SMTP server you configure, usually on port 587 or 465, which is not affected.

 

CONTENTS