تخطي إلى المحتوى الرئيسي
Microsoft
separator
https://catalogartifact.azureedge.net/publicartifacts/lynxroute.suitecrm-403ab816-7630-4649-b5f5-c86731513188/image3_Azureready.png

SuiteCRM - Hardened Self-Hosted Open Source CRM

بواسطة Lynxroute

SuiteCRM 7.15.2 - CIS Level 1 hardened self-hosted CRM on Ubuntu 24.04 LTS (PHP + MySQL)

What is SuiteCRM

SuiteCRM is a free, open-source Customer Relationship Management platform implemented in PHP 8.3, served by Nginx with PHP-FPM over MySQL 8.0. It covers the full revenue pipeline - accounts, contacts, leads, opportunities, cases, campaigns, quotes, calendar, projects, reports and dashboards - with role-based access control, security groups, multi-currency support, custom modules and fields via Studio, workflow automation, a built-in scheduler for background jobs, and email-to-record handling. SuiteCRM connects to any standard SMTP relay, reads inbound mail over IMAP, supports SSO via OAuth2 and LDAP, and exposes a V8 REST API for integrations. This image ships the AGPL-3.0 edition and runs entirely on the VM you launch - no external account, subscription, license key or activation handshake is required. AGPL-3.0 license, fully auditable, no vendor lock-in.

Why self-host SuiteCRM

Running SuiteCRM on a VM you control keeps your customer data inside your own Azure tenant rather than a managed SaaS CRM. Self-hosting suits teams with data residency requirements, organisations under GDPR or ISO 27001, and any architecture where the CRM must sit next to the workloads and mail systems it serves. You administer it entirely through the browser over HTTPS.

What this VM image adds

Security hardening:

  • A per-instance SuiteCRM admin password is generated at first boot - never a default or baked-in password; written to /root/suitecrm-credentials.txt (mode 0600)
  • The silent install runs once at first boot and is then locked - install.php is restricted and config_si.php removed, so no setup wizard is exposed on the public internet
  • MySQL 8.0 listens on 127.0.0.1 only; the database user password is generated per instance
  • Self-signed TLS at first boot - HTTPS on TCP 443 with a per-instance certificate; no shared private key is baked into the image
  • certbot and the Nginx plugin pre-installed - one-command CA-signed HTTPS to replace the self-signed certificate
  • PHP-FPM workers and the MySQL InnoDB buffer pool auto-sized to the VM RAM at first boot
  • The background scheduler runs as a managed systemd timer - workflows, scheduled reports and inbound email, with no manual cron setup
  • UFW firewall - SSH on 22 and HTTPS on 443 only; for a Let's Encrypt certificate run sudo ufw allow 80/tcp first; Azure IMDS and WireServer egress pre-configured
  • fail2ban - SSH brute-force protection
  • AppArmor - mandatory access control
  • CVE scan - every image is scanned with Trivy before release

OS hardening (CIS Level 1):

  • CIS Ubuntu 24.04 LTS Level 1 Benchmark via ansible-lockdown
  • auditd for system call auditing of critical paths
  • SSH hardening - PasswordAuthentication disabled, key-only access, PermitRootLogin no, LoginGraceTime 60
  • Kernel hardening - SYN cookies, ASLR, rp_filter, kexec disabled, IPv6 off
  • /tmp as tmpfs with nosuid, nodev, noexec

Compliance artifacts (inside the VM):

  • SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json with SuiteCRM pinned by version, AGPL-3.0 license and SHA-256 hash
  • CIS Conformance Report at /etc/lynxroute/cis-report.html (OpenSCAP, Azure tailoring profile, 0 FAIL rules)
  • Tailored CIS profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md

Quick Start

  1. Deploy VM from Azure Marketplace (Standard_D2s_v3 recommended)
  2. Open NSG: TCP 443 and TCP 22 from your trusted management IPs only - restrict 443 until you have logged in and changed the admin password
  3. SSH: ssh -i key.pem azureuser@<PUBLIC_IP>, then sudo cat /root/suitecrm-credentials.txt for the admin password
  4. On first boot the URL shows a "Starting up" splash for a few minutes while the schema and admin user are created; later boots are fast
  5. Open https://<PUBLIC_IP>/, accept the self-signed certificate warning, and log in as admin with the generated password
  6. Change the admin password immediately (Admin → User Management) and add your real users

The installer is locked after setup, MySQL is bound to localhost, and the admin password is generated per instance. Replace the self-signed certificate with certbot for production. Access to port 443 is governed by your Network Security Group - restrict it to trusted sources until the admin password is changed.

العربية (ليبيا)
أيقونة إلغاء الاشتراك في اختيارات خصوصيتك خيارات خصوصيتك
خصوصية صحة المستهلك خريطة الموقع اتصل بنا الخصوصية وملفات تعريف الارتباط شروط الاستخدام حول إعلاناتنا إدارة ملفات تعريف الارتباط