Added EC2 server code