There might be times you want to destroy a microservice or application that is already running on Marathon either because you want to free up some resources or because you would like to redeploy the application with a different set of Marathon configurations. This can be easily achieved from the application-specific page in Marathon.
Open the Marathon web interface in your browser, and navigate to the geolocation application page. If you don't have the application up and running, use JSON mode and deploy the application using the JSON that was used in previous recipe Scaling your Microservice in Marathon.
Marathon applications can either be suspended or destroyed. Suspended applications can be redeployed, while destroyed applications cannot. Click on the button that looks like a gear. This button has two options: Suspend and Destroy. Let's try to suspend the application:
As you can see, the status of the application is marked...