Skip to content

Instantly share code, notes, and snippets.

@anosulchik
Last active September 2, 2016 09:32
Show Gist options
  • Save anosulchik/29312f8b30fa6f88b9c997281d32d822 to your computer and use it in GitHub Desktop.
Save anosulchik/29312f8b30fa6f88b9c997281d32d822 to your computer and use it in GitHub Desktop.
task definition
{
"requiresAttributes": [],
"taskDefinitionArn": "arn:aws:ecs:us-east-1:1111:task-definition/tf-strings-search-service-prod:85",
"networkMode": "bridge",
"status": "ACTIVE",
"revision": 85,
"taskRoleArn": null,
"containerDefinitions": [
{
"volumesFrom": [],
"memory": 3096,
"extraHosts": null,
"dnsServers": null,
"disableNetworking": null,
"dnsSearchDomains": null,
"portMappings": [
{
"hostPort": 80,
"containerPort": 8080,
"protocol": "tcp"
},
{
"hostPort": 443,
"containerPort": 8443,
"protocol": "tcp"
}
],
"hostname": null,
"essential": true,
"entryPoint": null,
"mountPoints": [
{
"containerPath": "/var/log/sl-search-service",
"sourceVolume": "logs-dir",
"readOnly": false
},
{
"containerPath": "/var/log/sl-search-service-operational",
"sourceVolume": "operational-logs-dir",
"readOnly": false
}
],
"name": "search-service",
"ulimits": null,
"dockerSecurityOptions": null,
"environment": [
{
"name": "EUREKA_CLIENT_EUREKASERVERDNSNAME",
"value": "eureka.host.production"
},
{
"name": "EUREKA_CLIENT_EUREKASERVERPORT",
"value": "8080"
},
{
"name": "EUREKA_CLIENT_EUREKASERVERURLCONTEXT",
"value": "eureka/v2"
},
{
"name": "EUREKA_CLIENT_SERVICEURL_DEFAULTZONE",
"value": ""
},
{
"name": "EUREKA_CLIENT_USEDNSFORFETCHINGSERVICEURLS",
"value": "true"
},
{
"name": "EUREKA_INSTANCE_HOSTNAME",
"value": "internal-tf-strings-search-service-prod-000000.us-east-1.elb.amazonaws.com"
},
{
"name": "EUREKA_INSTANCE_NONSECUREPORT",
"value": "80"
},
{
"name": "EUREKA_INSTANCE_SECUREPORT",
"value": "443"
},
{
"name": "event.bus.kafka.consumer.bootstrap.servers",
"value": "host1.aws:6667"
},
{
"name": "event.bus.kafka.consumer.max.poll.records",
"value": "50"
},
{
"name": "event.bus.kafka.consumers",
"value": "8"
},
{
"name": "event.bus.kafka.topics",
"value": "events"
},
{
"name": "search.elasticsearch.client.cluster",
"value": "es-production-sss-cluster"
},
{
"name": "search.elasticsearch.client.hosts",
"value": "host1.aws"
},
{
"name": "search.elasticsearch.client.port",
"value": "9300"
},
{
"name": "SPRING_PROFILES_ACTIVE",
"value": "aws"
}
],
"links": null,
"workingDirectory": null,
"readonlyRootFilesystem": null,
"image": "myregistry/search-service:2f6a2cd",
"command": null,
"user": null,
"dockerLabels": null,
"logConfiguration": null,
"cpu": 100,
"privileged": null,
"memoryReservation": null
},
{
"volumesFrom": [],
"memory": 512,
"extraHosts": null,
"dnsServers": null,
"disableNetworking": null,
"dnsSearchDomains": null,
"portMappings": [],
"hostname": null,
"essential": true,
"entryPoint": null,
"mountPoints": [
{
"containerPath": "/var/log/sl-search-service-operational",
"sourceVolume": "operational-logs-dir",
"readOnly": true
}
],
"name": "logstashshipper",
"ulimits": null,
"dockerSecurityOptions": null,
"environment": [
{
"name": "LOGSTASH_INPUT_FILES",
"value": "[ { \"path\": \"/var/log/sl-search-service-operational/consumer-operational.log\", \"codec\": \"json\", \"tags\": [\"strings_search_service\", \"consumer_operational\", \"prod\"] }, { \"path\": \"/var/log/sl-search-service-operational/es-operational.log\", \"codec\": \"json\", \"tags\": [\"strings_search_service\", \"es_operational\", \"prod\"] } ]"
},
{
"name": "LOGSTASH_KAFKA_BROKERS",
"value": "host1.aws:6667"
},
{
"name": "LOGSTASH_KAFKA_TOPIC",
"value": "logstash-nearrealtime"
},
{
"name": "SPLUNK_HOSTNAME",
"value": "host1.aws"
}
],
"links": null,
"workingDirectory": null,
"readonlyRootFilesystem": null,
"image": "myregistry/logstashshipper:6ae31819175e65d6b00e9d549e86c3389f6bc9bb",
"command": null,
"user": null,
"dockerLabels": null,
"logConfiguration": null,
"cpu": 20,
"privileged": null,
"memoryReservation": null
}
],
"volumes": [
{
"host": {
"sourcePath": "/var/log/sl-search-service-operational"
},
"name": "operational-logs-dir"
},
{
"host": {
"sourcePath": "/var/log/sl-search-service"
},
"name": "logs-dir"
}
],
"family": "tf-strings-search-service-prod"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment