SlideShare a Scribd company logo
Cloud
Infrastructure from
Python Code
How far could we go?
Asher Sterkin
SVP Engineering, GM
Who is Asher Sterkin?
● A Software Engineer since 1978
● SVP Engineering and GM @ BST LABS, BlackSwan Technologies
● Technology lead of the Cloud AI Operating System (CAIOS) project
● Contacts:
○ Asher Sterkin - Israel | Professional Profile | LinkedIn
○ Asher Sterkin (@asterkin) / Twitter
○ asher.sterkin@gmail.com
○ Slideshare: Asher Sterkin
○ Medium: Asher Sterkin
○ https://mastodon.social/@asterkin
○ https://www.reddit.com/user/ashersterkin
Disclaimer
● We are senior managers of one of the IfC Products - CAIOS
● Best effort to avoid direct marketing against competitors
● It not an not official position of our employer BlackSwan Technologies
● Specific examples use CAIOS for illustration purposes only
● AWS icons usage is for illustration purposes only as well
“Infrastructure from Python Code” Mission
“Your Computer is Cloud”
Ease of use
Development
Deployment
Operation
Cost
Security
Reliability
Sustainability
PyIFC
Empowering mainstream Python programmers to develop, deploy, and operate
cost-effective, secure, reliable, and sustainable cloud software without a hussle
These are questions we here over and
over again
Why Python Developers should know
Terraform?
In other words 

Why couldn’t we run Python code on
cloud and not to worry about SDKs and
templates?
What’s the Problem?
Cognitive Overload
Templates
SDK
● Low level of abstraction
● Vendor-specific
● Complicated
● Error-, cost-, and security-prone
● Special technical knowledge
● Requires lot of coordination
● Far from core business
Raise the Level, Bridge the Gap
The IfC Solution
The PyIfC Solution
PyIFC
Service Configuration
Logic” Template ● Cost-effective
● Secure
● Reliable
● Sustainable
Build, release, run
service.py
service_config.py
module.py
build
module.py
function.py
stack.json
release <user-storage> run
<service-stack>
Based on port-to-resource binding specified in
configuration:
● Generate resource template descriptor(s)
● Incorporate resource-specific out port adaptors
to convert high-level application calls to
resource SDK calls
Warning: vendor-specific example
Live Demo 

The need for infrastructure governance does
not go anywhere.
Yet, we could significantly lift up the
level of abstraction
and provide reasonable defaults to
dramatically simplify the process
without losing control.
PyIFC
One Inch Depth
Dive into PyIFC
Machinery
I
F
C
services vendors APIs location
acquire
configure
consume
operate
4 Pillars of the “Infrastructure From Code”
Service
Configuration
I
F
C
APIs location
acquire
configure
consume
operate
TODO Sample App
service.py
service_config.py
services vendors
Where We Are Today
and Where Could We
Go?
IfC Technology Landscape
nitric
klotho
nitric
klotho
caios
nitric
klotho
vercel
modal
chalice
cloudflare ampt
nitric
klotho
cloudflare
cloudflare wing dark
nitric
klotho
vercel
encore
shuttle
frontend
core
backend
extensions
The Potential is Much Bigger
Application Logic
Core
Domain
C
l
o
u
d
S
e
r
v
i
c
e
A
d
a
p
t
e
r
s
C
l
o
u
d
S
e
r
v
i
c
e
A
d
a
p
t
e
r
s
I
n
t
e
r
n
e
t
S
e
r
v
i
c
e
A
d
a
p
t
e
r
s
I
n
t
e
r
n
e
t
S
e
r
v
i
c
e
A
d
a
p
t
e
r
s
Supportive
Subdomain
Internet
Services
Cloud Services
Generic
Subdomain
A
P
I
P
o
r
t
s
A
P
I
P
o
r
t
s
A
P
I
P
o
r
t
s
A
P
I
P
o
r
t
s
IFC
IFC
IFC
Where IfC Meets DDD
Open-end Architecture
Application Logic
Generic,
Supportive,
Core
Subdomains
Generic,
Supportive,
Core
Subdomains
Out of proc
Sidecar
In-proc
extension
Adapters
As far, as there is a market for this
How Far Could We Go?
Let Python be Python
What is Needed?
Protocols for PEPs and Standard Library
Protocols for Popular Open Source Solutions
Python IfC Objective
Unlock full Python
potential as a truly
cloud-native programming
language by adapting its
runtime and compiler to
work optimally with cloud
resources
Library Shelf
It’s not Academic
Who is Etzik Bega?
● An Electrical Engineer since 1998, MBA since 2005
● VP Product @ BST LABS, BlackSwan Technologies
● Product lead of the Cloud AI Operating System (CAIOS) project
● 25 years of experience in cyber security and telecommunication
● 3 years Chief security & privacy officer of BlackSwan Technologies
● 2 years head of devops & finops at BlackSwan Technologies
● Children’s book writer
● Etzik Bega - Israel | Professional Profile | LinkedIn
I am not a software developer

Disclaimer
CAIOS Apps
Security & Privacy
Cost Optimization
Observability
HR
Data Migration
Data Processing
Apps Written Average dev time
(hours)
Average code
saving ratio
2
12
7
3
2
10
24
17
11
21
190
22
1/20
1/8
1/5
1/7
1/7
1/10
Total lines of code saved : 75988
PyCon DE - Pandas Vs Polars
6M record, 45 columns Parquet file
Stack creation completed after 00m 35s
Pandas[s]: 23.5803955450001 Polars[s]: 6.916807431000052
Local VM
AWS
Cloud
Cloud Infrastructure from Python Code: PyCon DE-23
Contact:
● www.caios.io
● info@caios.io
● Asher@blackswan-technologies.com
● Etzik@blackswan-technologies.com
Questions

More Related Content

PDF
PyCascades-23.pdf
PDF
PyConFR-23 Talk.pdf
PPTX
Serverless survival kit
PDF
X by orange; una telco en la nube
PDF
The Modern Tech Stack: Microservices - The Dark Side
PDF
The Future is Now: What’s New in ForgeRock Access Management
PDF
apidays Australia 2023 - APIs Aren't Enough: Why SaaS Leaders Are Investing I...
PDF
PyCascades-23.pdf
PyConFR-23 Talk.pdf
Serverless survival kit
X by orange; una telco en la nube
The Modern Tech Stack: Microservices - The Dark Side
The Future is Now: What’s New in ForgeRock Access Management
apidays Australia 2023 - APIs Aren't Enough: Why SaaS Leaders Are Investing I...

Similar to Cloud Infrastructure from Python Code: PyCon DE-23 (20)

PDF
Roger Dickinson - Making Enterprise Virtual Reality a Practical Reality - Cod...
PDF
How to build containerized architectures for deep learning - Data Festival 20...
PPTX
Infrastructure Solutions for Deploying AI/ML/DL Workloads at Scale
PPTX
Automating and Orchestrating Cloud Computing
PDF
Enterprise serverless
PDF
Devops, Agile and AI - Cue your Robot Underlords #CLUS2019
PPTX
Infrastructure as Code with Terraform on AWS
PPT
TIBCO Silver at the SOA Forum in Paris Oct 6 2009
PDF
Vonnue Profile for SES (1).pdf
PPTX
Frequently Asked Questions (FAQs) on IoT Cloud App Development
PDF
Providing a Holistic, Service-Oriented Infrastructure for Integration of Real...
PDF
cisco-and-splunk-innovation-through-the-power-of-integration.pdf
PDF
Developing cloud serverless components in Python: DDD Perspective
PDF
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
PPTX
A Blueprint for Cloud-Native Financial Institutions
PPTX
API Platform Cloud Service best practice - OOW17
PPTX
á„‚á…„á„‹á…Ž ᄀá…Șá„Œá…Šá„‚á…łá†« 클라ᄋᅼ드오 ᄋᅔᆻᄋᅄ_KTDS_ᄀᅔᆷ도ᆌ현.pptx
PDF
Paul Wilford - From a Small Experiment to a Half a Billion... | Agile Deliver...
PPTX
slidesaver.app_ptiswhansiblewyeddik.pptx
PDF
사ᄆᅼᆯ ᄋᅔᆫᄐᅄᄂᅊá†ș을 위헌 AWS FreeRTOS 소ᄀᅹ
Roger Dickinson - Making Enterprise Virtual Reality a Practical Reality - Cod...
How to build containerized architectures for deep learning - Data Festival 20...
Infrastructure Solutions for Deploying AI/ML/DL Workloads at Scale
Automating and Orchestrating Cloud Computing
Enterprise serverless
Devops, Agile and AI - Cue your Robot Underlords #CLUS2019
Infrastructure as Code with Terraform on AWS
TIBCO Silver at the SOA Forum in Paris Oct 6 2009
Vonnue Profile for SES (1).pdf
Frequently Asked Questions (FAQs) on IoT Cloud App Development
Providing a Holistic, Service-Oriented Infrastructure for Integration of Real...
cisco-and-splunk-innovation-through-the-power-of-integration.pdf
Developing cloud serverless components in Python: DDD Perspective
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
A Blueprint for Cloud-Native Financial Institutions
API Platform Cloud Service best practice - OOW17
á„‚á…„á„‹á…Ž ᄀá…Șá„Œá…Šá„‚á…łá†« 클라ᄋᅼ드오 ᄋᅔᆻᄋᅄ_KTDS_ᄀᅔᆷ도ᆌ현.pptx
Paul Wilford - From a Small Experiment to a Half a Billion... | Agile Deliver...
slidesaver.app_ptiswhansiblewyeddik.pptx
사ᄆᅼᆯ ᄋᅔᆫᄐᅄᄂᅊá†ș을 위헌 AWS FreeRTOS 소ᄀᅹ
Ad

More from Asher Sterkin (17)

PDF
Dynamic Class Loader in TypeScript - Node.js-il Open Mic- Dec 23 2024.pdf
PDF
Ports and Adapters in TypeScript - NodeJS TLV MeetpUp - Nov 7 2024.pdf
PDF
Generic _Composite_ in Python_ PyWeb TLV Meetup 07.08.2024.pdf
PDF
Ported to Cloud with Wing_ Blue ZnZone app from _Hexagonal Architecture Expla...
PDF
Essence of Requirements Engineering: Pragmatic Insights for 2024
PDF
pyjamas22_ generic composite in python.pdf
PDF
If your computer is cloud what its Operating System look like?
PDF
Serverless flow programming a new perspective (py web meetup, sept 2nd, 2019...
PDF
Documenting serverless architectures could we do it better - o'reily sa con...
PDF
Shaping serverless architecture with domain driven design patterns - py web-il
PDF
Shaping serverless architecture with domain driven design patterns
PDF
Domain driven design: a gentle introduction
PDF
Strategy toolbox for startsups
PDF
AI as a service
PDF
Serverless ddd
PDF
Software strategy for startups
PDF
What is exactly anti fragile in dev ops - v3
Dynamic Class Loader in TypeScript - Node.js-il Open Mic- Dec 23 2024.pdf
Ports and Adapters in TypeScript - NodeJS TLV MeetpUp - Nov 7 2024.pdf
Generic _Composite_ in Python_ PyWeb TLV Meetup 07.08.2024.pdf
Ported to Cloud with Wing_ Blue ZnZone app from _Hexagonal Architecture Expla...
Essence of Requirements Engineering: Pragmatic Insights for 2024
pyjamas22_ generic composite in python.pdf
If your computer is cloud what its Operating System look like?
Serverless flow programming a new perspective (py web meetup, sept 2nd, 2019...
Documenting serverless architectures could we do it better - o'reily sa con...
Shaping serverless architecture with domain driven design patterns - py web-il
Shaping serverless architecture with domain driven design patterns
Domain driven design: a gentle introduction
Strategy toolbox for startsups
AI as a service
Serverless ddd
Software strategy for startups
What is exactly anti fragile in dev ops - v3
Ad

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
L1 - Introduction to python Backend.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
System and Network Administraation Chapter 3
PPTX
assetexplorer- product-overview - presentation
PDF
System and Network Administration Chapter 2
PDF
top salesforce developer skills in 2025.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Computer Software and OS of computer science of grade 11.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Which alternative to Crystal Reports is best for small or large businesses.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
CHAPTER 2 - PM Management and IT Context
How to Choose the Right IT Partner for Your Business in Malaysia
L1 - Introduction to python Backend.pptx
Design an Analysis of Algorithms I-SECS-1021-03
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
2025 Textile ERP Trends: SAP, Odoo & Oracle
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Navsoft: AI-Powered Business Solutions & Custom Software Development
System and Network Administraation Chapter 3
assetexplorer- product-overview - presentation
System and Network Administration Chapter 2
top salesforce developer skills in 2025.pdf
Design an Analysis of Algorithms II-SECS-1021-03
Computer Software and OS of computer science of grade 11.pptx

Cloud Infrastructure from Python Code: PyCon DE-23