Page 1
Docker registry + Swift 연동하기 체험기
JunoJunho http://junolab.blogspot.kr/
Page 2
그래서 오늘 뭘 하는거죠?
• 자기 소개..
• 왜 Swift를…
• 연동 방법
• 느낀점
• Q&A
Page 6
Android JellyBean .. ?
Page 9
네,, 결론을 말하자면,, 저는 대학원 어디갈지 고민중인 사람입니다.
Page 13
Docker Registry + Swift
Page 16
다른 곳에 저장하고 필요할 때 가져와서(pull) 쓰자.
Page 17
기본적인 사용법 (+S3) http://blog.nacyot.com/articles/2014-05-08-docker-
registry-introduction/#도커-레지스트리-설치 근데 왜,, Swift는 안해요?
Page 18
https://github.com/docker/docker-registry
호오?
Page 25
Pricing, 내 마음대로 Scalable… 등등
Page 26
Storage 1 Storage 2
Storage 3
Proxy
Page 27
Storage 1 Storage 2
Storage 3
Proxy으앙 쥬금 ㅋ
Page 28
Storage 1 Storage 2
Storage 3
Proxy
괜찮음 ㅋㅋ 2개 더있음.
Page 30
Proxy + Storage(object ,account, container)…
Page 31
Single 노드에 설치가 잘되니 금방 여러개의 노드에 분산해서 할 수 있겠군..
Page 32
https://swift.readthedocs.org/en/latest/howto_installmultinode.html
! 저는 여기를 보고… 설치 했습니다..
Page 36
이제 Swift 설치 했으니 registry 연동하면 되겠지?? ㅋㅋ
Page 38
Tenant는 Swift를 사용할 때 추가적으로 Keystone과 연동..
Page 40
이건 또 어떻게.. 설치 하나요..
Page 41
https://github.com/swiftstack/keystone_install
한큐에 키스톤 설치하고 연동하기.
Page 42
기본 값으로 User : swiftstack PW : password tenant : SS
Page 43
그런데,, Swift에 맞게..
Page 44
https://www.swiftstack.com/docs/integration/keystone.html
Page 45
Step by Step 통합하기..
Page 46
Remember tenant : account in swift
user : user in swift role : group in swift
Page 53
4. role(swift에서 역할)을 할당해주고..
Page 55
End Point : 접근점 생성하기
Page 56
그리고 이 과정을 swift user 에 맞게 한번 더 해줍니다..
Page 57
proxy-server.conf에도 Keystone 설정 추가해줘야죠..
Page 59
그럼 이제,, registry config..
Page 61
그리고 이제 일반 registry처럼..
Page 62
알아.. 나도 처음엔 쉬운줄 알았어..
Page 64
• 하지말걸…
• Swift 의 경험을 해보고..
• Keystone이랑 연동 해보고..
• 욕도 시원하게 해보고…
Page 65
왜 Cinder 놔두고 Swift쓰죠?
Page 66
https://www.mail-archive.com/[email protected] /
msg19838.html
Page 67
Cinder : Nova에서 나오는 Volume을 잘 분산해서 처리하려구요..
Page 68
Swift : Object스토리지로 많은 파일을 효율적이고, 싸게 오랜기간 consistent하게 보관할 수 있
습니다..
Page 70
더 많은 설명은.. https://lists.launchpad.net/openstack/msg19997.html
그런데 영어 ㅋ