AWS solutions documentation change
Summary
Updated deployment instructions to use CDK and removed region-specific deployment sections (China Regions, VPC). Added technical steps for cloning repo, installing dependencies, and deploying stack.
Security assessment
Changes focus on deployment methodology (switching to CDK) and removing outdated regional deployment instructions. No security vulnerabilities addressed or security features added. Removal of authentication method documentation (Cognito vs OpenID) reduces security context but doesn't indicate a security fix.
Diff
diff --git a/solutions/latest/clickstream-analytics-on-aws/deployment.md b/solutions/latest/clickstream-analytics-on-aws/deployment.md index 3e26d79a0..7e33555fc 100644 --- a//solutions/latest/clickstream-analytics-on-aws/deployment.md +++ b//solutions/latest/clickstream-analytics-on-aws/deployment.md @@ -3 +3 @@ -[Documentation](/index.html)[Clickstream Analytics on AWS](https://aws.amazon.com/solutions/implementations/clickstream-analytics-on-aws)[Implementation Guide](solution-overview.html) +[Documentation](/index.html)[Guidance for Clickstream Analytics on AWS](https://aws.amazon.com/solutions/guidance/clickstream-analytics-on-aws/)[Implementation Guide](solution-overview.html) @@ -5 +5 @@ -PrerequisitesDeployment in AWS RegionsDeployment in AWS China RegionsDeployment within Amazon VPC +PrerequisitesDeployment in AWS Regions @@ -9 +9 @@ PrerequisitesDeployment in AWS RegionsDeployment in AWS China RegionsDeployment -Before you launch the solution, review the architecture, supported Regions, and other considerations discussed in this guide. Follow the step-by-step instructions in this section to configure and deploy the solution into your account. +Before you launch the guidance, review the architecture, supported Regions, and other considerations discussed in this guide. Follow the step-by-step instructions in this section to configure and deploy the guidance into your account. @@ -22 +22 @@ Review all the [considerations](./cost.html) and make sure you have the followin -Clickstream Analytics on AWS provides two ways to authenticate and log into the solution web console. For some AWS Regions where Cognito User Pool is unavailable (for example, Hong Kong), you must launch the solution with OpenID Connect. + * Clone the repository: @@ -24 +24,2 @@ Clickstream Analytics on AWS provides two ways to authenticate and log into the - * [Launch with Cognito User Pool](./launch-with-cognito-user-pool.html) (Recommended) + git clone https://github.com/aws-solutions-library-samples/guidance-for-clickstream-analytics-on-aws.git + cd guidance-for-clickstream-analytics-on-aws @@ -26 +26,0 @@ Clickstream Analytics on AWS provides two ways to authenticate and log into the - * [Launch with OpenID Connect](./launch-with-openid-connect-oidc.html) @@ -27,0 +28 @@ Clickstream Analytics on AWS provides two ways to authenticate and log into the + * Install pnpm and dependencies: @@ -28,0 +30,2 @@ Clickstream Analytics on AWS provides two ways to authenticate and log into the + npm install -g [email protected] + pnpm install && pnpm projen && pnpm nx build @aws/clickstream-base-lib @@ -31 +34 @@ Clickstream Analytics on AWS provides two ways to authenticate and log into the -For more information about supported Regions, see [Regional deployments](./supported-aws-regions.html). + * Bootstrap CDK (if not done before): @@ -33 +36 @@ For more information about supported Regions, see [Regional deployments](./suppo -## Deployment in AWS China Regions + npx cdk bootstrap @@ -35 +37,0 @@ For more information about supported Regions, see [Regional deployments](./suppo -AWS China Regions do not have Cognito User Pool. You must launch the solution with OpenID Connect. @@ -37 +39 @@ AWS China Regions do not have Cognito User Pool. You must launch the solution wi - * [Launch with OpenID Connect](./launch-with-openid-connect-oidc.html) + * Deploy the stack: @@ -38,0 +41,2 @@ AWS China Regions do not have Cognito User Pool. You must launch the solution wi + cd deployment + sh solution-deploy.sh --region <aws_region> --profile <profile_name> --email <user_email> --template-deploy @@ -41,6 +45 @@ AWS China Regions do not have Cognito User Pool. You must launch the solution wi - -## Deployment within Amazon VPC - -Clickstream Analytics on AWS supports being deployed into an Amazon VPC, allowing access to the web console without leaving your VPC network. - - * [Launch within VPC](./launch-within-vpc.html) + * Note the CloudFront URL from the outputs to access the web console. @@ -59 +58 @@ Supported AWS Regions -Launch with Cognito User Pool +Getting started