Skip to content

Instantly share code, notes, and snippets.

@raspi
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raspi/9456614 to your computer and use it in GitHub Desktop.
Save raspi/9456614 to your computer and use it in GitHub Desktop.
Web hosting in ISP's perspective (WIP)

Existing software

  • CPanel
  • ISPConfig
  • Webmin

Base software

  • CoreOS
  • Docker (LXC containers)

Hierarcy

  • ISP (Admin)
    • Reseller
      • End user (customer)

Services

  • Email
    • Dovecot
    • Postfix
  • Web hosting
    • Apache 2
    • Nginx
    • Mongrel 2
  • DNS
    • BIND
    • PowerDNS
  • Database
    • MySQL
    • Maria
    • PostgreSQL
  • SFTP/SCP

Authentication

  • Uses OpenID for logging into the main dashboard
  • LDAP for combined authentication to services (scp, mysql, email, ..)
  • SMS?

Questions

  • One container per customer or per service?

Use cases

Customer can

  • Edit DNS entries
  • Add new email addresses for owned domains
  • Can pay directly via Paypal or such service
    • Pays for memory, CPU and disk usage only?
      • Resources are bought in advance
    • Possible to pay also for bandwidth, I/O, .. Reseller can
  • Put all or certain services of customer on hold for paying purposes
  • Can pay for customer ISP can
  • Put all or certain services of customer/reseller on hold for paying purposes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment