This paper presents the results of an international collaboration on the analysis of the production of green hydrogen for a fleet of fuel cell electric vehicle mining trucks for use in a remote open-pit copper mine in Peru. For this research, HOMER Pro® microgrid software was used to simulate, optimize, and analyze the renewable energy system integration into the operation of fueling a fleet of 300-tonne mining trucks for the copper mine based on a 30-year life of the remote mine. The optimization results shows that the electrolyzer provided a mean output of 29.4 kg/h per truck for an operational schedule of 8,097 h/y with 46.4 kWh/kg specific energy. The system architecture of the green hydrogen production microgrid includes wind turbines, AC-DC bidirectional power converters, a battery energy storage system, electrolyzers, and compressed hydrogen storage tanks. The two loads were the electric load for the balance of plant and the hydrogen load to fuel the fleet of mining trucks. To meet the two loads, the optimized microgrid powered one 1,505 kW electrolyzer having a specific energy of 46.4 kWh/kg resulting in a mean hydrogen output of 29.4 kg/h to fuel one 300-tonne mining truck.