You need a CPU with fast single core speed which is quite hard to find in the cloud.
Or give the bulk import script a try. Importers for large forums
There is one for Vanilla: discourse/script/bulk_import/vanilla.rb at main · discourse/discourse · GitHub