├── .eslintrc.js ├── .github ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── deployment.yml │ └── main.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── assets ├── aik-high-level-view-HLD.png ├── aik-high-level-view-ML-Data-Pipeline.png ├── choose-credential-cluster.png ├── clone.png ├── connect-cluster.png ├── create-cluster.png ├── dashboard.png ├── ecs-global.png ├── ecs-inside.png ├── ecs-service.png ├── ecs-tasks-selected.png ├── ecs-tasks.png ├── project-cluster.png ├── reuse.png ├── sagemaker-studio.png ├── select-cluster.png ├── select-template.png └── traffic-filtering-server-view.png ├── bin └── advertising-intelligence-kit.ts ├── cdk.json ├── helpers └── tags.ts ├── jest.config.js ├── lib ├── add-ingress.ts ├── aik-stage.ts ├── emr-product-stack.ts ├── filtering-application-stack.ts ├── launch-constraint.ts ├── monitoring-config.json ├── permission-boundary.ts ├── product-construct.ts ├── sagemaker-emr-stack.ts ├── sagemaker-execution.ts └── suppress-nag.ts ├── package.json ├── source ├── emr-bootstrap │ ├── Readme.md │ ├── configurekdc.sh │ └── installpylibs.sh ├── notebooks │ ├── 0_store_configuration.ipynb │ ├── 1_download_ipinyou_data_tos3.ipynb │ ├── 2_OpenRTB_EMR.ipynb │ └── 3_train_xgboost.ipynb ├── sagemaker-sg-cleanup │ ├── delete-sg.ts │ └── handler.ts └── traffic-filtering-app │ ├── Dockerfile.Client │ ├── Dockerfile.Server │ ├── pom.xml │ └── src │ └── main │ ├── java │ └── com │ │ └── aik │ │ ├── filterapi │ │ ├── BidRequest.java │ │ ├── BidRequestFilter.java │ │ └── BidResponse.java │ │ ├── perfclient │ │ ├── FilteringResult.java │ │ └── MultiThreadedClient.java │ │ └── prediction │ │ ├── BidRequestHandler.java │ │ ├── BiddingFilter.java │ │ ├── Downloader.java │ │ └── InferenceServer.java │ ├── resources │ ├── config.properties │ └── log4j2.xml │ ├── scala │ └── com │ │ └── aik │ │ └── prediction │ │ └── Transform.scala │ └── thrift │ └── api.thrift ├── test ├── nag.ts └── test-delete-sg.ts └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/deployment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/.github/workflows/deployment.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/README.md -------------------------------------------------------------------------------- /assets/aik-high-level-view-HLD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/aik-high-level-view-HLD.png -------------------------------------------------------------------------------- /assets/aik-high-level-view-ML-Data-Pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/aik-high-level-view-ML-Data-Pipeline.png -------------------------------------------------------------------------------- /assets/choose-credential-cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/choose-credential-cluster.png -------------------------------------------------------------------------------- /assets/clone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/clone.png -------------------------------------------------------------------------------- /assets/connect-cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/connect-cluster.png -------------------------------------------------------------------------------- /assets/create-cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/create-cluster.png -------------------------------------------------------------------------------- /assets/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/dashboard.png -------------------------------------------------------------------------------- /assets/ecs-global.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/ecs-global.png -------------------------------------------------------------------------------- /assets/ecs-inside.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/ecs-inside.png -------------------------------------------------------------------------------- /assets/ecs-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/ecs-service.png -------------------------------------------------------------------------------- /assets/ecs-tasks-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/ecs-tasks-selected.png -------------------------------------------------------------------------------- /assets/ecs-tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/ecs-tasks.png -------------------------------------------------------------------------------- /assets/project-cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/project-cluster.png -------------------------------------------------------------------------------- /assets/reuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/reuse.png -------------------------------------------------------------------------------- /assets/sagemaker-studio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/sagemaker-studio.png -------------------------------------------------------------------------------- /assets/select-cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/select-cluster.png -------------------------------------------------------------------------------- /assets/select-template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/select-template.png -------------------------------------------------------------------------------- /assets/traffic-filtering-server-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/assets/traffic-filtering-server-view.png -------------------------------------------------------------------------------- /bin/advertising-intelligence-kit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/bin/advertising-intelligence-kit.ts -------------------------------------------------------------------------------- /cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/cdk.json -------------------------------------------------------------------------------- /helpers/tags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/helpers/tags.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/jest.config.js -------------------------------------------------------------------------------- /lib/add-ingress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/add-ingress.ts -------------------------------------------------------------------------------- /lib/aik-stage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/aik-stage.ts -------------------------------------------------------------------------------- /lib/emr-product-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/emr-product-stack.ts -------------------------------------------------------------------------------- /lib/filtering-application-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/filtering-application-stack.ts -------------------------------------------------------------------------------- /lib/launch-constraint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/launch-constraint.ts -------------------------------------------------------------------------------- /lib/monitoring-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/monitoring-config.json -------------------------------------------------------------------------------- /lib/permission-boundary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/permission-boundary.ts -------------------------------------------------------------------------------- /lib/product-construct.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/product-construct.ts -------------------------------------------------------------------------------- /lib/sagemaker-emr-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/sagemaker-emr-stack.ts -------------------------------------------------------------------------------- /lib/sagemaker-execution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/sagemaker-execution.ts -------------------------------------------------------------------------------- /lib/suppress-nag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/lib/suppress-nag.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/package.json -------------------------------------------------------------------------------- /source/emr-bootstrap/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/emr-bootstrap/Readme.md -------------------------------------------------------------------------------- /source/emr-bootstrap/configurekdc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/emr-bootstrap/configurekdc.sh -------------------------------------------------------------------------------- /source/emr-bootstrap/installpylibs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/emr-bootstrap/installpylibs.sh -------------------------------------------------------------------------------- /source/notebooks/0_store_configuration.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/notebooks/0_store_configuration.ipynb -------------------------------------------------------------------------------- /source/notebooks/1_download_ipinyou_data_tos3.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/notebooks/1_download_ipinyou_data_tos3.ipynb -------------------------------------------------------------------------------- /source/notebooks/2_OpenRTB_EMR.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/notebooks/2_OpenRTB_EMR.ipynb -------------------------------------------------------------------------------- /source/notebooks/3_train_xgboost.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/notebooks/3_train_xgboost.ipynb -------------------------------------------------------------------------------- /source/sagemaker-sg-cleanup/delete-sg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/sagemaker-sg-cleanup/delete-sg.ts -------------------------------------------------------------------------------- /source/sagemaker-sg-cleanup/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/sagemaker-sg-cleanup/handler.ts -------------------------------------------------------------------------------- /source/traffic-filtering-app/Dockerfile.Client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/Dockerfile.Client -------------------------------------------------------------------------------- /source/traffic-filtering-app/Dockerfile.Server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/Dockerfile.Server -------------------------------------------------------------------------------- /source/traffic-filtering-app/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/pom.xml -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/filterapi/BidRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/filterapi/BidRequest.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/filterapi/BidRequestFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/filterapi/BidRequestFilter.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/filterapi/BidResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/filterapi/BidResponse.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/perfclient/FilteringResult.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/perfclient/FilteringResult.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/perfclient/MultiThreadedClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/perfclient/MultiThreadedClient.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/prediction/BidRequestHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/prediction/BidRequestHandler.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/prediction/BiddingFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/prediction/BiddingFilter.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/prediction/Downloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/prediction/Downloader.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/java/com/aik/prediction/InferenceServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/java/com/aik/prediction/InferenceServer.java -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/resources/config.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/resources/config.properties -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/resources/log4j2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/resources/log4j2.xml -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/scala/com/aik/prediction/Transform.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/scala/com/aik/prediction/Transform.scala -------------------------------------------------------------------------------- /source/traffic-filtering-app/src/main/thrift/api.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/source/traffic-filtering-app/src/main/thrift/api.thrift -------------------------------------------------------------------------------- /test/nag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/test/nag.ts -------------------------------------------------------------------------------- /test/test-delete-sg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/test/test-delete-sg.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-rtb-intelligence-kit/HEAD/tsconfig.json --------------------------------------------------------------------------------