AWS emr: Document EMR on EKS virtual cluster states for security-config creation
Summary
Rewrites the virtual cluster state table to add SUBMITTED, BOOTSTRAPPING, and TERMINATED_WITH_ERRORS states, explaining asynchronous creation when a security configuration with a system role is used.
Security assessment
The change only documents lifecycle states and error reporting for virtual clusters created with a security configuration; it describes behavior, not a vulnerability or hardening control.
Evidence
A virtual cluster can be in one of the following states. A virtual cluster that you create with a security configuration that includes a system role is created asynchronously, and moves from `SUBMITTED` through `BOOTSTRAPPING` to `RUNNING`. If creation fails, the virtual cluster moves to `TERMINATED_WITH_ERRORS`, and Amazon EMR on EKS returns `stateDetails` and `failureReason` with the cause. Amazon EMR on EKS creates any other virtual cluster as before.
Diff
diff --git a/emr/latest/EMR-on-EKS-DevelopmentGuide/virtual-cluster.md b/emr/latest/EMR-on-EKS-DevelopmentGuide/virtual-cluster.md index 7f03377..19652a4 100644 --- a//emr/latest/EMR-on-EKS-DevelopmentGuide/virtual-cluster.md +++ b//emr/latest/EMR-on-EKS-DevelopmentGuide/virtual-cluster.md @@ -103 +103 @@ Run the following command to delete a virtual cluster. Replace `123456` with you -The following table describes the four possible states of a virtual cluster. +A virtual cluster can be in one of the following states. A virtual cluster that you create with a security configuration that includes a system role is created asynchronously, and moves from `SUBMITTED` through `BOOTSTRAPPING` to `RUNNING`. If creation fails, the virtual cluster moves to `TERMINATED_WITH_ERRORS`, and Amazon EMR on EKS returns `stateDetails` and `failureReason` with the cause. Amazon EMR on EKS creates any other virtual cluster as before. @@ -107,2 +107,4 @@ The following table describes the four possible states of a virtual cluster. -`RUNNING` | Virtual cluster is in `RUNNING` state. -`TERMINATING` | The requested termination of the virtual cluster is in progress. +`SUBMITTED` | For a virtual cluster that you create with a security configuration that includes a system role, Amazon EMR on EKS accepted the request to create the virtual cluster, and creation hasn't started yet. +`BOOTSTRAPPING` | For a virtual cluster that you create with a security configuration that includes a system role, Amazon EMR on EKS is provisioning the virtual cluster. +`RUNNING` | The virtual cluster is ready and running. +`TERMINATING` | The requested termination of the virtual cluster is in progress, or the virtual cluster is being cleaned up after its creation failed. @@ -109,0 +112 @@ The following table describes the four possible states of a virtual cluster. +`TERMINATED_WITH_ERRORS` | Creation of a virtual cluster that you create with a security configuration that includes a system role failed. For the cause, see `stateDetails` and `failureReason`.