From 7f5241dd68432369c396834155dac725e451841c Mon Sep 17 00:00:00 2001 From: Anil Maktala Date: Fri, 7 Feb 2025 14:54:03 -0500 Subject: [PATCH 1/5] added indexes and other callouts --- .../deploy-and-host/sandbox-environments/setup/index.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx index 5507b808153..c773bf18938 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx @@ -35,8 +35,15 @@ You can use a personal cloud sandbox environment that provides an isolated devel Cloud sandbox environments are not intended for production workloads. +DynamoDB GSI operations are long-running. Therefore in a sandbox, when a customer deletes or modifies an index on a DynamoDB table, we drop the table and recreate it rather than modifying the GSI. + +Where supported, we use CDK hot swapping to speed deployment of resources such as Lambda functions and AppSync resolver templates. + +When the customer makes an unsupported change to their Cognito User Pool (e.g., deleting a required field), we drop the user pool and recreate it. + + ![How cloud sandbox environments work](/images/gen2/how-amplify-works/sandbox.png) ## Create a new sandbox environment From 7b227a93ff538fb326f9dec78851877ad9964f30 Mon Sep 17 00:00:00 2001 From: Anil Maktala Date: Mon, 10 Feb 2025 16:13:21 -0500 Subject: [PATCH 2/5] sandbox env additional callouts --- .../sandbox-environments/setup/index.mdx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx index c773bf18938..cfe3d34b1f0 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx @@ -33,13 +33,10 @@ You can use a personal cloud sandbox environment that provides an isolated devel -Cloud sandbox environments are not intended for production workloads. - -DynamoDB GSI operations are long-running. Therefore in a sandbox, when a customer deletes or modifies an index on a DynamoDB table, we drop the table and recreate it rather than modifying the GSI. - -Where supported, we use CDK hot swapping to speed deployment of resources such as Lambda functions and AppSync resolver templates. - -When the customer makes an unsupported change to their Cognito User Pool (e.g., deleting a required field), we drop the user pool and recreate it. +- **Cloud sandbox environments** are intended for development purposes and are not designed for production workloads. +- **DynamoDB GSI operations** are time-consuming, so when you delete or modify an index in a sandbox, Amplify drops and recreates the table instead of modifying the GSI. +- **CDK hot swapping** is used where supported to accelerate the deployment of resources such as Lambda functions and AppSync resolver templates. +- **Cognito User Pool changes:** If you make an unsupported change, such as deleting a required field, Amplify drops and recreates the user pool in the sandbox environment. From b4968907e3e1d52557a0f62340a464ec951956ee Mon Sep 17 00:00:00 2001 From: Anil Maktala Date: Mon, 10 Feb 2025 21:01:53 -0500 Subject: [PATCH 3/5] updated callout --- .../sandbox-environments/setup/index.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx index cfe3d34b1f0..52db6d3a15d 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx @@ -33,10 +33,12 @@ You can use a personal cloud sandbox environment that provides an isolated devel -- **Cloud sandbox environments** are intended for development purposes and are not designed for production workloads. -- **DynamoDB GSI operations** are time-consuming, so when you delete or modify an index in a sandbox, Amplify drops and recreates the table instead of modifying the GSI. -- **CDK hot swapping** is used where supported to accelerate the deployment of resources such as Lambda functions and AppSync resolver templates. -- **Cognito User Pool changes:** If you make an unsupported change, such as deleting a required field, Amplify drops and recreates the user pool in the sandbox environment. +Cloud sandbox environments are designed for development purposes and are not intended for production workloads. To accelerate deployments, Amplify utilizes **CDK hot swapping** where supported, enabling rapid updates to resources such as Lambda functions and AppSync resolver templates without requiring a full redeployment. + +However, certain operations cannot be hot-swapped and require resource recreation to proceed: + +- **DynamoDB GSI Operations:** In sandbox environments (but not in production), modifying or deleting a Global Secondary Index (GSI) is a time-intensive process. To simplify this, Amplify drops and recreates the table instead of modifying the index. +- **Cognito User Pool Changes:** Unsupported modifications, such as deleting a required field, result in Amplify dropping and recreating the user pool to ensure a consistent and functional configuration. From b2b601fd0133c10fc11d9b6e14450547bdbeac4a Mon Sep 17 00:00:00 2001 From: Anil Maktala Date: Tue, 11 Feb 2025 16:29:59 -0500 Subject: [PATCH 4/5] removed the callout tag --- .../deploy-and-host/sandbox-environments/setup/index.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx index 52db6d3a15d..9be99d8af88 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx @@ -31,16 +31,14 @@ export function getStaticProps(context) { You can use a personal cloud sandbox environment that provides an isolated development space to rapidly build, test, and iterate on a fullstack app. Each developer on your team can use their own disposable sandbox environment connected to cloud resources. - -Cloud sandbox environments are designed for development purposes and are not intended for production workloads. To accelerate deployments, Amplify utilizes **CDK hot swapping** where supported, enabling rapid updates to resources such as Lambda functions and AppSync resolver templates without requiring a full redeployment. +**Cloud sandbox environments** are designed for development purposes and are not intended for production workloads. To accelerate deployments, Amplify utilizes **CDK hot swapping** where supported, enabling rapid updates to resources such as Lambda functions and AppSync resolver templates without requiring a full redeployment. However, certain operations cannot be hot-swapped and require resource recreation to proceed: - **DynamoDB GSI Operations:** In sandbox environments (but not in production), modifying or deleting a Global Secondary Index (GSI) is a time-intensive process. To simplify this, Amplify drops and recreates the table instead of modifying the index. - **Cognito User Pool Changes:** Unsupported modifications, such as deleting a required field, result in Amplify dropping and recreating the user pool to ensure a consistent and functional configuration. - ![How cloud sandbox environments work](/images/gen2/how-amplify-works/sandbox.png) From 1b04b27b96f59afa3810e6e38e13d61eb07b6004 Mon Sep 17 00:00:00 2001 From: Anil Maktala Date: Tue, 11 Feb 2025 21:36:08 -0500 Subject: [PATCH 5/5] updated service names --- .../deploy-and-host/sandbox-environments/setup/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx index 9be99d8af88..bb8043e26ad 100644 --- a/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx +++ b/src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx @@ -32,12 +32,12 @@ export function getStaticProps(context) { You can use a personal cloud sandbox environment that provides an isolated development space to rapidly build, test, and iterate on a fullstack app. Each developer on your team can use their own disposable sandbox environment connected to cloud resources. -**Cloud sandbox environments** are designed for development purposes and are not intended for production workloads. To accelerate deployments, Amplify utilizes **CDK hot swapping** where supported, enabling rapid updates to resources such as Lambda functions and AppSync resolver templates without requiring a full redeployment. +**Cloud sandbox environments** are designed for development purposes and are not intended for production workloads. To accelerate deployments, Amplify utilizes **CDK hot swapping** where supported, enabling rapid updates to resources such as AWS Lambda functions and AWS AppSync resolver templates without requiring a full redeployment. However, certain operations cannot be hot-swapped and require resource recreation to proceed: -- **DynamoDB GSI Operations:** In sandbox environments (but not in production), modifying or deleting a Global Secondary Index (GSI) is a time-intensive process. To simplify this, Amplify drops and recreates the table instead of modifying the index. -- **Cognito User Pool Changes:** Unsupported modifications, such as deleting a required field, result in Amplify dropping and recreating the user pool to ensure a consistent and functional configuration. +- **Amazon DynamoDB GSI Operations:** In sandbox environments (but not in production), modifying or deleting a Global Secondary Index (GSI) is a time-intensive process. To simplify this, Amplify drops and recreates the table instead of modifying the index. +- **Amazon Cognito User Pool Changes:** Unsupported modifications, such as deleting a required field, result in Amplify dropping and recreating the user pool to ensure a consistent and functional configuration.