While driving on an interstate on-ramp, I heard a loud bang from under my hood. I exited to the shoulder and as soon as I stopped, I heard a second, larger bang from the same area. Within a few seconds, flames started coming out of the engine compartment and began to fill the cabin of my vehicle from the area of the air vents and all through the dash. Within five minutes, the vehicle was fully engulfed in flames. I had no problems with the vehicle up to this point and the maintenance was up to date.