Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Deploying an application with Chef and Docker

1,712 views

Published on

Docker 캐주얼 토크 #1 (2014-10-15)에서 발표하기 위해 만든 자료.

원래 'Docker 실서비스 도입기'를 발표하려고 했으나, 아직 도입이 마무리되지 못한 관계로 그 과정에서 의미 있는 부분을 찾아보았다.

그래서 Chef와 Docker가 도입되면 StudyGPS에서 어플리케이션을 업데이트하는 기존의 방식이 어떻게 변화하는지에 대해 설명하고, 그 변화의 의미에 대해서 생각해보고 정리하였다.

Published in: Software, Technology
  • Get Paid On Social Media Sites? YES! View 1000s of companies hiring social media managers now! ■■■ https://tinyurl.com/rbrfd6j
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • WAIT!!! Do this simple 60-second habit to reverse type 2 diabetes(& lose 1 pound of belly fat every 72 hours). ♥♥♥ http://scamcb.com/bloodsug/pdf
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Of course I don't mind sharing a few words about your service, it was a roller coaster ride for me in the betting world before joining forces with you. It’s the best thing that’s happened to me financially. I've been able to pack in my part time job, have more time with the kids and have more money than I can spend. AMAZING!! ♥♥♥ http://t.cn/A6vAxKsh
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Real people just like you are kissing the idea of punching the clock for someone else goodbye, and embracing a new way of living. The internet economy is exploding, and there are literally THOUSANDS of great earnings opportunities available right now, all just one click away. ◆◆◆ http://t.cn/AisJWYf4
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Get Paid $25 per hour to watch YouTube videos ♣♣♣ http://t.cn/AieX6y8B
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Deploying an application with Chef and Docker

  1. 1. Deploying an Application w/ Chef & Docker Daniel Ku (http://kjunine.net/)
  2. 2. AS-IS
  3. 3. TO-BE
  4. 4. Pros and Cons Let's Focus on Docker, Not Chef.
  5. 5. 4 Difference of Data Amount between Versions (40MB) ADD . /studygps WORKDIR /studygps ☛ RUN NODE_ENV=production npm install 4 But it's not a Big Problem. 4 And MONEY can solve this.
  6. 6. Pros and Cons Let's Focus on Docker, Not Chef.
  7. 7. ...
  8. 8. ???
  9. 9. 4 Docker makes Chef Recipes SIMPLE and TYPICAL. docker_image 'kjunine/mongodb' do tag 'latest' cmd_timeout 600 action :pull end docker_container 'mongod' do image 'kjunine/mongodb:latest' container_name 'mongod' entrypoint 'mongod' command "--dbpath /data --replSet #{node['mongodb']['replset']}" detach true port '27017:27017' volume '/data' cmd_timeout 300 action :run end
  10. 10. 4 But, you should write Dockerfiles additionally. 4 It is much EASIER to write a Dockerfile than writing a Chef Recipe.
  11. 11. ...
  12. 12. -_-a
  13. 13. !!!
  14. 14. Docker Orchestration with Chef can be possible.
  15. 15. Conclusion
  16. 16. After all, Docker <<<<< Orchestration Tool
  17. 17. So,
  18. 18. REAL Conclusion
  19. 19. I will WAIT and WATCH, until the WINNER appears.
  20. 20. ㅋㅋㅋ
  21. 21. The End I hope CoreOS wins.

×