A fatality inquiry report says Ahmad Abdalla had fired shots into the floor of the apartment before RCMP arrived and found him standing in a hallway.
The 24-year-old raised his gun and fired first, striking one officer and nearly hitting another.
The two officers returned fire and killed Abdalla.
Tests on the man's body showed there were alcohol and methamphetamines in his system.
Provincial court Judge James Jacques offered no recommendations in his report.
"In my view, the officers involved in this incident did precisely what they should have done under the circumstances."
He wrote that the two officers "saved not only their own lives, but those of their fellow officers by reacting rapidly and accurately to a deadly threat."
The Alberta Serious Incident Response Team also reviewed the shooting in 2012 and determined police were justified in the shooting and acted in self-defence.
ALSO ON HUFFPOST: