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
OpenStack from 10,000ft
Search
Stephen Finucane
November 12, 2022
Technology
0
120
OpenStack from 10,000ft
A lightning talk I whipped up for PyCon IE 2022.
Stephen Finucane
November 12, 2022
Tweet
Share
More Decks by Stephen Finucane
See All by Stephen Finucane
Zero-downtime upgrades with SQLAlchemy + Alembic
stephenfin
0
510
Teaching padawans to chop wood and carry water in their open source journey
stephenfin
0
190
What is Nova?
stephenfin
0
280
A Documentation-Driven Approach to Building APIs
stephenfin
0
160
A Lion, a Head, and a Dash of YAML (PyCon Limerick 2020)
stephenfin
0
260
Will Someone *Please* Tell Me What's Going On?
stephenfin
1
220
Trading Flexibility for Performance: The HPC Story in OpenStack
stephenfin
0
280
Working with Documentation, The OpenStack Way
stephenfin
0
220
Will somebody *please* tell me what is going on?
stephenfin
0
380
Other Decks in Technology
See All in Technology
データ分析基盤を作ってみよう~設計編~
nrinetcom
PRO
1
110
「単なる OAuth 2.0 を認証に使うと、車が通れるほどのどでかいセキュリティー・ホールができる」のか検証してみた
terara
0
380
「我々はどこに向かっているのか」を問い続けるための仕組みづくり / Establishing a System for Continuous Inquiry about where we are
daitasu
0
170
頼られるのが大好きな 皆さんへ - 支援相手との期待の合わせ方、突き放し方 -/For_people_who_like_to_be_relied_on
naitosatoshi
1
290
Flutter研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
ここがすごいよ! AWS Systems Manager!
saichan11
0
1.8k
Classmethod Odyssey 登壇資料
yamahiro
0
390
【基調講演】変える、今ここから ― IoTとAIで紡ぐ未来
soracom
PRO
0
320
運用改善、不都合な真実 / 20240722-ssmjp-kaizen
opelab
17
8k
AutomatedLabを使って内部ペンテストを勉強しよう! -やられ社内ネットワークの自動構築-
n_etupirka
1
610
サーバーレスAPI(API Gateway+Lambda)とNext.jsで 個人ブログを作ろう!
shuntaka
PRO
0
560
Azure OpenAI Service Dev Day / LLMでできる!使える!生成AIエージェント
masahiro_nishimi
3
750
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
Side Projects
sachag
451
42k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
Music & Morning Musume
bryan
43
5.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
248
20k
Ruby is Unlike a Banana
tanoku
96
10k
GraphQLの誤解/rethinking-graphql
sonatard
59
9.6k
Scaling GitHub
holman
458
140k
Build your cross-platform service in a week with App Engine
jlugia
227
17k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
189
16k
Transcript
OpenStack from 10,000ft @stephenfin - PyCon IE 2022
Stephen Finucane (@stephenfin) Senior Software Engineer
None
6 key services… Nova (Compute) Neutron (Networking) Glance (Images) Cinder
(Volumes) Keystone (Identity) Placement (Resource tracking)
None
…and loads of others Swift (Object storage) * Designate (DNS)
Ironic (Bare metal) Barbican (Key manager) Cyborg (Accelerators) …
Couple of common design features Python 3 Traditional relational databases
(MySQL) Message queues (RabbitMQ) They wrap other things
Couple of common design features Python 3 Traditional relational databases
(MySQL) Message queues (RabbitMQ) They wrap other things Bad upgrades, worse documentation :( (though way better than before)
None
How do I get an OpenStack? Public cloud provider Private
cloud provider (i.e. work)
How do I get an OpenStack? Public cloud provider Private
cloud provider (i.e. work) r/homelab / DIY
How do I create my own OpenStack? DevStack Kolla OpenStack
Ansible TripleO
How do I create my own OpenStack? DevStack Kolla OpenStack
Ansible TripleO
[[local|localrc]] ## Passwords ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password HORIZON_PASSWORD=password SERVICE_PASSWORD=password SERVICE_TOKEN=no-token-password local.conf
❯ ./stack.sh
❯ ./stack.sh # Wait some time... ❯ systemctl status
[email protected]
❯ journalctl --unit
[email protected]
How do I use an OpenStack? Horizon OSC (openstackclient) openstacksdk
/ Gophercloud Ansible Terraform ⭐ Kubernetes ⭐
❯ pip install openstackclient # ...or... ❯ sudo dnf install
python-openstackclient # ...or... ❯ sudo apt install python-openstackclient
❯ openstack server create ... ❯ openstack network create ...
❯ openstack image create ... ❯ openstack volume create ... ❯ openstack project create ...
❯ pip install openstacksdk # ...or... ❯ sudo dnf install
python-openstacksdk # ...or... ❯ sudo apt install python-openstacksdk
import openstack # Initialize and turn on debug logging openstack.enable_logging(debug=True)
# Initialize connection conn = openstack.connect(cloud='devstack') # List the servers for server in conn.compute.servers(): print(server.to_dict()) hello_openstack.py
How do I find out more? docs.openstack.org opendev.org/openstack #openstack on
IRC (OFTC)
[email protected]
Talk to me! 🙋
Thanks!