Create Accom Personalize Hotel Domain Service (ACDZHD) Stack

h1. Request Details

h2. Background

In last quarter, accom team has initiative to give personalize recommendation to our users so they can easily find Accommodation that they preferred based on their historical data. To do this, we need a service that have responsibility to provide personalize recommendations for each user.

For more detail:
https://29022131.atlassian.net/wiki/spaces/ADT/pages/1481445924/Machine-learning+Personalized+Recommendation+-+Google+Cloud+Platform+AI

h2. Purpose

To have dedicated service (ACDZHD) for personalize recommendations.

h2. Impact

We’ll have dedicated service to serve personalize recommendations.

h2. Risk

h1. Resources

h2 . Configuration

{
  "product_domain": "acd",
  "resources": {
    "asg": [
      {
        "service_name": "acdzhd",
        "cluster_role": "app",
        "application": "java-8",
        "description": "Accom Personalize Hotel Domain Service",
        "instance_type": "t3.medium",
        "ebs_optimized": false,
        "monitoring": true,
        "lb_target_group_arns": [],
        "health_check_type": "elb",
        "health_check_grace_period": 300,
        "default_cooldown": 300
      }
    ],
    "alb": [
      {
        "service_name": "acdzhd",
        "is_internal": true,
        "description": "acdzhd-app internal load balancer",
        "idle_timeout": 60,
        "enable_deletion_protection": false,
        "dns_record": "acdzhd.acd.tvlk.cloud",
        "main_target_group_cluster_role": "acdzhd-app",
        "main_target_group_description": "Target group for Accom Personalize Hotel Domain Service",
        "main_target_group_protocol": "http",
        "main_target_group_port": "61102",
        "main_target_group_stickiness_cookie_duration": 0,
        "main_target_group_health_check_port": 61102,
        "main_target_group_health_check_path": "/healthcheck",
        "main_target_group_health_check_healthy_threshold": 5,
        "main_target_group_health_check_unhealthy_threshold": 2,
        "main_target_group_health_check_timeout": 5,
        "main_target_group_health_check_interval": 10,
        "main_target_group_health_check_matcher": "200",
        "additional_target_groups": []
      }
    ],
    "connectivity": [
      {
        "source_type": "sgname",
        "source": "acdzhd-lbint",
        "destination_type": "sgname",
        "destination": "acdzhd-app",
        "from_port": 61102,
        "to_port": 61102,
        "protocol": "tcp"
      },
      {
        "source_type": "sgname",
        "source": "acdzhd-app",
        "destination_type": "sgname",
        "destination": "acdso-lbint",
        "from_port": 443,
        "to_port": 443,
        "protocol": "tcp"
      },
      {
        "source_type": "sgname",
        "source": "acdsr-app",
        "destination_type": "sgname",
        "destination": "acdhpd-lbint",
        "from_port": 443,
        "to_port": 443,
        "protocol": "tcp"
      }
    ]
}