# Deprecation Notice This AWS Solution has been archived and is no longer maintained by AWS. To discover other solutions, please visit the [AWS Solutions Library](https://aws.amazon.com/solutions/). # Real-Time Web Analytics with Kinesis Data Analytics AWS Solution for analyzing web traffic in real-time using Kinesis Data Analytics, an S3 website, and Amazon Cognito. ## OS/Python Environment Setup ```bash sudo apt-get update sudo apt-get install install zip wget gawk sed -y ``` ## Building Lambda Package ```bash deployment/build-s3-dist.sh source-bucket-base-name ``` source-bucket-base-name should be the base name for the S3 bucket location where the template will source the Lambda code from. The template will append '-[region_name]' to this value. For example: deployment/build-s3-dist.sh solutions The template will then expect the source code to be located in the solutions-[region_name] bucket ## CF template and Lambda function Located in deployment/dist ## Collection of operational metrics This solution collects anonymous operational metrics to help AWS improve the quality of features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/real-time-web-analytics-with-kinesis/appendix-d.html). *** Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/ or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.