With the rapid advances in machine learning algorithms and sensing technologies, machine prognostics and health management (PHM) via data-driven approaches has become a trend in sophisticated machine tool industry. The run-to-failure data are necessary for data-driven approaches. However, the average life of the machine is two to three years, the time of collecting data is extended. It is a big challenge to collect run-to-failure data and build a PHM model. Therefore, we propose an Edge-based RNN Anomaly Detection Platform (ERADP). ERADP builds the model based on healthy data and notify anomalies two hours in advance. The true alarm rate is up to 100%. Besides, ERADP can accelerate the training time almost 120 times faster than the traditional model.