EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

MicroStrategy on AWS Environment Termination


Community Admin

• Strategy


In order to prevent from accidental and irreversible environment termination, a new workflow has been introduced for CloudFormation-v21 for MicroStrategy on AWS.

Description
On Strategy on AWS users had the ability to terminate their environments directly from the console by simply typing the name of their environment and clicking terminate.
 

ka04W000001Ix4mQAC_0EM2R000000le5f.jpeg

The environments would also be terminated 24 hours after they expire without further confirmation that the user would like it to terminate.
 

ka04W000001Ix4mQAC_0EM2R000000le5z.jpeg

With environment termination being permanent and irreversible, Strategy on AWS has implemented a new workflow to prevent accidental terminations in the future.
New Workflow
For all new environments as well as existing environments upgraded to CloudFormation-v21, environment termination will follow the steps below:
In CloudFormation on the AWS console the environment stack will have termination protection enabled by default:
 

ka04W000001Ix4mQAC_0EM2R000000le64.jpeg

When attempting to terminate via the Provisioning Console a pop-up will be displayed allowing for a termination email to be sent to the environment owner:
 

ka04W000001Ix4mQAC_0EM2R000000le69.jpeg

Clicking "Send" will send an email to the environment owner asking for permission to authorize termination:
 

ka04W000001Ix4mQAC_0EM2R000000le6E.jpeg

Clicking "Authorize Termination" will disable termination protection on CloudFormation and allow the environment to be terminated normally.
 

ka04W000001Ix4mQAC_0EM2R000000le6J.jpeg

A change has been made to the automatic termination of expired environments. If the environment expires an email will be sent to the environment owner prompting them to authorize termination on the environment. If the button is clicked, this will remove termination protection from the CloudFormation stack and it will be terminated 48 hours after the expiration time. If the owner does not want the environment to be terminated they will need to access the Strategy on AWS Provisioning console and extend the expiration.
 

ka04W000001Ix4mQAC_0EM2R000000le8A.jpeg


 

For existing environments:


For any environments that have existed prior to 8/23/19, termination protection will need to be enabled manually either in CloudFormation as shown below or through the attached Python script.
 

ka04W000001Ix4mQAC_0EM2R000000llJB.jpeg


 

ka04W000001Ix4mQAC_0EM2R000000llJG.jpeg

The Python script that is attached can be used to perform this action programmatically. A user will need to be created with the correct policy (an existing one can be used as well if it has permission to alter termination protection for CloudFormation). The user's secret key and access keys will be used in the script to access the CloudFormation stack and enable termination protection.
 


Comment

0 comments

Details

Knowledge Article

Published:

August 13, 2019

Last Updated:

August 23, 2019