The enhanced automation of the shipping industry has increased the demand of real data exchange. The ship-owners are looking more and more to optimize the operational cost of ship, to monitor remotely the cargo and to ensure a satisfactory level of safety and security, in compliance with the international maritime organization requirements. As per international convention for the safety of life at sea requirements, a conventional ship must carry a global maritime distress safety system, depending on the sea areas where it is operating. We assume that assuring a reliable communication service in the shipping industry is a challenging issue, in an era of internet of things and the need for a ship to be continuously connected to its ecosystem. This connectivity should be with a high data rate transmission. However, the future implementation of autonomous ship beside the existing conventional ship as an alternative for a sustainable maritime industry, requires the implementation of a reliable and cost-effective communication carrier, capable to transfer operational data on live basis from ship-to-ship and from ship-to-shore without interruption with a very low latency. To achieve this goal, we propose in this work, the implementation of 5G network as a maritime communication carrier, using unmanned aerial vehicle base stations, which are placed at optimum positions. This placement results in a maximization of uplink and downlink communication data rate, low latency and efficient optimization of transmission power. These make of 5G a potential maritime communication service carrier, capable to support the safe operation of deep-sea conventional vessels and the future deployment of autonomous ships.