Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Containing Atlassian
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
David McKay
October 26, 2016
Technology
1
87
Containing Atlassian
David McKay
October 26, 2016
Tweet
Share
More Decks by David McKay
See All by David McKay
The Telegraf Toolbelt (InfluxDays SF, 2019)
rawkode
0
170
The DShell Pattern (DevOpsDays London 2019)
rawkode
0
220
Cloud Native Telegraf - Cloud Native London (September 2019)
rawkode
0
85
Developing Your Own Flux Packages (InfluxDays London 2019)
rawkode
0
130
Introduction to Time Series (Software Circus, April 2019)
rawkode
0
150
Introduction to Time Series (Cloud Native Kraków, April 2019)
rawkode
0
100
Introduction to Time Series (Cloud Native Wales, April 2019)
rawkode
0
99
Introduction to InfluxDB 2.0 (Kubernetes London - February 2019)
rawkode
0
91
Kickass Development Environments with Docker (PHPBenelux 2019)
rawkode
0
140
Other Decks in Technology
See All in Technology
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
510
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
240
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
340
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
配列に見る bash と zsh の違い
kazzpapa3
1
130
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
160
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.3k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.7k
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
450
Testing 201, or: Great Expectations
jmmastey
46
8k
Mobile First: as difficult as doing things right
swwweet
225
10k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Why Our Code Smells
bkeepers
PRO
340
58k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Building an army of robots
kneath
306
46k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
Transcript
Containing Atlassian Running the Atlassian Suite with Docker
David McKay @rawkode Software Consultant Serial Meetup Organiser
Containing Atlassian
Why Containers?
Containment for neatness
Containment for security
Containment for speed
Why Docker?
Because it’s a trendy
Because it’s good on the CV
Because all your friends are doing it
None
Docker OK; I’m Serial Now • Industry Leader • Always
Evolving • Proven at Scale • Tooling for all environments • OCI / runC • Official Images
Vocabulary • Dockerfile • Image • Container
Dockerfile FROM ubuntu:16.10 RUN apt-get update RUN apt-get install x
y z CMD java
Docker Image $ docker build -t acme/jira:7.0 .
Docker Images $ docker images REPOSITORY TAG IMAGE ID CREATED
SIZE elixir 1.3 b80c8e9d71f9 3 weeks ago 758.7 MB acme/jira 7.0 e552540688e1 4 weeks ago 224.4 MB alpine 3.4 ee4603260daa 4 weeks ago 4.803 MB
Docker Container $ docker run acme/jira:7.0
Orchestration With Docker Swarm Mode
Swarm Mode ≇ Swarm
Vocabulary • Node • Manager • Worker • Service
Creating a Swarm $ docker swarm init
Joining a Swarm $ docker swarm join --token xxxx 192.168.66.100:2377
Creating a Service $ docker service create --name jira acme/jira:7.0
Creating Services $ docker service create --name crowd acme/crowd:2.10 $
docker service create --name jira acme/jira:7.0 $ docker service create --name confl.. acme/confluence:5.10
Scaling
Scaling a Service $ docker service scale jira=4
Service Discovery
Scaling a Service $ wget http://jira:8080 $ wget http://confluence:8081
Oh yeah, and you get load balancing for free ...
Upgrading
Scaling a Service $ docker service update --image acme/jira:10.1 jira
Potential Problems
Configuration
Configuration $ docker service create --env DB_HOST=postgres $ docker service
update --env-add DB_HOST=postgres
Persistence
Persistence $ docker service create --mount \ type=mount, source=/mnt/volume, destination=/path/in/container
⚖ How can I scale this?
Scaling the Persistence NFS / Fuse mount on all nodes
Feeling fancy? Check out CernVM-FS!
This brings other problems
With the Atlassian Suite You can deal with it, as
most writes to the disk are simply cache! Except BitBucket
Official Support?
⏳ It’s being worked on…
Atlassian on Docker Hub https://hub.docker.com/r/atlassian/
☹ BitBucket & Confluence only
Want more? Pester @durdn
That’s it! Any questions?