That "edge" is the sourthern aurora by the way, which sits pretty far up in the atmospheric layers at about double the height planes fly at. 1/3rd of the way up.

The atmosphere actually continues another 2/3rds beyond that point, most low-earth satalites are still inside the atmosphere.