An Intrusion Response Approach for Elastic Applications Based on Reinforcement Learning