Deploy S3 via CLI¶
Let's check how we can create a public S3 storage using CLI (Command Line Interface).
Tip
Using the DNS feature provided on the Gigify Uganda Limited portal, you can simply create a publicly accessible S3 storage in less steps. However, this tutorial can help you understand how you can use reverse proxies with CLI.
Tip
To learn more about how you can use DNS on the Gigify Uganda Limited portal, check the DNS Documentation.
You can download the Gigify Uganda Limited CLI from the Downloads. It is available for Linux, Windows and OS X operating systems (x86-64 only).
Check CLI user guide for installation steps and examples.
Steps to create S3 storage using CLI¶
Tip
Assign values to every variable starting with "$" in each command.
-
Create your objectspace using the following command.
-
Store our objectspace ID in a variable, as we will use it in further commands.
-
Connect your new objectspace to your cloudspace using the following command.
-
We will use the following command to create a new serverpool.
-
Like objectspace ID, we will store our serverpool ID in a variable, as we will use it in further commands.
-
Now we need to get the required address for adding host to serverpool using the following command
-
Store the IP addresses in these variables.
-
Finally, use the following command to add the host to your serverpool.
You can check how to access your objectspace from MinIO client, including how to share from external services to your objectspace.