US President Barack Obama urged fellow leaders of the G7 to stand up to "Russian aggression in Ukraine" as he enjoyed a traditional Bavarian welcome ahead of their summit in Germany.