Deploying BOSH on AWS
In the previous step you prepared an AWS environment for BOSH. This document shows how to deploy BOSH into your AWS environment by creating a deployment manifest and passing it to
bosh aws create prepared your AWS environment, it generated an RSA private key file and saved it into your
~/.ssh directory. To deploy BOSH, you need this file in your deployment directory.
Copy the RSA private key file,
id_rsa_bosh, to the
cf-example directory you created in the previous step.
$ cp ~/.ssh/id_rsa_bosh ~/deployments/cf-example
Log into the AWS Console.
Create a deployment manifest file named
bosh.ymlin the deployment directory. For its contents, copy the YAML code from the AWS BOSH manifest template in the BOSH documentation.
Replace properties listed in the file as follows:
ELASTIC-IP:In the EC2 Dashboard under Elastic IPs, use the Elastic IP with the Instance associated with bosh. Example: “203.0.113.126”.
SUBNET-ID: In the VPC Dashboard tab Subnets, use the Subnet ID for the subnet named “bosh1.” Example: “subnet-2f58134a”.
REGION: Use the values from the
bosh_environmentfile you created in the previous step.
SECRET-ACCESS-KEY: Use the values from your
- Replace all predefined passwords with passwords of your choice.
bosh-init deploy ./bosh.ymlto start the deployment process.
$ bosh-init deploy ./bosh.yml ...
See AWS CPI errors for list of common errors and resolutions.
bosh target ELASTIC-IPto log into your new BOSH Director. The default username and password are
$ bosh target 198.51.100.129 Target set to 'bosh' Your username: admin Enter password: ***** Logged in as 'admin'
For information about deploying BOSH on AWS without running
bosh aws create, see the Initializing BOSH environment on AWS topic.