Deployment-related

Production URLs

Shared-Staging URLs

Deployment Dashboards

ETC URLs

Remote Access

Shared-staging gateway (need to put public key on that instance 1st)

ssh ubuntu@ansible-shared-stg.test.tvlk.cloud

Accom shared-staging instance

ssh ubuntu@acs-shared-staging-app-01.test.tvlk.cloud -i ~/.ssh/csy-ec2-keypair.pem

Accom "personal" staging instance (01~04)

Need the csy-ec2-keypair.pem file.

ssh ubuntu@acs-staging-app-01.test.tvlk.cloud -i ~/.ssh/csy-ec2-keypair.pem
ssh ubuntu@acs-staging-app-02.test.tvlk.cloud -i ~/.ssh/csy-ec2-keypair.pem
ssh ubuntu@acs-staging-app-03.test.tvlk.cloud -i ~/.ssh/csy-ec2-keypair.pem
ssh ubuntu@acs-staging-app-04.test.tvlk.cloud -i ~/.ssh/csy-ec2-keypair.pem

Other instances

To access other shared-staging instances, ssh to shared-staging gateway, and ssh to the instance listed here: https://29022131.atlassian.net/wiki/display/REL/How+to%253A+Access+Shared+Staging+Instances

Jenkins Build Params

# hinv:
PHID-HMBT-so7c7owhj5kkndiuuva6
ssh://git@git.traveloka.com/diffusion/TV/traveloka-product.git

# hops:
PHID-HMBT-xvdp6sqjesxmqnb3aoyz
ssh://git@git.traveloka.com/diffusion/TV/traveloka-product.git

# hb:
PHID-HMBT-krthulxmmecnjhxptlzj
ssh://git@git.traveloka.com/diffusion/TV/traveloka-product.git

Ports + Tags

TV: 29000
TAP: 29001
FPRGRFD: 29002
HINV (tag_Name_hinv-app-01): 61008
APROPS/HOPS (tag_Name_aprops-app-01): 60092
HB (tag_Name_hb-app-01): 61113
NE: 61004
APRPS: 61117
APRSAPI: 29201

Accessing Production Mongo Data

Can be done through #prod-change-review channel, running commands that are supported by @data-change-bot.

data-change-bot useful commands

How do I run complex/several commands easily?

Create a script on data-migrations repo (https://phabricator.noc.tvlk.cloud/diffusion/DTMGRT/), and run it using mongo --eval ... command through @data-change-bot.

Useful Often-used Commands

mongo --eval "var cluster='[CLUSTER]', mode = '[STATS/READ/UPDATE]', db='[DB]', coll='[COLLECTION]', pretty = 1 " /home/ubuntu/analytics/repository/data-migrations/traveloka-migrations/local/manageCollection.js