AMS1117 33 sot223: is it ok with ceramic capacitors?
No, not necessarily. You can replace the electrolytic capacitor with an equivalent ceramic with a 0.33 or 0.5 ohm resistor in series. The datasheet only mentions tantalum capacitors and you should take that as an enormous red flag. Too-low ESR means that the regulator could be unstable or only conditionally stable (could oscillate under different load or temperature conditions). 

Note that a 22uF ceramic may not be equivalent to a 22uF electrolytic. Especially for smaller types run close to their rated voltage the capacitance can be much less than the marked value. Always check the capacitance vs. voltage curve for the proposed part.