Installation

The installation follows the normal process of creating an instance on EC2. The recommended instance size is c5.large.

The security group generally includes the following permissions:

TypeProtocolPortsOrigin
Custome TCP ruleTCP20–210.0.0.0/0
(*) SSHTCP220.0.0.0/0
SMTPTCP250.0.0.0/0
DNSUDP530.0.0.0/0
HTTPTCP800.0.0.0/0
POP3TCP1100.0.0.0/0
NTPUDP1230.0.0.0/0
IMAPTCP1430.0.0.0/0
(*) HTTPSHTTPS4430.0.0.0/0
MYSQLTCP33060.0.0.0/0
(*) Custom TCP ruleTCP80000.0.0.0/0
Custom TCP ruleTCP12000-121000.0.0.0/0

The fields marked with (*) are essential, either to access the web interface or for the normal operation of the server.

Once the instance is run, we can access it using:

  • SSH: Using the .pem that we have selected when starting the instance.
  • HTTPS: Using the url https://ajenti.instance.ip:8000, with user root and as password, the ID of the instance that we just created.