cloud middleware