To connect to Beeline from web console, please run these commands
beeline !connect jdbc:hive2://ip-172-31-13-154.ec2.internal:10000 YOUR_USER_NAME org.apache.hive.jdbc.HiveDriver
Where ip-172-31-13-154.ec2.internal is the Hive Host and 10000 is the HiveServer2 Port. YOUR_USER_NAME is your username in CloudxLab. You can find Hive host and port in Ambari.
After connection is established, you can run all the commands in beeline shell.