docker - Reducing the shipping time in continuous delivery, especially in hotfix -


i'm implementing continuous delivery technologies , services, such docker, shippable, aws elastic beanstalk, etc. however, takes few(5~7) minutes application automatically deployed production server, pushing git repository.

it's quite neat, may want apply tiny change hotfix immediately, time of 5~7 minutes long wait, because it's building docker image , uploading/downloading it, or running npm test , npm install commands. want skip these steps , apply change immediately.

i'm thinking several ideas have problems:

  • open secret uri interface through http in server patching , restarting
    • there 2 problems this; we'll have give different github keys containers, , it's complex ensure every instances patched because there multiple instances behind load balancer
  • manual labor. connect directly instances , patch them
    • but launched continuous delivery system avoid this

is there best practice kind of problem?

for staging, use scp based deployment, can formalize bit using capistrano, phing / whatever suites you.

so install sshd server on app code container , deploy way, if need hotfix way mentioned above.

so mix image based deployments , hotfix based deployments. should ensure, also build image in background. otherwise container remake change state / rollback hotfixes.


Comments