Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Increase compilation.workers to a number that is >= independent packa…

…ges; but < than AWS instance limits - https://cloudfoundry.atlassian.net/browse/CF-14

Stop using `disk: xyz` which is only for vSphere (AWS has fixed ephemeral disks) - https://cloudfoundry.atlassian.net/browse/CF-15
Return of static_ips - https://groups.google.com/a/cloudfoundry.org/group/bosh-users/msg/00f84db1fb92f8f8
  • Loading branch information...
commit 72baf0817e3082a6977e3c338bd421b29f0c4c33 1 parent 1846bc3
@drnic authored
View
18 examples/wordpress/deployment-manifest-initial.yml
@@ -7,10 +7,9 @@ release:
version: 1
compilation:
- workers: 2
+ workers: 10 # only the required number are provisioned
network: default
cloud_properties:
- disk: 8096
instance_type: m1.small
# this section describes how updates are handled
@@ -51,7 +50,6 @@ resource_pools:
name: bosh-stemcell
version: 0.5.1
cloud_properties:
- disk: 8192
instance_type: m1.small
availability_zone:
key_name:
@@ -64,8 +62,8 @@ jobs:
networks:
- name: default
default: [dns, gateway]
- cloud_properties:
- instance_type: m1.small
+ static_ips:
+ - NGINX_ELASTICIP
- name: wordpress
template: wordpress
@@ -74,8 +72,8 @@ jobs:
networks:
- name: default
default: [dns, gateway]
- cloud_properties:
- instance_type: m1.small
+ static_ips:
+ - WORDPRESS_ELASTICIP
- name: mysql
template: mysql
@@ -85,8 +83,8 @@ jobs:
networks:
- name: default
default: [dns, gateway]
- cloud_properties:
- instance_type: m1.small
+ static_ips:
+ - MYSQL_ELASTICIP
properties:
@@ -98,7 +96,7 @@ properties:
port: 8008
servers:
- WORDPRESS_ELASTICIP
- servername: WORDPRESS_SERVERNAME
+ servername: NGINX_SERVERNAME
db:
name: wp
user: wordpress
View
5 examples/wordpress/deployment-manifest-scaling.yml
@@ -7,10 +7,9 @@ release:
version: 1
compilation:
- workers: 2
+ workers: 10 # only the required number are provisioned
network: default
cloud_properties:
- disk: 8096
instance_type: m1.small
# this section describes how updates are handled
@@ -51,7 +50,6 @@ resource_pools:
name: bosh-stemcell
version: 0.5.1
cloud_properties:
- disk: 8192
instance_type: m1.small
availability_zone:
key_name:
@@ -62,7 +60,6 @@ resource_pools:
name: bosh-stemcell
version: 0.5.1
cloud_properties:
- disk: 8192
instance_type: m1.xlarge
availability_zone:
key_name:
Please sign in to comment.
Something went wrong with that request. Please try again.