S3 storage was invented as a way to securely store static data over the web. Some applications, like Gitlab, can use it to store static data like backups. Once you have a Digitalocean account, this page will explain how to:
Click Create a Space, and you’ll see the form.
Then hit Create a Space, and you will be brought to your Spaces dashboard. This is where you can view all files for your space.
Now let’s make an API key that we can use in Gitlab to read and write to this Spaces location.
On the bottom left of Digitalocean’s control panel, you can hit API. You can scroll down a little bit and see the area to create a Spaces access key.
Click Generate New Key, and name it gitlab
Then you will be presented with your public and private key. These keys can be used to access any Digitalocean spaces data.
The public key is:
The private key is:
Now we can continue on to installing Gitlab on our Ubuntu server, and use these keys in the Gitlab configuration