refactor EC2Node according to sky.api refactoring