Cloud configuration¶
Cloud providers¶
ecodev-cloud
(as of today) can handle AWS
and Azure
cloud providers. This is reflected by the
Cloud
enum
@unique
class Cloud(str, Enum):
"""
All cloud object storage sources
"""
AZURE = 'Azure'
AWS = 'Aws'
To be more precise, the S3 protocol and the blob protocol are covered by ecodev-cloud
, so that you
can for instance use AWS
for T-system
object storage for instance,
which is a S3 compatible storage. Other European S3 compatible storage providers.
CloudConfiguration
¶
To switch between the two protocols, just populate your .env
file
with the cloud_provider
field (set to Azure
or AWS
).
If you do not specify anything, AWS
will be taken as default.