Skip to content

Instantly share code, notes, and snippets.

@mikegreiling
Created May 8, 2014 07:34
Show Gist options
  • Save mikegreiling/63b6a74fb4d466262671 to your computer and use it in GitHub Desktop.
Save mikegreiling/63b6a74fb4d466262671 to your computer and use it in GitHub Desktop.
AWS OpsWorks Deploy - Attribute Dump
{
"opsworks": {
"activity": "deploy",
"sent_at": 1399533119,
"deployment": "33cb5d91-27c8-4e71-9d3e-e7925e5caa03",
"layers": {
"php-app": {
"name": "PHP App Server",
"id": "73271990-452b-4e5f-8a71-619e6441a447",
"elb-load-balancers": [
],
"instances": {
"php-app1": {
"public_dns_name": "ec2-54-224-75-255.compute-1.amazonaws.com",
"private_dns_name": "ip-10-153-168-211.ec2.internal",
"backends": 6,
"ip": "54.224.75.255",
"private_ip": "10.153.168.211",
"instance_type": "m3.medium",
"status": "online",
"id": "b2605c66-81ee-402d-ba01-7a44aff90287",
"aws_instance_id": "i-7226ea21",
"elastic_ip": null,
"created_at": "2014-05-08T06:45:52+00:00",
"booted_at": "2014-05-08T06:47:18+00:00",
"region": "us-east-1",
"availability_zone": "us-east-1d"
}
}
},
"db-master": {
"name": "MySQL",
"id": "2a5bfdcb-12a5-497c-a65a-8b375994332d",
"elb-load-balancers": [
],
"instances": {
"db-master1": {
"public_dns_name": "ec2-54-197-55-195.compute-1.amazonaws.com",
"private_dns_name": "ip-10-146-200-232.ec2.internal",
"backends": 6,
"ip": "54.197.55.195",
"private_ip": "10.146.200.232",
"instance_type": "m3.medium",
"status": "online",
"id": "476cfb30-c0cd-4603-a691-dd79a3917491",
"aws_instance_id": "i-6e3ff33d",
"elastic_ip": null,
"created_at": "2014-05-08T06:46:09+00:00",
"booted_at": "2014-05-08T06:47:22+00:00",
"region": "us-east-1",
"availability_zone": "us-east-1d"
}
}
}
},
"applications": [
{
"name": "TestApp",
"slug_name": "testapp",
"application_type": "php"
}
],
"stack": {
"name": "TestStack",
"id": "fcbfb1eb-7b0c-469e-ad9f-98e1f50faa93",
"vpc_id": null,
"elb-load-balancers": [
]
},
"instance": {
"id": "b2605c66-81ee-402d-ba01-7a44aff90287",
"hostname": "php-app1",
"instance_type": "m3.medium",
"public_dns_name": "ec2-54-224-75-255.compute-1.amazonaws.com",
"private_dns_name": "ip-10-153-168-211.ec2.internal",
"ip": "54.224.75.255",
"private_ip": "10.153.168.211",
"architecture": "x86_64",
"layers": [
"php-app"
],
"backends": 6,
"aws_instance_id": "i-7226ea21",
"region": "us-east-1",
"availability_zone": "us-east-1d",
"subnet_id": null
},
"ruby_stack": "ruby"
},
"deploy": {
"testapp": {
"deploy_to": "/srv/www/testapp",
"application": "testapp",
"deploying_user": "arn:aws:iam::685551156602:root",
"domains": [
"testapp"
],
"application_type": "php",
"mounted_at": null,
"rails_env": null,
"ssl_support": false,
"ssl_certificate": null,
"ssl_certificate_key": null,
"ssl_certificate_ca": null,
"document_root": "web",
"restart_command": "echo 'restarting app'",
"sleep_before_restart": 0,
"symlink_before_migrate": {
"config/opsworks.php": "opsworks.php"
},
"symlinks": {
},
"database": {
"host": "10.146.200.232",
"database": "testapp",
"username": "root",
"password": "password",
"reconnect": true
},
"memcached": {
"host": null,
"port": 11211
},
"migrate": false,
"auto_bundle_on_deploy": true,
"scm": {
"scm_type": "git",
"repository": "https://github.com/amazonwebservices/opsworks-demo-php-simple-app",
"revision": "version2",
"ssh_key": null,
"user": null,
"password": null
},
"stack": {
"needs_reload": false
}
}
},
"ssh_users": {
"2001": {
"name": "mike",
"public_key": "ssh-rsa [redacted]",
"sudoer": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment