What you will learn in this TP
- Use an S3 API outside AWS
- Version and archive objects
- Share an object temporarily
Introduction #
What you will learn in this section
- Use an S3 API outside AWS
- Version and archive objects
- Share an object temporarily
Context. The team is moving its backups to OVHcloud Object Storage. You validate scripts and configuration on a local S3 API.
Prerequisites: Docker, the AWS CLI (for the S3 API), kubectl, k3d and Terraform 1.7 or later; everything is simulated locally, with no OVHcloud account · Estimated time: 35 min
Validated S3 scripts, ready for the OVHcloud endpoint.Hands-on #
Guided steps, with their solution.
1. Start MinIO
Why? MinIO implements the S3 API: AWS tools work by changing the URL, as with OVHcloud.
Start MinIO and create anovh-localCLI profile.2. Versioned bucket
Why? Versioning protects backups from overwrites and deletion.
Createsauvegardes, enable versioning, upload two versions of a file and list them.3. Lifecycle and temporary link
Why? Lifecycle deletes old versions automatically; a presigned link shares without opening the bucket.
Add a rule deleting non-current versions after 30 days, then generate a 10-minute link.4. Sync a folder
Why? sync only transfers differences: ideal for daily backups.
Sync a local folder, change a file and sync again watching the transfers.
Difficulty level : ●●○○○ (2/5)
My progress
Sign in to track your progress and take notes. Sign in
Recommended Articles
Le stockage OVHcloud : Block Storage, Object Storage compatible S3 et Cold Archive
Stocker des données sur OVHcloud : volumes Block Storage (classique, haute performance), Object S...
Le calcul sur OVHcloud : instances Public Cloud et Managed Kubernetes Service
Choisir et utiliser le calcul OVHcloud : gammes d'instances (General Purpose, CPU, RAM, GPU, Disc...
Exploiter OVHcloud : Terraform, supervision, sécurité, coûts et souveraineté
Exploiter OVHcloud en production : infrastructure as code avec les fournisseurs Terraform ovh et ...
Comprendre OVHcloud : univers, régions, Public Cloud et outils
Découvrir OVHcloud, fournisseur de cloud européen : univers Bare Metal, Hosted Private Cloud, Pub...
Identités et accès sur OVHcloud : compte, IAM, utilisateurs OpenStack et clés
Sécuriser l'accès à OVHcloud : double authentification du compte, IAM OVHcloud (identités, politi...
Le réseau Public Cloud OVHcloud : réseaux privés, vRack, Gateway, Floating IP et Load Balancer
Concevoir le réseau sur le Public Cloud OVHcloud : réseau public et réseaux privés OpenStack, vRa...
Les bases de données managées OVHcloud (Public Cloud Databases)
Utiliser les bases de données managées du Public Cloud OVHcloud : PostgreSQL, MySQL, MongoDB, Val...
Bonnes pratiques OVHcloud : organisation, sécurité, réseau, sauvegarde et coûts
Les bonnes pratiques pour exploiter le Public Cloud OVHcloud en production : projets par environn...
Mimir : compactor, rétention et stockage objet
Configurer le stockage objet de Mimir (S3, GCS, Azure, MinIO), comprendre la compaction et le spl...