The purpose of the article is to describe a prototype system for managing energy security in small ports based on the use of IT technology. Additional evaluation of the usability of the described sytem will be carried out based on the main pillars of the Industrial Revolution 4.0, which include the integration of advanced information technology (IT), automation (OT), "Internet of Things" (IoT) and artificial intelligence (AI) systems. This affects IT systems, which are becoming more complex and sophisticated all the time. This causes an increase in dependencies - the more complex the information system, the more complex the security must be.In the described system there will be the use of a modular system of hybrid installation of renewable energy sources mainly from wind energy, photovoltaics and biogas, stored in an energy storage. Based on the use of energy storage and management of technology through a secure intelligent information network, the needs for storage and secure transmission of information and data, green electricity production, in accordance with the priorities of the European Union (green energy, green transformation European data strategy) will be described. The article also presents the types of renewable energy sources (RES) in relation to the use of systems supporting their management. The author will also try to answer the question whether such measures will significantly strengthen the energy security of a modern organization.