The future smart factory is based on Industry5.0, which is adding concepts such as human-centric (helping workers with technology) and resilient (lead time reduction) to the extension of the 4th industrial revolution. Several key concepts are (1) multi-sourced data transmission, storage, and analysis; (2) individualized human-machine interaction; and (3) virtual space and object simulations. These future smart-factory concepts can be realized by a "metafactory" platform, driven by cloud and digital twin technology. For those who want to start a manufacturing business or upgrade a production line, this metafactory platform service will change the whole factory life cycle. Before building a real factory, a virtual factory is built and used for production optimization, control software virtual commissioning, and remote operation.