Apple said today it will spend 9 billion Danish crowns (€810m) on a new data centre in Denmark, its second in the Nordic country to run entirely on renewable energy.
Facebook in January also announced plans to build a data centre in Denmark, only its third outside of the US.
Apple said the data centre would begin operations in the second quarter of 2019 in Aabenraa in southern Denmark near the German border.
It will power Apple's online services, including the iTunes Store, App Store, iMessage, Maps and Siri for customers across Europe.
The company said the planned facility in Aabenraa will run on 100% renewable energy from day one, thanks to new clean energy sources it is adding.
Apple's first data centre in Denmark near the town of Viborg is due to begin operations later this year.
Meanwhile, Apple said a planned data centre in Athenry in Co Galway - announced in 2015 - had yet to begin construction.
"The proposed data centre is currently under judicial review," a spokeswoman said.
Denmark, a leader in wind power, has abundant supplies of wind energy as well biomass energy.