Update library/ec2

updated indentation and redundant comment.