===== On-premise installation vs. installation in the cloud ===== Lucy can be installed on-premise or in the internet on any cloud server. Reasons for installing on an external server in the internet are: * **Public IP address outside your network range**: Prevents your infrastructure from being blacklisted. * **Direct access**: The server will not be blocked by any security products already in place within your own infrastructure. * **Less possible conflicts with integration**: A LUCY server placed directly in the internet will be setup very fast as it does not require a complex integration process with your mail, DNS and firewall infrastructure * **Smaller attack surface**: As the LUCY server requires a web based access for end users from the internet (e.g. accessing their mails from mobile devices), you might need to punch a hole in your firewall and allow inbound access to a LUCY server. If you place LUCY in the intranet (see [[network_communication_-_lucy_--_internet|this chapter]]), your might violate your zone concept. Reasons for installing LUCY on premises are: * **Integration with certain features**: LUCY comes with different API's such as the[[ldap_integration| LDAP API]], the [[api|REST API]] etc. which are common for backend applications that are usually not exposed to the internet. * **Security**: LUCY might store sensitive data like windows login, user names, emails etc. within the database. Integrating the LUCY server in the internal protection layers (IDS, FW etc.) will minimize the risks of successful attacks. ===== Where to place LUCY in an on-premise installation? ===== You can place LUCY in the intranet or within a secured zone (DMZ). If you want to allow external users (e.g. mobile users with smartphones) to access LUCY's websites (attack simulations or e-learning), an installation in the intranet is not recommended for security reasons. The web server would be directly accessible from the Internet. In case of a vulnerability in the system or application, an attacker would have direct access to the intranet via the LUCY server. In such a case you should install LUCY in a separate zone. In that case you could consider using one LUCY instance only as a reverse proxy in that zone, and install the main application within the intranet as a "master instance". This configuration is described [[setting_up_a_lucy_master_slave|here]]. ===== On premise installation technical checklist ===== Please consult [[installation_checklist|this chapter]].