- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
{ | |
"requiresCompatibilities": [ | |
"FARGATE" | |
], | |
"executionRoleArn": "arn:aws:iam::xxxxx:role/ecsTaskExecutionRole", | |
"containerDefinitions": [ | |
{ | |
"command": [ | |
"tensorflow_model_server --port=8500 --rest_api_port=8501 --model_name=saved_model_half_plus_two_cpu --model_base_path=/models/saved_model_half_plus_two_cpu" | |
], |
{ | |
"requiresCompatibilities": [ | |
"FARGATE" | |
], | |
"executionRoleArn": "arn:aws:iam::<aws_account_id>:role/ecsTaskExecutionRole", | |
"containerDefinitions": [ | |
{ | |
"command": [ | |
"apt-get update && apt-get install -y --no-install-recommends git && mkdir -p /test && cd /test && git clone -b r1.13 https://github.com/tensorflow/serving.git && tensorflow_model_server --port=8500 --rest_api_port=8501 --model_name=saved_model_half_plus_two --model_base_path=/test/serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_half_plus_two_cpu" | |
], |
Picking the right architecture = Picking the right battles + Managing trade-offs