See Federal Rules of Criminal Procedure

Time, manner and conditions of taking depositions; costs; notice; use; objections; written interrogatories, Rule 15.

Subpoenas on taking depositions, Rule 17(f).