Added detach on public networks in EC2