github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/intro/getting-started/teardown.html.md (about)

     1  ---
     2  layout: "intro"
     3  page_title: "Teardown"
     4  sidebar_current: "gettingstarted-teardown"
     5  description: |-
     6    In this step, we teardown all the resources we made with Otto.
     7  ---
     8  
     9  # Teardown
    10  
    11  During this getting started guide, we created a development environment,
    12  launched infrastructure, built an AMI, and deployed an application.
    13  This created a lot of real resources.
    14  
    15  Otto makes it just as simple to teardown all these resources. In this
    16  page, we'll do this as a final step to clean up everything we've done.
    17  
    18  -> **Important!** If you don't teardown the cloud resources, they will
    19     eventually cost you real money. Please make sure you teardown these
    20     resources.
    21  
    22  ## Teardown
    23  
    24  Run the following:
    25  
    26  1. `otto deploy destroy`
    27  1. `otto infra destroy`
    28  1. `otto dev destroy`
    29  
    30  The ordering of the deploy and infra steps is important. The dev
    31  environment can be destroyed at any time.
    32  
    33  At the end of all of these commands, the resources associated with
    34  each will be fully destroyed. Cloud resources and the local development
    35  environment are completely deleted.
    36  
    37  ## Next
    38  
    39  We've now completed the getting started guide. See
    40  [next steps](/intro/getting-started/next-steps.html) for what to do
    41  next with Otto.