Sign inSign up

driftt/aws-ecs-deploy

By driftt

•Updated about 9 years ago

Scripts for pushing images to ecr and deploying to ecs

Image
0

100K+

driftt/aws-ecs-deploy repository overview

⁠aws-ecs-deploy

Deploys an ecs service by creating a new task definition based on the latest task definition for that service, then updating the service with that new task defintion

Single account:

docker run -e AWS_ACCESS_KEY_ID=xxx -e AWS_SECRET_ACCESS_KEY=yyy -e AWS_REGION=us-east-1 hublogix/aws-ecs-deploy ecs-deploy cluster_name service_name image

Assuming role across multiple accounts:

docker run -e AWS_ACCESS_KEY_ID=xxx -e AWS_SECRET_ACCESS_KEY=yyy -e AWS_REGION=us-east-1 hublogix/aws-ecs-deploy aws-assume-role account_id role_name ecs-deploy cluster_name service_name image

Tag summary

Content type

Image

Digest

Size

26.5 MB

Last updated

about 9 years ago

docker pull driftt/aws-ecs-deploy