Typical Placement in Infrastructure
Description
Depending on the tasks and operational requirements, Altcraft can be deployed in different ways. This page presents several simplified and most common deployment schemes in a customer’s infrastructure. These diagrams are intended for general reference and help to understand the basic principles of system design, on the basis of which a specific architecture is then formed according to project requirements. Key components in the diagrams:
- Control server — server(s) hosting Altcraft services and databases.
- Sending server — server(s) hosting the
akmtadandnodeservices, which are part of Altcraft. - MTA (Mail/Message Transfer Agent) — the
akmtadmail agent included in Altcraft, responsible for email delivery. - Web resources — the customer’s or partners’ web resources where visitor tracking is performed.
- Users — system users: administrators, marketers, designers, etc.
- Applications — external or internal customer services that interact with Altcraft.
- Cloud messaging — cloud services for sending PUSH notifications (Google Firebase, Apple APNs, etc.).
- Subscribers — end users: buyers, subscribers, website visitors. In Altcraft they are tracked as profiles.
- Email services (ISP) — email providers (e.g., Gmail, Yandex, etc.) that receive email messages.
Regardless of the deployment method, the following questions must be addressed in advance:
- Which domain will be used for the control panel?
- Which domain will be used for tracking, pixel?
- Which domains will be used for From and MAIL FROM in email mailings?
Without Load Balancing
This scheme is suitable for the following cases:
- test or pilot deployment;
- deployment in external networks;
- implementation in small organizations;
- working with relatively small volumes of email mailings.
If necessary, access to the control panel and API can be restricted to the internal network. A distinctive feature of this scheme is SSL termination handled by Altcraft itself — the certificate is placed inside the service.
At the moment, Altcraft runs three separate Nginx instances, which requires three IP addresses on the server. Otherwise, launching on the same ports will cause conflicts.
The MTA interacts with ISPs directly, which allows the use of bypass mechanisms (various retry rules for automatic resending).
At least two IP addresses are required for sending. Depending on mailing volume and content type, more addresses may be needed to increase delivery speed and improve deliverability.