can i run ubantu server 18.04 LTS on flash drive or micro sd card?

i m trying to install ubantu on micro sd card of 16 gb (model-SDC4/16GB ). please help me with the steps to create bootable media. which tool should i use? my BIOS is in legacy mode. currently running windows 10 pro