Mounting your OVH Object Storage Bucket as a File System

Photos via Pexels

Introduction

What is Object Storage

Setting up the Swift S3 API

sudo apt-get update 
sudo apt-get upgrade
pip3 install awscli awscli-plugin-endpoint
sudo apt-get install awscli
sudo mkdir .awsnano .aws/config
[plugins]endpoint = awscli_plugin_endpoint[profile default]aws_access_key_id = put-here-access-keyaws_secret_access_key = put-here-secret-keyregion = gra (put-here-your-region, gra is just an example)s3 =endpoint_url = https://s3.gra.cloud.ovh.netsignature_version = s3v4addressing_style = virtuals3api =endpoint_url = https://s3.gra.cloud.ovh.net
aws --profile default s3 ls
aws --profile default s3 mb s3://bucket
cd .awsnano file.textaws --profile default s3 cp file.txt s3://bucket/file.txt
aws --profile default s3 cp s3://bucket/file.txt file.txt
aws --profile default s3 rm s3://bucket/file.txt
aws --profile default s3 rb s3://bucket

References :

A Tech Writer, passionate about Network and Systems with a high interest in Cloud,Virtualization and Machine Learning.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store