Partial implementation of ec2 subsystem