Region enablement
This section is optional and only required if you want to set up a multi-Region deployment. The solution initially deploys in a single hub Region. All additional AWS Regions enabled through this workflow become spoke Regions that can connect back to the hub Region for centralized management.
Enable a Region
-
Navigate to the MCS web console (see Launch the stack for details).
-
Select AWS Regions from the left navigation pane.
-
Choose Add Region in the top right corner.
-
Choose the spoke Region that you want to enable from the dropdown menu.
-
Choose Enable.
-
The Region appears in AWS Regions Enabled with an
ENABLING IN PROGRESSstatus.
Enabling the spoke Region takes approximately 5 minutes. After the process completes, the Region status changes to ENABLED.
Note
Spoke Regions inherit the same tags as the main Solution stack.
After enabling a spoke Region, you can deploy modules to it by following the detailed steps in Module enablement and choosing the spoke Region during module deployment.
The Enable Region API does the following:
-
Checks if the Region exists in the Regions DynamoDB table.
-
Updates Region status to
ENABLING IN PROGRESSin the Regions DynamoDB table. -
Provisions the spoke Region infrastructure Service Catalog product.
-
If the previous step is successful, updates the Region
provisioned_product_idattribute and status toENABLEDin the Regions DynamoDB table. Otherwise, sets the status toENABLE FAILED.
Disable a Region
Prerequisites
Before disabling a spoke Region, you must first disable all modules deployed in that Region. The system will prevent Region disabling if any modules are still enabled.
To disable modules, see Disable a module for detailed instructions on how to disable each module in the Region.
Steps to disable a Region
-
Navigate to the MCS web console (see Launch the stack for details).
-
Select AWS Regions from the left navigation pane.
-
Choose an enabled spoke Region to disable, and choose Disable Region.
-
Choose Confirm.
-
The Region appears in AWS Regions Enabled with a
DISABLING IN PROGRESSstatus.
Disabling the spoke Region takes approximately 5 minutes. After the process completes, the Region becomes available for re-enablement if needed.
The Disable Region API does the following:
-
Checks if the Region exists in the Regions DynamoDB table.
-
Checks if there are modules enabled in the Region in the Enabled Modules DynamoDB table. If so, an error is thrown.
-
Updates Region status to
DISABLING IN PROGRESSin the Regions DynamoDB table. -
Terminates the provisioned Service Catalog product.
-
If the previous step is successful, updates the Region
provisioned_product_idattribute to be empty and status toDISABLEDin the Regions DynamoDB table. Otherwise, sets the status toDISABLE FAILED.