def show_ec2_instances(username): instance_list = User.get_all_ec2_instances(username) if len(instance_list)!=0: return render_template("ec2_instances.html",instance_list=instance_list) else: return render_template("ec2_instances.html")