Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HH Personalize Deployment Plan

AWS

  •  Create `hh-personalize` IAM user [@Luthfi](#user_mention#60899351)
    
  •  Create access key and send it to Luthfi [@Luthfi](#user_mention#60899351)
    
  •  Add Permissions policies: S3 & Amazon Personalize [@Luthfi](#user_mention#60899351)
    
  •  Create ECR Repository `hh-personalize` [@Irfan Wicaksana](#user_mention#88979479)
    

Terraform

  •  Create terraform deployment [@Luthfi](#user_mention#60899351)
    
  •  Create IAM user using terraform [@Luthfi](#user_mention#60899351)
    
  •  Review terraform code (dev branch) [@Irfan Wicaksana](#user_mention#88979479)
    
  •  Release Terraform Apply PROD [@Irfan Wicaksana](#user_mention#88979479)
    
  •  Update SSM Config derived from [](https://app.clickup.com/9003122396/v/dc/8ca1fpw-46036/8ca1fpw-45616?block=block-21cfe65d-0983-46d7-a1aa-880c8f062297)[@Luthfi](#user_mention#60899351)
    
RECOMMENDER_RECOMMENDED_FOR_YOU_ARN
FILTER_CITY_ID_ARN
EVENT_TRACKING_ID

HH-Personalize Server @Luthfi

  •  Sync brach develop to main
    
  •  Release hh-personalize app
    

Kafka @Luthfi

  •  Create topics
    
    •  Engineering
      
    •  Prod Support
      
    •  Production
      
  •  Setup S3 Sink Connector (prod-support)
    
    •  Create an Amazon S3 sink connector
      
    •  Update access token
      
  •  Setup S3 Sink Connector (production)
    
    •  Create an Amazon S3 sink connector
      
    •  Update access token
      

Databrick @Luthfi

  •  Load hh-personalize github repository
    
  •  Create compute resource
    
  •  Setup compute init script to set env
    
  •  Exec create s3 shell code first
    
  •  Load reservation data to s3 \[on-progress 100%\]
    
  •  Load restaurants data to s3
    
  •  Load users data
    
  •  Verify data
    
  •  Execute hh-personalize-v1.ipynb
    
    •  Make sure env & aws account is correct
      
    •  Exec create s3 code first
      
    •  Create roles \[waiting...\]
      
    •  Create dataset group
      
    •  Create schema (interactions, items, users)
      
    •  Create schema dataset (interactions, items, users)
      
    •  Create Job import data
      
      •  Interactions \[waiting...\]
        
      •  Items \[waiting...\]
        
      •  Users \[error\]\[waiting...\]
        
    •  Create recommender
      
      •  Recommended For You \[waiting...\]
        
    •  Create realtime tracker
      
    •  Create filter \[waiting...\]
      
    •  Save the output
      

Check & Re-check @Luthfi

  •  Health check `https://personalize.hungryhub.com/health`
    
  •  GraphQL check `https://personalize.hungryhub.com/graphiql`
    
    •  Trigger deploy
      
    •  GetRecommendedForYou API
      
  •  BullMQ check `https://personalize.hungryhub.com/bullmq`
    

HH-Pegasus

  •  Update ENV [@Luthfi](#user_mention#60899351)
    
    •  Engineering
      
    •  Ballbot
      
    •  Venus
      
    •  Prod Support
      
    •  Production
      
    •  Production Node Staging
      
    •  Production Node Prod
      
  •  Review [PR](https://github.com/hungryhub-team/hh-pegasus/pull/1363) [@afif](#user_mention#54846117)
    
  •  Release [PR](https://github.com/hungryhub-team/hh-pegasus/pull/1363) [@afif](#user_mention#54846117)
    
  •  Add New Homepage setting `Recommended For You` [@Luthfi](#user_mention#60899351) \[waiting cache\]
    

https://hungryhub.com/admin/restaurant_sections/new?locale=en

Staging Example: https://hh-engineering.my.id/admin/restaurant_sections/137/edit?locale=en

  •  Live Review Production [@Luthfi](#user_mention#60899351), QA: [@Bernadetta Kusumadewi](#user_mention#55541162) [@wiwik](#user_mention#60872000) [@Rina Apriani](#user_mention#88929273)
    
    •  Monitor server [@Luthfi](#user_mention#60899351) (so far no issue)
      
    •  Monitor worker [@Luthfi](#user_mention#60899351) (so far no issue)
      

Post Release

  •  Ask QA & Thai Team to test
    

Jupyter Notebook Execution:

screencapture-dbc-e0812bf2-c5ac-cloud-databricks-editor-notebooks-2119779083832846-2025-02-04-12_22_19.pdf