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
Containers Revealed - LAOUC Tour '23 - Mexico
Search
Seán Scott
PRO
August 04, 2023
Technology
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Containers Revealed - LAOUC Tour '23 - Mexico
Seán Scott
PRO
August 04, 2023
More Decks by Seán Scott
See All by Seán Scott
Data Guard Networking Tips and Tricks
oraclesean
PRO
0
32
Never Name a Database "Standby" (and nine other things they don't teach in Data Guard School)
oraclesean
PRO
0
24
The Hitchhiker's Guide to Cloud Native Databases
oraclesean
PRO
1
57
Start Using Oracle AI Database 26ai Now!
oraclesean
PRO
1
58
The Hitchhiker's Guide to Cloud Native Databases
oraclesean
PRO
1
180
The Hitchhiker's Guide to Cloud Native Databases
oraclesean
PRO
0
53
¡Comience a utilizar Oracle Database 26ai Ahora!
oraclesean
PRO
0
43
The Hitchhiker's Guide to Cloud Native Databases
oraclesean
PRO
0
78
Terraform for Oracle Database Administrators
oraclesean
PRO
1
54
Other Decks in Technology
See All in Technology
カーネルまで探検して理解するふたつの自動計装
sumiyae
0
280
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
160
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
430
Claude Teamプランの コスト最適化を考える
rfdnxbro
0
140
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
260
Oracle MCP Servers Explained
thatjeffsmith
0
450
電話に出る Python のログの話
shinnosuke_kishida
0
220
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
380
2027年のMetricKit
kantacky
0
170
MIXIで活躍できるエンジニアを 若手社員目線で考えてみる
mixi_engineers
PRO
0
140
【Aiming】共通基盤なのに「共通化しない」課金・認証基盤「LINK」が選び取ったシングルテナント戦略と運用の秘訣
saikeda
0
180
Netflix の裏側に何があるのか...その謎を解明すべく、我々は Amazon の奥地へと向かった
kentosuzuki
0
100
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
400
From π to Pie charts
rasagy
0
320
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
380
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
550
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
290
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
800
Evolving SEO for Evolving Search Engines
ryanjones
0
260
Building the Perfect Custom Keyboard
takai
2
850
sira's awesome portfolio website redesign presentation
elsirapls
0
340
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Transcript
Containers Revealed: Easy as Tic-Tac-Toe @ViscosityNA www.viscosityna.com Latin America Community
Tour '23 - Mexico August 4, 2023 Sean Scott Oracle ACE Director DoK Community Ambassador Managing Principal Consultant @oraclesean linkedin.com/in/soscott/
[email protected]
DATABASE RELIABILITY ENGINEERING ⁘ DEVOPS & AUTOMATION HIGH AVAILABILITY
⁘ BUSINESS CONTINUITY ⁘ DISASTER RECOVERY MODERNIZATION ⁘ OBSERVABILITY ⁘ ENGINEERED SYSTEMS AutoUpgrade ⁘ Zero Downtime Migrations ⁘ Patching Real Application Clusters ⁘ Data Guard ⁘ Sharding Docker/Containers ⁘ Terraform ⁘ Ansible Exadata ⁘ Oracle Database Appliance AHF ⁘ TFA ⁘ GIMR ⁘ CHA @ViscosityNA www.viscosityna.com Sean Scott Oracle ACE Director DoK Community Ambassador Managing Principal Consultant @oraclesean linkedin.com/in/soscott/
[email protected]
None
@ViscosityNA www.viscosityna.com Oracle on Docker Running Oracle Databases in Linux
Containers Download a free sample chapter: https:/ /oraclesean.com 20% Discount Code: OracleDocker https:/ /link.springer.com
@ViscosityNA www.viscosityna.com vo • cab • u • lar •
y
@ViscosityNA www.viscosityna.com Stateful Stateless Persistent Immutable Ephemeral Cloud Native Context
Builds Layers Images Services Dockerfile Containers Union Filesystems
@ViscosityNA www.viscosityna.com What Are Containers?
@ViscosityNA www.viscosityna.com Three full operating systems Three application/executable directories
@ViscosityNA www.viscosityna.com Three full operating systems Three application/executable directories
@ViscosityNA www.viscosityna.com www.viscosityna.com @ViscosityNA 13 Oracle Databases on a Laptop
2018 MacBook Pro 15", 2.2GHz 6-core Intel Core i7, 16GB, 1TB SSD
Containers are like lightweight Virtual Machines, right?
None
@ViscosityNA www.viscosityna.com Virtual Machines: Bootable OS, often heavy A 100-page
book of games & puzzles Containers: Support one application or service A sheet of paper with a Tic-Tac-Toe grid
None
None
@ViscosityNA www.viscosityna.com Games have structured playing surfaces and rules.
@ViscosityNA www.viscosityna.com Services deliver games to players.
@ViscosityNA www.viscosityna.com Images include the game rules and playing surface.
@ViscosityNA www.viscosityna.com Images are a minimal filesystem & metadata needed
to run a service.
@ViscosityNA www.viscosityna.com Running an image starts a Container.
@ViscosityNA www.viscosityna.com A container is: A process on a host,
and; A Union Filesystem.
@ViscosityNA www.viscosityna.com Container processes are isolated.
@ViscosityNA www.viscosityna.com A Union Filesystem has three layers: A Merge
or Union Layer. An Upper Layer. A Lower Layer.
@ViscosityNA www.viscosityna.com A Union Filesystem has three layers: A Merge
or Union Layer: The game. An Upper Layer: The container. A Lower Layer: The image.
@ViscosityNA www.viscosityna.com
@ViscosityNA www.viscosityna.com The Upper (merge) layer isn't "real."
@ViscosityNA www.viscosityna.com The Upper (merge) layer isn't "real." It's a
perceived (calculated) union of: • The game board & rules • Game play
@ViscosityNA www.viscosityna.com Containers persist state (moves) in the run-time layer
of its Union Filesystem. Containers are stateful.
@ViscosityNA www.viscosityna.com Deleting a container removes its Union Filesystem (and
its run-time layer). Containers are Ephemeral
@ViscosityNA www.viscosityna.com Images are immutable and never change.
@ViscosityNA www.viscosityna.com Stalemate!
@ViscosityNA www.viscosityna.com Shift the Image Right Moves fall off the
game board: Changing an image changes the game!
@ViscosityNA www.viscosityna.com Images are immutable and can't persist state information.
They are stateless.
@ViscosityNA www.viscosityna.com Images = Static Containers = Living
@ViscosityNA www.viscosityna.com Containers are Magic!
@ViscosityNA www.viscosityna.com How much space do three containers use? 500MB
+ 500MB + 500MB 500MB 500MB + 500MB + 500MB 1,500MB 500MB 500MB 500MB +
@ViscosityNA www.viscosityna.com Multiple identical containers will share an image.
@ViscosityNA www.viscosityna.com Build & Bake Images
@ViscosityNA www.viscosityna.com A Dockerfile is a recipe for building images.
@ViscosityNA www.viscosityna.com Paper Tic-Tac-Toe Grid
@ViscosityNA www.viscosityna.com Image layers are modular and reusable. Layers can
be cached and reused among multiple images.
@ViscosityNA www.viscosityna.com Paper Game of Sums 3x3 Sudoku Tic-Tac-Toe Grid
@ViscosityNA www.viscosityna.com Base Linux OS TensorFlow Flask Python
@ViscosityNA www.viscosityna.com Context is a pantry of image ingredients.
@ViscosityNA www.viscosityna.com Ignore files limit and control the build context.
@ViscosityNA www.viscosityna.com Contact Me
[email protected]
https://linktr.ee/oraclesean