For Login Use ownCloud Admin username and password which you have enter during cloudformation setup.
You need to accept the Certificate (Self-signed).
Shell/terminal 1. sudo chmod 400 "yourpemkeyname.pem"
2. ssh -i "yourpemkeyname.pem"ubuntu@yourinstanceip
MySQL Terminal Login mysql -u root -p "instance-id"