Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Add AWS Melbourne Region to backups

Add AWS Melbourne Region to backups

Scheduled Pinned Locked Moved Solved Feature Requests
8 Posts 2 Posters 1.1k Views 2 Watching
  • 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.
    • B Offline
      B Offline
      bbm_noahgilbert
      wrote on last edited by
      #1

      Hi, as the AWS Melbourne region just went live, have been wanting to migrate my server over to the Melbourne region including the backups to S3. Are you able to add the Melbourne region (ap-southeast-4) into the Amazon S3 list of regions within Backups?

      I tried to use the S3 compatible option using the standard endpoint, but it came up with an error regarding invalid url (s3.ap-southeast-4.amazonaws.com).

      girishG 1 Reply Last reply
      1
      • B bbm_noahgilbert

        Hi, as the AWS Melbourne region just went live, have been wanting to migrate my server over to the Melbourne region including the backups to S3. Are you able to add the Melbourne region (ap-southeast-4) into the Amazon S3 list of regions within Backups?

        I tried to use the S3 compatible option using the standard endpoint, but it came up with an error regarding invalid url (s3.ap-southeast-4.amazonaws.com).

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @bbm_noahgilbert thanks, I have added this now.

        1 Reply Last reply
        2
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on
        • B Offline
          B Offline
          bbm_noahgilbert
          wrote on last edited by
          #3

          @girish, thanks for adding this into the latest version of Cloudron, but unsure if this is an issue with the config or my server.

          When I try to use it it comes up with an error regarding "UnknownEndpoint" and it looks like the port and details might not be set correctly for the region, but unsure if this is an issue on my server or not.

          I've attached a screenshot of the error (I've blacked out the bucket name) and I've double checked that the firewall rules are set correctly, the s3 bucket and access key settings are correct, and the necessary access point for Melbourne is set within my AWS Account (it's set to internet for the moment).

          Screenshot 2023-02-03 211434.png

          girishG 1 Reply Last reply
          0
          • B bbm_noahgilbert

            @girish, thanks for adding this into the latest version of Cloudron, but unsure if this is an issue with the config or my server.

            When I try to use it it comes up with an error regarding "UnknownEndpoint" and it looks like the port and details might not be set correctly for the region, but unsure if this is an issue on my server or not.

            I've attached a screenshot of the error (I've blacked out the bucket name) and I've double checked that the firewall rules are set correctly, the s3 bucket and access key settings are correct, and the necessary access point for Melbourne is set within my AWS Account (it's set to internet for the moment).

            Screenshot 2023-02-03 211434.png

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @bbm_noahgilbert Indeed, there is a typo 😞 If you like, you can edit /home/yellowtent/box/dashboard/dist/js/index.js . Line 700 has to be changed from:

                { name: 'Asia Pacific (Melbourne)', value: 'Asia Pacific (Melbourne)' },
            

            to

                { name: 'Asia Pacific (Melbourne)', value: 'ap-southeast-4' },
            

            Then just refresh the Backups view page in the browser. Does that work?

            B 1 Reply Last reply
            0
            • girishG girish

              @bbm_noahgilbert Indeed, there is a typo 😞 If you like, you can edit /home/yellowtent/box/dashboard/dist/js/index.js . Line 700 has to be changed from:

                  { name: 'Asia Pacific (Melbourne)', value: 'Asia Pacific (Melbourne)' },
              

              to

                  { name: 'Asia Pacific (Melbourne)', value: 'ap-southeast-4' },
              

              Then just refresh the Backups view page in the browser. Does that work?

              B Offline
              B Offline
              bbm_noahgilbert
              wrote on last edited by
              #5

              @girish No worries at all (sorry for not responding, have been busy at work).

              Made that change to the index.js file, however it still comes up with that same error as before.

              Curious if because the Melbourne Region isn't on by default for AWS accounts, it might be excluded or hidden by default from whatever API Cloudron is accessing to try and get to the right endpoint.

              When using the S3 compatible option in Cloudron and manually typing in the endpoint on the AWS Endpoints doc for S3 Melbourne, it does work so might just be whatever api it's trying to lookup for the endpoint that doesn't have the Melbourne endpoint programmed in yet.

              Curiously looking at the index.js, all the other options for Linode, DigitalOcean, etc. have their API endpoints listed there in, might be better to do that with Amazon S3 so that it has a direct link to the S3 endpoint for that region maybe.

              Just a thought, but will use the S3 compatible option with the Melbourne S3 endpoint for now as that's working into my S3 bucket into AWS.

              girishG 1 Reply Last reply
              0
              • B bbm_noahgilbert

                @girish No worries at all (sorry for not responding, have been busy at work).

                Made that change to the index.js file, however it still comes up with that same error as before.

                Curious if because the Melbourne Region isn't on by default for AWS accounts, it might be excluded or hidden by default from whatever API Cloudron is accessing to try and get to the right endpoint.

                When using the S3 compatible option in Cloudron and manually typing in the endpoint on the AWS Endpoints doc for S3 Melbourne, it does work so might just be whatever api it's trying to lookup for the endpoint that doesn't have the Melbourne endpoint programmed in yet.

                Curiously looking at the index.js, all the other options for Linode, DigitalOcean, etc. have their API endpoints listed there in, might be better to do that with Amazon S3 so that it has a direct link to the S3 endpoint for that region maybe.

                Just a thought, but will use the S3 compatible option with the Melbourne S3 endpoint for now as that's working into my S3 bucket into AWS.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @bbm_noahgilbert said in Add AWS Melbourne Region to backups:

                When using the S3 compatible option in Cloudron and manually typing in the endpoint on the AWS Endpoints doc for S3 Melbourne, it does work so might just be whatever api it's trying to lookup for the endpoint that doesn't have the Melbourne endpoint programmed in yet.

                Good point.. But let me check why this doesn't work.

                ATM, the region is not enabled in our account. But I am enabling it now.

                4c8a3d0f-ce5e-41cb-9261-8c2b7ba66eab-image.png

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  So, it worked for me. Maybe something wrong with the patching or I missed some other part of code that needs to be patched (I am running our latest code). In any case, this should be fixed next release.

                  B 1 Reply Last reply
                  0
                  • girishG girish

                    So, it worked for me. Maybe something wrong with the patching or I missed some other part of code that needs to be patched (I am running our latest code). In any case, this should be fixed next release.

                    B Offline
                    B Offline
                    bbm_noahgilbert
                    wrote on last edited by
                    #8

                    @girish Thanks for looking into it and I tried again with the Amazon S3 backup option in my server, and it started working for me as well (after you said that you enabled it within your AWS Account.

                    I think that might have been the main issue as the error message called out that it couldn't object cloudron-testfile (which it might do through the Cloudron AWS Account if it exists*), so if the region wasn't enabled within that account, it wouldn't be able find the correct endpoint to use for that test file and hence wouldn't know where the correct endpoint is.

                    I say that with the typo that you identified in the backup config code and enabling the AWS Melbourne region within your AWS account, that managed to get it working. In any ways, thanks for looking into this and getting it working for me 🙂

                    1 Reply Last reply
                    1
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search