2 Replies Latest reply on Oct 28, 2016 4:50 AM by neirbowj

    CloudFormation Delete Stack operation fails

    neirbowj

      Upon tearing down a stack built according to the marketplace usage instructions for FileMaker Cloud (5 Users), with the template at

       

          https://s3.amazonaws.com/filemaker-cloud-nvirginia/FMCloud_SKU5.template

       

      the operations fails at the FMEC2Instance step with "The instance 'i-<instance ID here>' may not be terminated. Modify its 'disableApiTermination' instance attribute and try again." This prevents the later, dependent FMSecurityGroup step from completing too, with "resource sg-<resource ID here> has a dependent object"

        • 1. Re: CloudFormation Delete Stack operation fails
          greglane

          Hi John,

           

          FileMaker Cloud instances are created with instance protection turned on by default. You need to go to your EC2 dashboard, click on Instances, click on your running instance that you want to terminate, and then choose Instance Settings->Change Termination Protection from the Actions menu.

           

          Once you do this, you should be able to terminate the instance and/or delete the stack.

           

          Greg

          • 2. Re: CloudFormation Delete Stack operation fails
            neirbowj

            Greg,

             

            Thank you for your prompt response. I was able to figure out how to fix this shortly after my submission. The purpose of my post was to call attention to this rough edge in the FMCloud experience and leave some breadcrumbs for others who encounter this issue.

             

            -J