You can use GNS3 which is a suitable network simulator Container based where you can launch any nodes you want and make them execute wahtever you want.
If you realy want to test them on the cloud, you can use openstack, which is not that hard to install and configure.