Skip to content
Krzysztof Tałajko edited this page Mar 20, 2018 · 5 revisions

Deploy

Publish the Docker image

Clone the repo (competec branch)

git clone -b competec git@github.com:Competec/ssehub.git

Build image

cd ssehub
docker build -t sse-hub .

Login to docker using docker login command returned by executing:

aws ecr get-login --no-include-email --region eu-central-1

Tag & push the docker image

docker tag sse-hub:latest 426189372068.dkr.ecr.eu-central-1.amazonaws.com/sse-hub:latest
docker push 426189372068.dkr.ecr.eu-central-1.amazonaws.com/sse-hub:latest

Update AWS service

  1. Go to the Amazon ECS website: https://eu-central-1.console.aws.amazon.com/ecs/home?region=eu-central-1#/clusters

  2. Select your target cluster: prod or stage

  3. Enter the sse-hub service

  4. Click on the Update button and go through the update process. Make sure to check Force new deployment checkbox.

Clone this wiki locally