Like: when you give examples of something
(your sister looks like you/it tastes like chocolate cookies)
As: when you compare two things with each other. Could be a comparison from different times or years.
(In England they drive on the left, as do we in Australia)
(She sings to me at night, as my mother used to do when I was little).