배포 파이프라인 설치 가이드

1. 문서 개요

1.1 목적

본 문서(배포 파이프라인 서비스팩 설치 가이드)는 개방형 PaaS 플랫폼 고도화 및 개발자 지원 환경 기반의 Open PaaS에서 제공되는 서비스팩인 배포 파이프라인 서비스팩을 Bosh를 이용하여 설치 및 서비스 등록하는 방법을 기술하였다. PaaS-TA 3.5 버전부터는 Bosh2.0 기반으로 deploy를 진행하며 기존 Bosh1.0 기반으로 설치를 원할경우에는 PaaS-TA 3.1 이하 버전의 문서를 참고한다.

1.2 범위

설치 범위는 배포 파이프라인 서비스팩을 검증하기 위한 기본 설치를 기준으로 작성하였다.

1.3 시스템 구성도

본 문서의 설치된 시스템 구성도입니다. 배포 파이프라인 Server, 형상관리 서비스 브로커로 최소사항을 구성하였다.
VM 명
인스턴스 수
vCPU 수
메모리(GB)
디스크(GB)
HAProxy
1
1
2
Root 4G
WEB UI
N
1
2
Root 4G
Service broker
1
1
2
Root 4G
Common API
N
1
2
Root 4G
DeliveryPipeline API
N
1
2
Root 4G
Inspection API
N
1
2
Root 4G
Storage API
1
1
2
Root 4G
Scheduler
1
1
2
Root 4G
DeliveryPipeline
N
1
2
Root 8G + 영구디스크 10G
Inspection
1
1
2
Root 4G
Storage
1
1
4
Root 4G + 영구디스크 50G
DBMS(mariadb)
1
1
4
Root 6G + 영구디스크 4G
Postgres
1
1
2
Root 6G + 영구디스크 4G

1.4 참고 자료

2. 배포 파이프라인 서비스팩 설치

2.1 설치 전 준비사항

본 설치 가이드는 Linux 환경에서 설치하는 것을 기준으로 하였다. 서비스팩 설치를 위해서는 먼저 BOSH CLI v2 가 설치 되어 있어야 하고 BOSH 에 로그인이 되어 있어야 한다. BOSH CLI v2 가 설치 되어 있지 않을 경우 먼저 BOSH2.0 설치 가이드 문서를 참고 하여 BOSH CLI v2를 설치를 하고 사용법을 숙지 해야 한다.
  • PaaS-TA에서 제공하는 압축된 릴리즈 파일들을 다운받는다. (PaaSTA-Deployment.zip, PaaSTA-Sample-Apps.zip, PaaSTA-Services.zip)
  • 다운로드 위치

2.2 배포 파이프라인 서비스 릴리즈 업로드

  • 업로드 되어 있는 릴리즈 목록을 확인한다.
  • 사용 예시
    1
    $ bosh -e micro-bosh releases
    2
    Using environment '10.30.40.111' as user 'admin' (openid, bosh.admin)
    3
    4
    Name Version Commit Hash
    5
    binary-buildpack 1.0.21* d714741
    6
    bpm 0.9.0* c9b7136
    7
    caas-release 1.0* empty+
    8
    capi 1.62.0* 22a608c
    9
    cf-networking 2.8.0* 479f4a66
    10
    cf-smoke-tests 40.0.5* d6aaf1f
    11
    cf-syslog-drain 7.0* 71b995a
    12
    cflinuxfs2 1.227.0* 60128e1
    13
    consul 195* 67cdbcd
    14
    diego 2.13.0* b5644d9
    15
    dotnet-core-buildpack 2.1.3* 46a41cd
    16
    garden-runc 1.15.1* 75107e7+
    17
    go-buildpack 1.8.25* 40c60a0
    18
    haproxy 8.8.0* 9292573
    19
    java-buildpack 4.13* c2749d3
    20
    loggregator 103.0* 05da4e3d
    21
    loggregator-agent 2.0* 2382c90
    22
    nats 24* 30e7a82
    23
    nodejs-buildpack 1.6.28* 4cfdb7b
    24
    paas-ta-portal-release 2.0* non-git
    25
    paasta-pinpoint 2.0* 2dbb8bf3+
    26
    php-buildpack 4.3.57* efc48f3
    27
    postgres 29* 5de4d63d+
    28
    python-buildpack 1.6.18* bcc4f26
    29
    routing 0.179.0* 18155a5
    30
    ruby-buildpack 1.7.21* 9d69600
    31
    silk 2.9.0* eebed55
    32
    staticfile-buildpack 1.4.29* 8a82e63
    33
    statsd-injector 1.3.0* 39e5179
    34
    uaa 60.2* ebb5895
    35
    36
    (*) Currently deployed
    37
    (+) Uncommitted changes
    38
    39
    30 releases
    40
    41
    Succeeded
    Copied!
  • Mysql 서비스 릴리즈가 업로드 되어 있지 않은 것을 확인
  • MySQL 서비스 릴리즈 파일을 업로드한다.
  • 사용 예시
    1
    $ bosh -e micro-bosh upload-release paasta-delivery-pipeline-release-1.0.tgz
    2
    Using environment '10.30.40.111' as user 'admin' (openid, bosh.admin)
    3
    Using environment '10.30.40.111' as user 'admin' (openid, bosh.admin)
    4
    5
    ######################################################## 100.00% 144.14 MiB/s 2s
    6
    Task 4460
    7
    8
    Task 4460 | 04:31:41 | Extracting release: Extracting release (00:00:04)
    9
    Task 4460 | 04:31:45 | Verifying manifest: Verifying manifest (00:00:00)
    10
    Task 4460 | 04:31:45 | Resolving package dependencies: Resolving package dependencies (00:00:00)
    11
    Task 4460 | 04:31:45 | Creating new packages: gra-log-purger/f02fa5774ab54dbb1b1c3702d03cb929b85d60e6 (00:00:00)
    12
    Task 4460 | 04:31:45 | Creating new packages: cf-mysql-broker/250c6466bdaff96677e501ed5219d92ce4e61bd8 (00:00:00)
    13
    Task 4460 | 04:31:45 | Creating new packages: mysqlclient/ce95f8ac566f76b650992987d5282ee473356e43 (00:00:00)
    14
    Task 4460 | 04:31:45 | Creating new packages: acceptance-tests/1cb3ce7e20f5a8395b43fc6f0e3f2e92b0dc27bd (00:00:00)
    15
    Task 4460 | 04:31:45 | Creating new packages: galera/d15a1d2d15e5e7417278d4aa1b908566022b9623 (00:00:01)
    16
    Task 4460 | 04:31:46 | Creating new packages: galera-healthcheck/3da4dedbcd7d9f404a19e7720e226fd472002266 (00:00:00)
    17
    Task 4460 | 04:31:46 | Creating new packages: quota-enforcer/e2c4c9e7d7bbbe4bfdc0866962461b00e654cca3 (00:00:00)
    18
    Task 4460 | 04:31:46 | Creating new packages: python/4e255efa754d91b825476b57e111345f200944e1 (00:00:01)
    19
    Task 4460 | 04:31:47 | Creating new packages: ruby/ff79c965224b4160c1526bd704b3b21e4ad7c362 (00:00:00)
    20
    Task 4460 | 04:31:47 | Creating new packages: route-registrar/f3fdfb8c940e7227a96c06e413ae6827aba8eeda (00:00:00)
    21
    Task 4460 | 04:31:47 | Creating new packages: check/d6811f25e9d56428a9b942631c27c9b24f5064dc (00:00:01)
    22
    Task 4460 | 04:31:48 | Creating new packages: cli/24305e50a638ece2cace4ef4803746c0c9fe4bb0 (00:00:00)
    23
    Task 4460 | 04:31:48 | Creating new packages: mariadb/43aa3547bc5a01dd51f1501e6b93c215dd7255e9 (00:00:01)
    24
    Task 4460 | 04:31:49 | Creating new packages: openjdk-1.8.0_45/57e0ee876ea9d90f5470e3784ae1171bccee850a (00:00:02)
    25
    Task 4460 | 04:31:51 | Creating new packages: mariadb_ctrl/7658290da98e2cad209456f174d3b9fa143c87fc (00:00:01)
    26
    Task 4460 | 04:31:52 | Creating new packages: scons/11e7ad3b28b43a96de3df7aa41afddde582fcc38 (00:00:00)
    27
    Task 4460 | 04:31:52 | Creating new packages: syslog_aggregator/078da6dcb999c1e6f5398a6eb739182ccb4aba25 (00:00:00)
    28
    Task 4460 | 04:31:52 | Creating new packages: xtrabackup/2e701e7a9e4241b28052d984733de36aae152275 (00:00:01)
    29
    Task 4460 | 04:31:53 | Creating new packages: boost/3eb8bdb1abb7eff5b63c4c5bdb41c0a778925c31 (00:00:01)
    30
    Task 4460 | 04:31:54 | Creating new packages: common/ba480a46c4b2aa9484fb24ed01a8649453573e6f (00:00:00)
    31
    Task 4460 | 04:31:54 | Creating new packages: switchboard/fad565dadbb37470771801952001c7071e55a364 (00:00:01)
    32
    Task 4460 | 04:31:55 | Creating new packages: op-mysql-java-broker/3bf47851b2c0d3bea63a0c58452df58c14a15482 (00:00:01)
    33
    Task 4460 | 04:31:56 | Creating new packages: golang/f57ddbc8d55d7a0f08775bf76bb6a27dc98c7ea7 (00:00:01)
    34
    Task 4460 | 04:31:57 | Creating new jobs: cf-mysql-broker/9828ead15eabdc33b2c27fe275b463735edb115d (00:00:00)
    35
    Task 4460 | 04:31:57 | Creating new jobs: acceptance-tests/48c00c36ec5210cbdd3b125ae6a72cfdf6eaf4e2 (00:00:00)
    36
    Task 4460 | 04:31:57 | Creating new jobs: broker-deregistrar/b5f6f776d46eb1ac561ab1e8f58d8ddedb97f86e (00:00:00)
    37
    Task 4460 | 04:31:57 | Creating new jobs: proxy/7907d8759aa11dfcbbe79220dc945c96b5562ac1 (00:00:00)
    38
    Task 4460 | 04:31:57 | Creating new jobs: mysql/078561f02f2516212ed59c48e1dd45360f93871c (00:00:00)
    39
    Task 4460 | 04:31:57 | Creating new jobs: op-mysql-java-broker/6e47c9ea6fbe0867d4a476af5abf157830c03024 (00:00:00)
    40
    Task 4460 | 04:31:57 | Creating new jobs: broker-registrar/e1f5e30b87e70e916ea74ea8eb63a7b6ff6ff643 (00:00:00)
    41
    Task 4460 | 04:31:57 | Release has been created: paasta-mysql/2.0 (00:00:00)
    42
    43
    Task 4460 Started Fri Aug 31 04:31:41 UTC 2018
    44
    Task 4460 Finished Fri Aug 31 04:31:57 UTC 2018
    45
    Task 4460 Duration 00:00:16
    46
    Task 4460 done
    47
    48
    Succeeded
    Copied!
  • 업로드 된 배포 파이프라인 서비스 릴리즈를 확인한다.
  • 사용 예시
    1
    $ bosh -e micro-bosh releases
    2
    Using environment '10.30.40.111' as user 'admin' (openid, bosh.admin)
    3
    4
    Name Version Commit Hash
    5
    binary-buildpack 1.0.21* d714741
    6
    bpm 0.9.0* c9b7136
    7
    caas-release 1.0* empty+
    8
    capi 1.62.0* 22a608c
    9
    cf-networking 2.8.0* 479f4a66
    10
    cf-smoke-tests 40.0.5* d6aaf1f
    11
    cf-syslog-drain 7.0* 71b995a
    12
    cflinuxfs2 1.227.0* 60128e1
    13
    consul 195* 67cdbcd
    14
    diego 2.13.0* b5644d9
    15
    dotnet-core-buildpack 2.1.3* 46a41cd
    16
    garden-runc 1.15.1* 75107e7+
    17
    go-buildpack 1.8.25* 40c60a0
    18
    haproxy 8.8.0* 9292573
    19
    java-buildpack 4.13* c2749d3
    20
    loggregator 103.0* 05da4e3d
    21
    loggregator-agent 2.0* 2382c90
    22
    nats 24* 30e7a82
    23
    nodejs-buildpack 1.6.28* 4cfdb7b
    24
    paas-ta-portal-release 2.0* non-git
    25
    paasta-delivery-pipeline-release 1.0 b3ee8f48+
    26
    paasta-pinpoint 2.0* 2dbb8bf3+
    27
    php-buildpack 4.3.57* efc48f3
    28
    postgres 29* 5de4d63d+
    29
    python-buildpack 1.6.18* bcc4f26
    30
    routing 0.179.0* 18155a5
    31
    ruby-buildpack 1.7.21* 9d69600
    32
    silk 2.9.0* eebed55
    33
    staticfile-buildpack 1.4.29* 8a82e63
    34
    statsd-injector 1.3.0* 39e5179
    35
    uaa 60.2* ebb5895
    36
    37
    (*) Currently deployed
    38
    (+) Uncommitted changes
    39
    40
    32 releases
    41
    42
    Succeeded
    Copied!
  • 배포 파이프라인 서비스 릴리즈가 업로드 되어 있는 것을 확인
  • Deploy시 사용할 Stemcell을 확인한다.
  • 사용 예시
    1
    $ bosh -e micro-bosh stemcells
    2
    Name Version OS CPI CID
    3
    bosh-vsphere-esxi-ubuntu-trusty-go_agent 3586.26* ubuntu-trusty - sc-109fbdb0-f663-49e8-9c30-8dbdd2e5b9b9
    4
    ~ 3445.2* ubuntu-trusty - sc-025c70b5-7d6e-4ba3-a12b-7e71c33dad24
    5
    ~ 3309* ubuntu-trusty - sc-22429dba-e5cc-4469-ab3a-882091573277
    6
    7
    (*) Currently deployed
    8
    9
    3 stemcells
    10
    11
    Succeeded
    Copied!
Stemcell 목록이 존재 하지 않을 경우 BOSH 설치 가이드 문서를 참고 하여 Stemcell을 업로드를 해야 한다. (배포 파이프라인 서비스는 stemcell 3445.2 버전을 사용)

2.3 배포 파이프라인 서비스 Deployment 파일 수정 및 배포

BOSH Deployment manifest 는 components 요소 및 배포의 속성을 정의한 YAML 파일이다. Deployment manifest 에는 sotfware를 설치 하기 위해서 어떤 Stemcell (OS, BOSH agent) 을 사용할것이며 Release (Software packages, Config templates, Scripts) 이름과 버전, VMs 용량, Jobs params 등을 정의가 되어 있다.
deployment 파일에서 사용하는 network, vm_type 등은 cloud config 를 활용하고 해당 가이드는 Bosh2.0 가이드를 참고한다.
  • cloud config 내용 조회
  • 사용 예시
    1
    bosh -e micro-bosh cloud-config
    2
    Using environment '10.30.40.111' as user 'admin' (openid, bosh.admin)
    3
    4
    azs:
    5
    - cloud_properties:
    6
    datacenters:
    7
    - clusters:
    8
    - BD-HA:
    9
    resource_pool: CF_BOSH2_Pool
    10
    name: BD-HA
    11
    name: z1
    12
    - cloud_properties:
    13
    datacenters:
    14
    - clusters:
    15
    - BD-HA:
    16
    resource_pool: CF_BOSH2_Pool
    17
    name: BD-HA
    18
    name: z2
    19
    - cloud_properties:
    20
    datacenters:
    21
    - clusters:
    22
    - BD-HA:
    23
    resource_pool: CF_BOSH2_Pool
    24
    name: BD-HA
    25
    name: z3
    26
    - cloud_properties:
    27
    datacenters:
    28
    - clusters:
    29
    - BD-HA:
    30
    resource_pool: CF_BOSH2_Pool
    31
    name: BD-HA
    32
    name: z4
    33
    - cloud_properties:
    34
    datacenters:
    35
    - clusters:
    36
    - BD-HA:
    37
    resource_pool: CF_BOSH2_Pool
    38
    name: BD-HA
    39
    name: z5
    40
    - cloud_properties:
    41
    datacenters:
    42
    - clusters:
    43
    - BD-HA:
    44
    resource_pool: CF_BOSH2_Pool
    45
    name: BD-HA
    46
    name: z6
    47
    compilation:
    48
    az: z1
    49
    network: default
    50
    reuse_compilation_vms: true
    51
    vm_type: large
    52
    workers: 5
    53
    disk_types:
    54
    - disk_size: 1024
    55
    name: default
    56
    - disk_size: 1024
    57
    name: 1GB
    58
    - disk_size: 2048
    59
    name: 2GB
    60
    - disk_size: 4096
    61
    name: 4GB
    62
    - disk_size: 5120
    63
    name: 5GB
    64
    - disk_size: 8192
    65
    name: 8GB
    66
    - disk_size: 10240
    67
    name: 10GB
    68
    - disk_size: 20480
    69
    name: 20GB
    70
    - disk_size: 30720
    71
    name: 30GB
    72
    - disk_size: 51200
    73
    name: 50GB
    74
    - disk_size: 102400
    75
    name: 100GB
    76
    - disk_size: 1048576
    77
    name: 1TB
    78
    networks:
    79
    - name: default
    80
    subnets:
    81
    - azs:
    82
    - z1
    83
    - z2
    84
    - z3
    85
    - z4
    86
    - z5
    87
    - z6
    88
    cloud_properties:
    89
    name: Internal
    90
    dns:
    91
    - 8.8.8.8
    92
    gateway: 10.30.20.23
    93
    range: 10.30.0.0/16
    94
    reserved:
    95
    - 10.30.0.0 - 10.30.111.40
    96
    - name: public
    97
    subnets:
    98
    - azs:
    99
    - z1
    100
    - z2
    101
    - z3
    102
    - z4
    103
    - z5
    104
    - z6
    105
    cloud_properties:
    106
    name: External
    107
    dns:
    108
    - 8.8.8.8
    109
    gateway: 115.68.46.177
    110
    range: 115.68.46.176/28
    111
    reserved:
    112
    - 115.68.46.176 - 115.68.46.188
    113
    static:
    114
    - 115.68.46.189 - 115.68.46.190
    115
    type: manual
    116
    - name: service_private
    117
    subnets:
    118
    - azs:
    119
    - z1
    120
    - z2
    121
    - z3
    122
    - z4
    123
    - z5
    124
    - z6
    125
    cloud_properties:
    126
    name: Internal
    127
    dns:
    128
    - 8.8.8.8
    129
    gateway: 10.30.20.23
    130
    range: 10.30.0.0/16
    131
    reserved:
    132
    - 10.30.0.0 - 10.30.106.255
    133
    static:
    134
    - 10.30.107.1 - 10.30.107.255
    135
    - name: service_public
    136
    subnets:
    137
    - azs:
    138
    - z1
    139
    - z2
    140
    - z3
    141
    - z4
    142
    - z5
    143
    - z6
    144
    cloud_properties:
    145
    name: External
    146
    dns:
    147
    - 8.8.8.8
    148
    gateway: 115.68.47.161
    149
    range: 115.68.47.160/24
    150
    reserved:
    151
    - 115.68.47.161 - 115.68.47.174
    152
    static:
    153
    - 115.68.47.175 - 115.68.47.185
    154
    type: manual
    155
    - name: portal_service_public
    156
    subnets:
    157
    - azs:
    158
    - z1
    159
    - z2
    160
    - z3
    161
    - z4
    162
    - z5
    163
    - z6
    164
    cloud_properties:
    165
    name: External
    166
    dns:
    167
    - 8.8.8.8
    168
    gateway: 115.68.46.209
    169
    range: 115.68.46.208/28
    170
    reserved:
    171
    - 115.68.46.216 - 115.68.46.222
    172
    static:
    173
    - 115.68.46.214
    174
    type: manual
    175
    vm_extensions:
    176
    - cloud_properties:
    177
    ports:
    178
    - host: 3306
    179
    name: mysql-proxy-lb
    180
    - name: cf-router-network-properties
    181
    - name: cf-tcp-router-network-properties
    182
    - name: diego-ssh-proxy-network-properties
    183
    - name: cf-haproxy-network-properties
    184
    - cloud_properties:
    185
    disk: 51200
    186
    name: small-50GB
    187
    - cloud_properties:
    188
    disk: 102400
    189
    name: small-highmem-100GB
    190
    vm_types:
    191
    - cloud_properties:
    192
    cpu: 1
    193
    disk: 8192
    194
    ram: 1024
    195
    name: minimal
    196
    - cloud_properties:
    197
    cpu: 1
    198
    disk: 10240
    199
    ram: 2048
    200
    name: default
    201
    - cloud_properties:
    202
    cpu: 1
    203
    disk: 30720
    204
    ram: 4096
    205
    name: small
    206
    - cloud_properties:
    207
    cpu: 2
    208
    disk: 20480
    209
    ram: 4096
    210
    name: medium
    211
    - cloud_properties:
    212
    cpu: 2
    213
    disk: 20480
    214
    ram: 8192
    215
    name: medium-memory-8GB
    216
    - cloud_properties:
    217
    cpu: 4
    218
    disk: 20480
    219
    ram: 8192
    220
    name: large
    221
    - cloud_properties:
    222
    cpu: 8
    223
    disk: 20480
    224
    ram: 16384
    225
    name: xlarge
    226
    - cloud_properties:
    227
    cpu: 2
    228
    disk: 51200
    229
    ram: 4096
    230
    name: small-50GB
    231
    - cloud_properties:
    232
    cpu: 2
    233
    disk: 51200
    234
    ram: 4096
    235
    name: small-50GB-ephemeral-disk
    236
    - cloud_properties:
    237
    cpu: 4
    238
    disk: 102400
    239
    ram: 8192
    240
    name: small-100GB-ephemeral-disk
    241
    - cloud_properties:
    242
    cpu: 4
    243
    disk: 102400
    244
    ram: 8192
    245
    name: small-highmem-100GB-ephemeral-disk
    246
    - cloud_properties:
    247
    cpu: 8
    248
    disk: 20480
    249
    ram: 16384
    250
    name: small-highmem-16GB
    251
    - cloud_properties:
    252
    cpu: 1
    253
    disk: 4096
    254
    ram: 2048
    255
    name: caas_small
    256
    - cloud_properties:
    257
    cpu: 1
    258
    disk: 4096
    259
    ram: 1024
    260
    name: caas_small_api
    261
    - cloud_properties:
    262
    cpu: 1
    263
    disk: 4096
    264
    ram: 4096
    265
    name: caas_medium
    266
    - cloud_properties:
    267
    cpu: 2
    268
    disk: 8192
    269
    ram: 4096
    270
    name: service_medium
    271
    - cloud_properties:
    272
    cpu: 2
    273
    disk: 10240
    274
    ram: 2048
    275
    name: service_medium_2G
    276
    277
    Succeeded
    Copied!
  • Deployment 파일을 서버 환경에 맞게 수정한다.
1
# paasta-delivery-pipeline-service 설정 파일 내용
2
name: paasta-delivery-pipeline-service # 서비스 배포이름(필수)
3
4
releases:
5
- name: paasta-delivery-pipeline-release # 서비스 릴리즈 이름(필수)
6
version: "1.0" # 서비스 릴리즈 버전(필수):latest 시 업로드된 서비스 릴리즈 최신버전
7
8
stemcells:
9
- alias: default
10
os: ((stemcell_os))
11
version: "((stemcell_version))"
12
13
update:
14
canaries: 1 # canary 인스턴스 수(필수)
15
canary_watch_time: 30000-120000 # canary 인스턴스가 수행하기 위한 대기 시간(필수)
16
max_in_flight: 1 # non-canary 인스턴스가 병렬로 update 하는 최대 개수(필수)
17
update_watch_time: 30000-120000 # non-canary 인스턴스가 수행하기 위한 대기 시간(필수)
18
19
instance_groups:
20
- name: mariadb
21
azs:
22
- z5
23
instances: 1
24
persistent_disk_type: 2GB
25
vm_type: ((vm_type_small))
26
stemcell: default
27
networks:
28
- name: ((default_network_name))
29
static_ips:
30
- 10.30.107.68
31
templates:
32
- name: mariadb
33
release: paasta-delivery-pipeline-release
34
35
- name: postgres
36
azs:
37
- z5
38
instances: 1
39
persistent_disk_type: 2GB
40
vm_type: ((vm_type_small))
41
stemcell: default
42
networks:
43
- name: ((default_network_name))
44
static_ips:
45
- 10.30.107.82
46
templates:
47
- name: postgres
48
release: paasta-delivery-pipeline-release
49
50
- name: inspection
51
azs:
52
- z5
53
instances: 1
54
vm_type: ((vm_type_small))
55
stemcell: default
56
networks:
57
- name: ((default_network_name))
58
static_ips:
59
- 10.30.107.69
60
templates:
61
- name: inspection
62
release: paasta-delivery-pipeline-release
63
64
- name: haproxy
65
azs:
66
- z5
67
instances: 1
68
vm_type: ((vm_type_small))
69
stemcell: default
70
networks:
71
- name: ((default_network_name))
72
static_ips:
73
- 10.30.107.70
74
- name: ((public_network_name))
75
static_ips:
76
- 115.68.47.175
77
templates:
78
- name: haproxy
79
release: paasta-delivery-pipeline-release
80
81
- name: ci_server
82
azs:
83
- z5
84
instances: 2
85
persistent_disk_type: 4GB
86
vm_type: ((vm_type_small))
87
stemcell: default
88
networks:
89
- name: ((default_network_name))
90
static_ips:
91
- 10.30.107.71
92
- 10.30.107.72
93
templates:
94
- name: ci_server
95
release: paasta-delivery-pipeline-release
96
env:
97
bosh:
98
password: $6$4gDD3aV0rdqlrKC$2axHCxGKIObs6tAmMTqYCspcdvQXh3JJcvWOY2WGb4SrdXtnCyNaWlrf3WEqvYR2MYizEGp3kMmbpwBC6jsHt0
99
100
- name: binary_storage
101
azs:
102
- z5
103
instances: 1
104
persistent_disk_type: 4GB
105
vm_type: ((vm_type_small))
106
stemcell: default
107
networks:
108
- name: ((default_network_name))
109
static_ips:
110
- 10.30.107.39
111
templates:
112
- name: binary_storage
113
release: paasta-delivery-pipeline-release
114
115
- name: delivery-pipeline-common-api
116
azs:
117
- z5
118
instances: 1
119
vm_type: ((vm_type_small))
120
stemcell: default
121
networks:
122
- name: ((default_network_name))
123
static_ips:
124
- 10.30.107.66
125
# - 10.30.107.166
126
templates:
127
- name: delivery-pipeline-common-api
128
release: paasta-delivery-pipeline-release
129
130
- name: delivery-pipeline-inspection-api
131
azs:
132
- z5
133
instances: 1
134
vm_type: ((vm_type_small))
135
stemcell: default
136
networks:
137
- name: ((default_network_name))
138
static_ips:
139
- 10.30.107.62
140
# - 10.30.107.162
141
templates:
142
- name: delivery-pipeline-inspection-api
143
release: paasta-delivery-pipeline-release
144
145
- name: delivery-pipeline-binary-storage-api
146
azs:
147
- z5
148
instances: 1
149
vm_type: ((vm_type_small))
150
stemcell: default
151
networks:
152
- name: ((default_network_name))
153
static_ips:
154
- 10.30.107.61
155
templates:
156
- name: delivery-pipeline-binary-storage-api
157
release: paasta-delivery-pipeline-release
158
159
- name: delivery-pipeline-api
160
azs:
161
- z5
162
instances: 1
163
vm_type: ((vm_type_small))
164
stemcell: default
165
networks:
166
- name: ((default_network_name))
167
static_ips:
168
- 10.30.107.65
169
# - 10.30.107.165
170
templates:
171
- name: delivery-pipeline-api
172
release: paasta-delivery-pipeline-release
173
174
- name: delivery-pipeline-service-broker
175
azs:
176
- z5
177
instances: 1
178
vm_type: ((vm_type_small))
179
stemcell: default
180
networks:
181
- name: ((default_network_name))
182
static_ips:
183
- 10.30.107.64
184
templates:
185
- name: delivery-pipeline-service-broker
186
release: paasta-delivery-pipeline-release
187
188
- name: delivery-pipeline-ui
189
azs:
190
- z5
191
instances: 1
192
vm_type: ((vm_type_small))
193
stemcell: default
194
networks:
195
- name: ((default_network_name))
196
static_ips:
197
- 10.30.107.67
198
templates:
199
- name: delivery-pipeline-ui
200
release: paasta-delivery-pipeline-release
201
202
- name: delivery-pipeline-scheduler
203
azs:
204
- z5
205
instances: 1
206
vm_type: ((vm_type_small))
207
stemcell: default
208
networks:
209
- name: ((default_network_name))
210
static_ips:
211
- 10.30.107.63
212
templates:
213
- name: delivery-pipeline-scheduler
214
release: paasta-delivery-pipeline-release
215
216
properties:
217
cf: # CLOUD FOUNDRY 설정 정보
218
uaa:
219
oauth:
220
info:
221
uri: https://uaa.115.68.46.189.xip.io/userinfo
222
token:
223
check:
224
uri: https://uaa.115.68.46.189.xip.io/check_token
225
access:
226
uri: https://uaa.115.68.46.189.xip.io/oauth/token
227
logout:
228
uri: https://uaa.115.68.46.189.xip.io/logout.do
229
authorization:
230
uri: https://uaa.115.68.46.189.xip.io/oauth/authorize
231
client:
232
id: pipeclient
233
secret: clientsecret
234
api:
235
url: https://api.115.68.46.189.xip.io/v2/service_instances/[SUID]/permissions
236
237
ci_server: # CI SERVER 설정 정보
238
password: '!paas_ta202'
239
admin_user:
240
username: 'admin'
241
password: '!paas_ta202'
242
http_url: '10.30'
243
http_port: 8088
244
ajp13_port: 8009
245
ssh:
246
username: vcap
247
password: c1oudc0w
248
port: 22
249
identity: "null" # PERM KEY 경로
250
key: "null"
251
credentials:
252
scope: "GLOBAL"
253
url: "/credentials/store/system/domain/_"
254
class_name: "com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl"
255
job:
256
name: "ci_server" # JOB 이름과 동일하게 설정
257
shared: # Shared 서비스 설정 정보
258
urls:
259
- http://10.30.107.71:8088
260
# - http://10.30.107.72:8088
261
dedicated: # Dedicated 서비스 설정 정보
262
urls:
263
- http://10.30.107.72:8088
264
# - http://10.30.107.74:8088
265
# - http://10.30.107.75:8088
266
267
mariadb: # MARIA DB SERVER 설정 정보
268
port: 3306
269
admin_user:
270
password: "!paas_ta202"
271
host: 10.30.107.68
272
host_names:
273
- mariadb0
274
host_ips:
275
- 10.30.107.68
276
datasource:
277
url: jdbc:mysql://10.30.107.68:3306/delivery_pipeline?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Seoul&useLegacyDatetimeCode=false
278
username: root
279
password: "!paas_ta202"
280
driver_class_name: com.mysql.cj.jdbc.Driver
281
jpa:
282
database:
283
name: mysql
284
285
postgres: # POSTGRESQL SERVER 설정 정보
286
port: 5432
287
host: 10.30.107.82
288
vcap_password: c1oudc0w
289
datasource:
290
url: jdbc:postgresql://10.30.107.82:5432/sonar
291
username: "sonar"
292
password: "sonar"
293
database: "sonar"
294
295
inspection: # INSPECTION SERVER 설정 정보
296
url: 10.30.107.69
297
http_url: 'http://10.30.107.69'
298
http_port: 9000
299
admin:
300
username: admin
301
password: admin
302
303
binary_storage: # BINARY STORAGE SERVER 설정 정보
304
proxy_ip: 10.30.107.39 # 프록시 서버 IP(swift-keystone job의 static_ip, Object Storage 접속 IP)
305
proxy_port: 10008 # 프록시 서버 Port(Object Storage 접속 Port)
306
default_username: paasta-pipeline # 최초 생성되는 유저이름(Object Storage 접속 유저이름)
307
default_password: paasta-pipeline # 최초 생성되는 유저 비밀번호(Object Storage 접속 유저 비밀번호)
308
default_tenantname: paasta-pipeline # 최초 생성되는 테넌트 이름(Object Storage 접속 테넌트 이름)
309
default_email: [email protected] # 최소 생성되는 유저의 이메일
310
container: delivery-pipeline-container
311
auth_port: 5000
312
313
common_api: # COMMON API 설정 정보
314
url: http://10.30.107.70
315
server:
316
port: 8081
317
authorization:
318
id: admin
319
password: PaaS-TA
320
logging:
321
level: INFO
322
haproxy:
323
urls:
324
- 10.30.107.66
325
# - 10.30.107.166
326
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
327
328
pipeline_api: # CI API 설정 정보
329
url: http://10.30.107.70
330
server:
331
port: 8082
332
authorization:
333
id: admin
334
password: PaaS-TA
335
http:
336
multipart:
337
max_file_size: 1000Mb
338
max_request_size: 1000Mb
339
logging:
340
level: INFO
341
haproxy:
342
urls:
343
- 10.30.107.65
344
# - 10.30.107.165
345
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
346
347
inspection_api: # INSPECTION API 설정 정보
348
url: http://10.30.107.70
349
server:
350
port: 8083
351
http:
352
multipart:
353
max_file_size: 1000Mb
354
max_request_size: 1000Mb
355
logging:
356
level: INFO
357
authorization:
358
id: admin
359
password: PaaS-TA
360
haproxy:
361
urls:
362
- 10.30.107.62
363
# - 10.30.107.162
364
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
365
366
binary_storage_api: # BINARY STORAGE API 설정 정보
367
http:
368
multipart:
369
max_file_size: 1000Mb
370
max_request_size: 1000Mb
371
server:
372
port: 8080
373
logging:
374
level: INFO
375
url: http://10.30.107.61
376
authorization:
377
id: admin
378
password: PaaS-TA
379
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
380
381
pipeline_ui: # UI 설정 정보
382
url: http://10.30.107.70
383
server:
384
port: 8084
385
http:
386
multipart:
387
max_file_size: 1000Mb
388
max_request_size: 1000Mb
389
logging:
390
level: INFO
391
haproxy:
392
urls:
393
- 10.30.107.67
394
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
395
396
pipeline_scheduler: # SCHEDULER 설정 정보
397
server:
398
port: 8080
399
logging:
400
level: INFO
401
quartz:
402
scheduler:
403
instance_name: paastaDeliveryPipelineScheduler
404
instance_id: AUTO
405
thread_pool:
406
thread_count: 5
407
job:
408
start_delay: 0
409
repeat_interval: 5000
410
description: PaaS-TA Delivery Pipeline Scheduler
411
key: StatisticsJob
412
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
413
414
pipeline_service_broker: # SERVICE BROKER 설정 정보
415
server:
416
port: 8080
417
logging:
418
controller:
419
level: INFO
420
service:
421
level: INFO
422
dashboard:
423
url: http://115.68.47.175:8084/dashboard/[SUID]/
424
java_opts: '-XX:MaxMetaspaceSize=104857K -Xss349K -Xms681574K -XX:MetaspaceSize=104857K -Xmx681574K'
425
426
haproxy: # HAPROXY 설정 정보
427
url: 10.30.107.70
428
http_port: 8080
Copied!
  • deploy-delivery_pipeline-bosh2.0.sh 파일을 서버 환경에 맞게 수정한다.
1
#!/bin/bash
2
# stemcell 버전은 3445.2 버전으로 사용하시고 https://github.com/PaaS-TA/Guide-2.0-Linguine-/blob/master/Download_Page.md 에서 다운받아 쓰십시요.
3
4
bosh -e micro-bosh -d paasta-delivery-pipeline-service deploy paasta_delivery_pipeline_bosh2.0.yml \
5
-o use-public-network-vsphere.yml \
6
-v default_network_name=service_private \
7
-v public_network_name=service_public \
8
-v stemcell_os=ubuntu-trusty \
9
-v stemcell_version=3445.2 \
10
-v vm_type_small=minimal
Copied!
  • 배포 파이프라인 서비스팩을 배포한다.
  • 사용 예시
    1
    $ ./deploy-delivery_pipeline-bosh2.0.sh
    2
    Using environment '10.30.40.111' as user 'admin' (openid, bosh.admin)
    3
    4
    Using deployment 'paasta-delivery-pipeline-service'
    5
    6
    + azs:
    7
    + - cloud_properties:
    8
    + datacenters:
    9
    + - clusters:
    10
    + - BD-HA:
    11
    + resource_pool: CF_BOSH2_Pool
    12
    + name: BD-HA
    13
    + name: z1
    14
    + - cloud_properties:
    15
    + datacenters:
    16
    + - clusters:
    17
    + - BD-HA:
    18
    + resource_pool: CF_BOSH2_Pool
    19
    + name: BD-HA
    20
    + name: z2
    21
    + - cloud_properties:
    22
    + datacenters:
    23
    + - clusters:
    24
    + - BD-HA:
    25
    + resource_pool: CF_BOSH2_Pool
    26
    + name: BD-HA
    27
    + name: z3
    28
    + - cloud_properties:
    29
    + datacenters:
    30
    + - clusters:
    31
    + - BD-HA:
    32
    + resource_pool: CF_BOSH2_Pool
    33
    + name: BD-HA
    34
    + name: z4
    35
    + - cloud_properties:
    36
    + datacenters:
    37
    + - clusters:
    38
    + - BD-HA:
    39
    + resource_pool: CF_BOSH2_Pool
    40
    + name: BD-HA
    41
    + name: z5
    42
    + - cloud_properties:
    43
    + datacenters:
    44
    + - clusters:
    45
    + - BD-HA:
    46
    + resource_pool: CF_BOSH2_Pool
    47
    + name: BD-HA
    48
    + name: z6
    49
    50
    + vm_types:
    51
    + - cloud_properties:
    52
    + cpu: 1
    53
    + disk: 8192
    54
    + ram: 1024
    55
    + name: minimal
    56
    + - cloud_properties:
    57
    + cpu: 1
    58
    + disk: 10240
    59
    + ram: 2048
    60
    + name: default
    61
    + - cloud_properties:
    62
    + cpu: 1
    63
    + disk: 30720
    64
    + ram: 4096
    65
    + name: small
    66
    + - cloud_properties:
    67
    + cpu: 2
    68
    + disk: 20480
    69
    + ram: 4096
    70
    + name: medium
    71
    + - cloud_properties:
    72
    + cpu: 2
    73
    + disk: 20480
    74
    + ram: 8192
    75
    + name: medium-memory-8GB
    76
    + - cloud_properties:
    77
    + cpu: 4
    78
    + disk: 20480
    79
    + ram: 8192
    80
    + name: large
    81
    + - cloud_properties:
    82
    + cpu: 8
    83
    + disk: 20480
    84
    + ram: 16384
    85
    + name: xlarge
    86
    + - cloud_properties:
    87
    + cpu: 2
    88
    + disk: 51200
    89
    + ram: 4096
    90
    + name: small-50GB
    91
    + - cloud_properties:
    92
    + cpu: 2
    93
    + disk: 51200
    94
    + ram: 4096
    95
    + name: small-50GB-ephemeral-disk
    96
    + - cloud_properties:
    97
    + cpu: 4
    98
    + disk: 102400
    99
    + ram: 8192
    100
    + name: small-100GB-ephemeral-disk
    101
    + - cloud_properties:
    102
    + cpu: 4
    103
    + disk: 102400
    104
    + ram: 8192
    105
    + name: small-highmem-100GB-ephemeral-disk
    106
    + - cloud_properties:
    107
    + cpu: 8
    108
    + disk: 20480
    109
    + ram: 16384
    110
    + name: small-highmem-16GB
    111
    + - cloud_properties:
    112
    + cpu: 1
    113
    + disk: 4096
    114
    + ram: 2048
    115
    + name: caas_small
    116
    + - cloud_properties:
    117
    + cpu: 1
    118
    + disk: 4096
    119
    + ram: 1024
    120
    + name: caas_small_api
    121
    + - cloud_properties:
    122
    + cpu: 1
    123
    + disk: 4096
    124
    + ram: 4096
    125
    + name: caas_medium
    126
    + - cloud_properties:
    127
    + cpu: 2
    128
    + disk: 8192
    129
    + ram: 4096
    130
    + name: service_medium
    131
    + - cloud_properties:
    132
    + cpu: 2
    133
    + disk: 10240
    134
    + ram: 2048
    135
    + name: service_medium_2G
    136
    137
    + vm_extensions:
    138
    + - cloud_properties:
    139
    + ports:
    140
    + - host: 3306
    141
    + name: mysql-proxy-lb
    142
    + - name: cf-router-network-properties
    143
    + - name: cf-tcp-router-network-properties
    144
    + - name: diego-ssh-proxy-network-properties
    145
    + - name: cf-haproxy-network-properties
    146
    + - cloud_properties:
    147
    + disk: 51200
    148
    + name: small-50GB
    149
    + - cloud_properties:
    150
    + disk: 102400
    151
    + name: small-highmem-100GB
    152
    153
    + compilation:
    154
    + az: z1
    155
    + network: default
    156
    + reuse_compilation_vms: true
    157
    + vm_type: large
    158
    + workers: 5
    159
    160
    + networks:
    161
    + - name: default
    162
    + subnets:
    163
    + - azs:
    164
    + - z1
    165
    + - z2
    166
    + - z3
    167
    + - z4
    168
    + - z5
    169
    + - z6
    170
    + cloud_properties:
    171
    + name: Internal
    172
    + dns:
    173
    + - 8.8.8.8
    174
    + gateway: 10.30.20.23
    175
    + range: 10.30.0.0/16
    176
    + reserved:
    177
    + - 10.30.0.0 - 10.30.111.40
    178
    + - name: public
    179
    + subnets:
    180
    + - azs:
    181
    + - z1
    182
    + - z2
    183
    + - z3
    184
    + - z4
    185
    + - z5
    186
    + - z6
    187
    + cloud_properties:
    188
    + name: External
    189
    + dns:
    190
    + - 8.8.8.8
    191
    + gateway: 115.68.46.177
    192
    + range: 115.68.46.176/28
    193
    + reserved:
    194
    + - 115.68.46.176 - 115.68.46.188
    195
    + static:
    196
    + - 115.68.46.189 - 115.68.46.190
    197
    + type: manual
    198
    + - name: service_private
    199
    + subnets:
    200
    + - azs:
    201
    + - z1
    202
    + - z2
    203
    + - z3
    204
    + - z4
    205
    + - z5
    206
    + - z6
    207
    + cloud_properties:
    208
    + name: Internal
    209
    + dns:
    210
    + - 8.8.8.8
    211
    + gateway: 10.30.20.23
    212
    + range: 10.30.0.0/16
    213
    + reserved:
    214
    + - 10.30.0.0 - 10.30.106.255
    215
    + static:
    216
    + - 10.30.107.1 - 10.30.107.255
    217
    + - name: service_public
    218
    + subnets:
    219
    + - azs:
    220
    + - z1
    221
    + - z2
    222
    + - z3
    223
    + - z4
    224
    + - z5
    225
    + - z6
    226
    + cloud_properties:
    227
    + name: External
    228
    + dns:
    229
    + - 8.8.8.8
    230
    + gateway: 115.68.47.161
    231
    + range: 115.68.47.160/24
    232
    + reserved:
    233
    + - 115.68.47.161 - 115.68.47.174
    234
    + static:
    235
    + - 115.68.47.175 - 115.68.47.185
    236
    + type: manual
    237
    + - name: portal_service_public
    238
    + subnets:
    239
    + - azs:
    240
    + - z1
    241
    + - z2
    242
    + - z3
    243
    + - z4
    244
    + - z5
    245
    + - z6
    246
    + cloud_properties:
    247
    + name: External
    248
    + dns:
    249
    + - 8.8.8.8
    250
    + gateway: 115.68.46.209
    251
    + range: 115.68.46.208/28
    252
    + reserved:
    253
    + - 115.68.46.216 - 115.68.46.222
    254
    + static:
    255
    + - 115.68.46.214
    256
    + type: manual
    257
    258
    + disk_types:
    259
    + - disk_size: 1024
    260
    + name: default
    261
    + - disk_size: 1024
    262
    + name: 1GB
    263
    + - disk_size: 2048
    264
    + name: 2GB
    265
    + - disk_size: 4096
    266
    + name: 4GB
    267
    + - disk_size: 5120
    268
    + name: 5GB
    269
    + - disk_size: 8192
    270
    + name: 8GB
    271
    + - disk_size: 10240
    272
    + name: 10GB
    273
    + - disk_size: 20480
    274
    + name: 20GB
    275
    + - disk_size: 30720
    276
    + name: 30GB
    277
    + - disk_size: 51200
    278
    + name: 50GB
    279
    + - disk_size: 102400
    280
    + name: 100GB
    281
    + - disk_size: 1048576
    282
    + name: 1TB
    283
    284
    + stemcells:
    285
    + - alias: default
    286
    + os: ubuntu-trusty
    287
    + version: '3309'
    288
    289
    + releases:
    290
    + - name: paasta-mysql
    291
    + version: '2.0'
    292
    293
    + update:
    294
    + canaries: 1
    295
    + canary_watch_time: 30000-600000
    296
    + max_in_flight: 1
    297
    + update_watch_time: 30000-600000
    298
    299
    + instance_groups:
    300
    + - azs:
    301
    + - z5
    302
    + instances: 3
    303
    + name: mysql
    304
    + networks:
    305
    + - name: service_private
    306
    + static_ips:
    307
    + - 10.30.107.166
    308
    + - 10.30.107.165
    309
    + - 10.30.107.164
    310
    + persistent_disk_type: 8GB
    311
    + properties:
    312
    + admin_password: "<redacted>"
    313
    + character_set_server: "<redacted>"
    314
    + cluster_ips:
    315
    + - "<redacted>"
    316
    + - "<redacted>"
    317
    + - "<redacted>"
    318
    + collation_server: "<redacted>"
    319
    + network_name: "<redacted>"
    320
    + seeded_databases: "<redacted>"
    321
    + syslog_aggregator: "<redacted>"
    322
    + release: paasta-mysql
    323
    + stemcell: default
    324
    + template: mysql
    325
    + vm_type: minimal
    326
    + - azs:
    327
    + - z5
    328
    + instances: 1
    329
    + name: proxy
    330
    + networks:
    331
    + - name: service_private
    332
    + static_ips:
    333
    + - 10.30.107.168
    334
    + properties:
    335
    + cluster_ips:
    336
    + - "<redacted>"
    337
    + - "<redacted>"
    338
    + - "<redacted>"
    339
    + external_host: "<redacted>"
    340
    + nats:
    341
    + machines:
    342
    + - "<redacted>"
    343
    + password: "<redacted>"
    344
    + port: "<redacted>"
    345
    + user: "<redacted>"
    346
    + network_name: "<redacted>"
    347
    + proxy:
    348
    + api_force_https: "<redacted>"
    349
    + api_password: "<redacted>"
    350
    + api_username: "<redacted>"
    351
    + syslog_aggregator: "<redacted>"
    352
    + release: paasta-mysql
    353
    + stemcell: default
    354
    + template: proxy
    355
    + vm_type: minimal
    356
    + - azs:
    357
    + - z5
    358
    + instances: 1
    359
    + name: paasta-mysql-java-broker
    360
    + networks:
    361
    + - name: service_private
    362
    + static_ips:
    363
    + - 10.30.107.167
    364
    + properties:
    365
    + jdbc_ip: "<redacted>"
    366
    + jdbc_port: "<redacted>"
    367
    + jdbc_pwd: "<redacted>"
    368
    + log_dir: "<redacted>"
    369
    + log_file: "<redacted>"
    370
    + log_level: "<redacted>"
    371
    + release: paasta-mysql
    372
    + stemcell: default
    373
    + template: op-mysql-java-broker
    374
    + vm_type: minimal
    375
    + - azs:
    376
    + - z5
    377
    + instances: 1
    378
    + lifecycle: errand
    379
    + name: broker-registrar
    380
    + networks:
    381
    + - name: service_private
    382
    + properties:
    383
    + broker:
    384
    + host: "<redacted>"
    385
    + name: "<redacted>"
    386
    + password: "<redacted>"
    387
    + port: "<redacted>"
    388
    + protocol: "<redacted>"
    389
    + username: "<redacted>"
    390
    + cf:
    391
    + admin_password: "<redacted>"
    392
    + admin_username: "<redacted>"
    393
    + api_url: "<redacted>"
    394
    + skip_ssl_validation: "<redacted>"
    395
    + release: paasta-mysql
    396
    + stemcell: default
    397
    + template: broker-registrar
    398
    + vm_type: minimal
    399
    + - azs:
    400
    + - z5
    401
    + instances: 1
    402
    + lifecycle: errand
    403
    + name: broker-deregistrar
    404
    + networks:
    405
    + - name: service_private
    406
    + properties:
    407
    + broker:
    408
    + name: "<redacted>"
    409
    + cf:
    410
    + admin_password: "<redacted>"
    411
    + admin_username: "<redacted>"
    412
    + api_url: "<redacted>"
    413
    + skip_ssl_validation: "<redacted>"
    414
    + release: paasta-mysql
    415
    + stemcell: default
    416
    + template: broker-deregistrar
    417
    + vm_type: minimal
    418
    419
    + meta:
    420
    + apps_domain: 115.68.46.189.xip.io
    421
    + environment:
    422
    + external_domain: 115.68.46.189.xip.io
    423
    + nats:
    424