I got myself into an all-in bet after the flop with AKs. It worked out okay for me, I won the showdown, but I know I didn't play correctly, considering the flop completely missed me.

Everyone at the table had about the same stack size (max buy-in):

I was delt AcKc

EP1: Call $0.10
EP2: Fold
EP3: Fold
MP1: Fold
Hero (MP2): Raise $0.40
LP1: Fold
LP2: Fold
SB: Fold
BB: Fold
EP1: Raise $0.70
Hero: Re-raise $1.70
EP1: Call

Pot: $5.05
Community cards: 4h 10d 9d

Hero: Bet $4.00
Villian: Raise All-in $8.20
Hero: Call, All-in, $2.20

Turn: 4h
River: Kh
The guy betting into me ended up having AQo. So I ended up winning with TPTK, but how should this hand have been played? Of course it worked out for me this time, but not everyone is going to bet into me with AQ off-suit.