(written from a Production point of view)
Dubai is the largest city in the United Arab Emirates and the capital of the Emirate of Dubai. In October 2015, several locations in Dubai were used as filming locations for Star Trek Beyond, directed by Justin Lin. The locations stood-in to represent the interiors/exterior scenes at Starbase Yorktown.
On 26 June 2015, David Ellison revealed Dubai as a filming location.   An open casting call in August and an internship program by the Dubai Film and TV Commission confirmed the location filming date of October 2015.  
In October 2015, filming started in Dubai. Filming locations included the desert reserve Platinum Heritage and the Dubai Central Park Towers ground in front of the Central Park Tower and the Platinum Tower. 
Other projects filmed on location in Dubai include the thriller Syriana (2005, with Christopher Plummer and Robert Foxworth) and, the drama Wall Street: Money Never Sleeps (2010, with Frank Langella), the action sequel Mission: Impossible - Ghost Protocol (2011, produced by J.J. Abrams, Bryan Burk, Jeffrey Chernov, David Ellison, Dana Goldberg, Tommy Harper, Ben Rosenblatt, and Paul Schwake and starring Simon Pegg), the action thriller Killer Elite (2011), the science fiction sequel Independence Day: Resurgence (2016, with Brent Spiner), and the science fiction thriller Geostorm (2017).