Deepti, Ben pointed out, the log you posted has bad apt sources lines: http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com not http://us-east-1.ec2.us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com
Deepti, Ben pointed out, the log you posted has bad apt sources lines: us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com us-east- 1.ec2.us- east-1. ec2.archive. ubuntu. com.s3. amazonaws. com
http://
not
http://