Megaforce Records is an independent record label .
Ride the Lightning is the second studio album by American heavy metal band Metallica , released on July 27 , 1984 , by the independent record label Megaforce Records .