XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    S3 Remote

    Xen Orchestra
    4
    12
    712
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fred974 last edited by

      Hi,

      I am trying to set a remote S3 repo.
      Could anyone please tell me if the implementation is only for amazon aws or will it work with MinIO S3?

      Thank you

      1 Reply Last reply Reply Quote 0
      • olivierlambert
        olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

        It should work. Feel free to try.

        F 1 Reply Last reply Reply Quote 0
        • F
          fred974 @olivierlambert last edited by fred974

          @olivierlambert said in S3 Remote:

          Feel free to try.

          Hi,

          I am in the process of adding my MinIO server but it ask for a 'Directory' What is a directory?

          Please match the format requested
          

          What is the format?
          I filled in all the other details with no problem

          F 1 Reply Last reply Reply Quote 0
          • F
            fred974 @fred974 last edited by

            @fred974 ANy idea what this mean?

            xcp-S3.PNG
            I created a bucket called xcp-ng and set directory in XO to xcp-ng_vms

            1 Reply Last reply Reply Quote 0
            • lawrencesystems
              lawrencesystems Ambassador 📣 last edited by

              Related to this, when I had tried MinIO it did not like the self signed certificate. Can that be a toggle option to make internal testing easier?

              1 Reply Last reply Reply Quote 0
              • olivierlambert
                olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

                Pinging @nraynaud

                1 Reply Last reply Reply Quote 0
                • nraynaud
                  nraynaud XCP-ng Team 🚀 last edited by

                  Hello, here is how I filled my S3 test remote.

                  the "dir" is the subdirectory where the backup will happen (it doesn't need to exist beforehand). I have not really fleshed out the UI because we're still in beta, and for now I'm interested in failing backups.

                  minio.png

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fred974 @nraynaud last edited by

                    @nraynaud Thank you for the screenshot. It was very helpful.
                    I removed the 'https://' part of the S3 endpoint and I now have a successful test. 👍

                    lawrencesystems 1 Reply Last reply Reply Quote 0
                    • lawrencesystems
                      lawrencesystems Ambassador 📣 @fred974 last edited by

                      @fred974 I am not really clear on how you solved it. I am still getting "Error calling AWS.S3.putObject: self signed certificate" using xo-server 5.74.1 / xo-web 5.77.0. and the S3 target system is TrueNAS 12.0 U2

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fred974 @lawrencesystems last edited by

                        @lawrencesystems
                        Hi Tom,

                        Let me clarify 3 point first.

                        1. My ssl is not a self sign cert. We Have a wildcard ssl cert that we use
                        2. Our MinIO instance is accessible publicly via https://minio.mydomain.co.uk:9000/minio/login
                          And control the allowed source in pfsense for security as all our wordpress backup goes ot MinIO

                        Now you know my setup...

                        In Xen Orchestra we setup MinIO as per the bellow screenshot:

                        xoa_minio.PNG
                        When we test the remote we have this message:

                        xoa_minio2.PNG

                        If I set the https in my config like this:
                        xoa_minio3.png

                        We get this error when testing the remote
                        xoa_minio4.png

                        This is the error that I had when I logged this post. Your error is different than mine I think.
                        If your MinIO exposed to the outside world? If so why not get cert in HAproxy in pfSense and letsencrypt?

                        I hope this help at all.

                        Fred

                        lawrencesystems 1 Reply Last reply Reply Quote 0
                        • lawrencesystems
                          lawrencesystems Ambassador 📣 @fred974 last edited by

                          @fred974 said in S3 Remote:

                          HAproxy in pfSense

                          I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification.

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fred974 @lawrencesystems last edited by

                            @lawrencesystems said in S3 Remote:

                            I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification.

                            Happy I could help.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post