• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Hosting on RDS

Scheduled Pinned Locked Moved Solved
General Discussion
0
17
14.9k
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.
  • R
    richb201
    last edited by 13 Feb 2021, 15:59

    Thanks Dan. I have been battling with Docker to get AWS Secrets Manager going and I am just about done. I will be moving over the VMware. I have loaded a vbox on my laptop (even though I am already in Linux) so I can do complete install on it. I will still be using RDS.

    Can you point me at any docs you have for installing in a vmWare box? How does it work with multiple instances? I am using passwordless and I will need to specify the address of fa:9011 for each box. Or would you suggest just one copy a fa?

    1 Reply Last reply Reply Quote 0
    • R
      richb201
      last edited by 17 Feb 2021, 01:49

      Turns out that AWS uses Docker not vmWare so I'm back to docker.

      1 Reply Last reply Reply Quote 0
      • D
        dan
        last edited by 19 Feb 2021, 23:26

        Ah, makes sense. We don't have specific VMware instructions; I'd imagine it'd work with a zipfile. But it sounds like you figured it out.

        --
        FusionAuth - Auth so modern you can download it.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • R
          richb201
          last edited by 20 Feb 2021, 06:37

          I am back to Docker but still having issues my FA docker install no longer working. Here is the database ENV I am using. Does this normal?

            DATABASE_URL: jdbc:mysql://database-2.cwymdn16cxes.us-east-1.rds.amazonaws.com/fusionauthdb
          
          1 Reply Last reply Reply Quote 0
          • D
            dan
            last edited by dan 20 Feb 2021, 14:29

            Looks good to me. Probably a good idea to make sure you can connect to that database with the username and password you set in the environment from your container. RDS instances are behind a security group, so you need to make sure your requests can get through that.

            I do see you shared more of the error message on another thread. Maybe you need to add the port number (:3306, just before /fusionauthdb) ?

            I'm not going to mention this more than once, but wanted to let you know that you can get a FusionAuth Cloud server provisioned and maintained for as little as $75/month (pricing correct as I write this). Not sure how much time you are spending getting your remote server up and running, but it may be worth considering 🙂 .

            --
            FusionAuth - Auth so modern you can download it.
            https://fusionauth.io

            R 1 Reply Last reply 20 Feb 2021, 23:02 Reply Quote 0
            • R
              richb201 @dan
              last edited by richb201 20 Feb 2021, 23:02

              @dan

              I agree this is getting way too painful.

              I changed back to using my local mysql. For some reason silent config mod is still showing its "ugly" face.

              ---------------------------------- Entering Silent Configuration Mode -----------------------------------
              ---------------------------------------------------------------------------------------------------------
              
              WARNING: An illegal reflective access operation has occurred
              WARNING: Illegal reflective access by com.inversoft.lang.ClassLoaderTools (file:/usr/local/fusionauth/fusionauth-app/web/WEB-INF/lib/inversoft-database-0.5.2.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
              WARNING: Please consider reporting this to the maintainers of com.inversoft.lang.ClassLoaderTools
              WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
              WARNING: All illegal access operations will be denied in a future release
              
              

              Could be because I no longer have my fa table. I am not sure what happened to it? Clearly this problem is way above my "pay grade".

              I relaunched my Ec2 instance and now I am able to at least use URL:9011 and the UI opens up.

              But I still get the error above when I "docker up".

              1 Reply Last reply Reply Quote 0
              • D
                dan
                last edited by 23 Feb 2021, 22:34

                Are you talking about the Illegal reflective access error message?

                --
                FusionAuth - Auth so modern you can download it.
                https://fusionauth.io

                1 Reply Last reply Reply Quote 0
                • R
                  richb201
                  last edited by 24 Feb 2021, 01:09

                  yes, for one thing.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dan
                    last edited by 25 Feb 2021, 16:26

                    You can safely ignore that. It's a java warning based on some of the libraries on which we depend, I believe. If you can provide the version of java you are using and the OS version, I can file a bug.

                    --
                    FusionAuth - Auth so modern you can download it.
                    https://fusionauth.io

                    1 Reply Last reply Reply Quote 0
                    • R
                      richb201
                      last edited by richb201 27 Feb 2021, 11:11

                      Dan, I moving this discussion up to github since it seems to be an issue possibly with fusionauth/fusionauth-app:1.19.7 or perhaps the config of RDS.

                      One more thing. I do not have a mysql image in my docker container. This was taken out because of the use of RDS, but I am not sure FA can tolerate this?

                      1 Reply Last reply Reply Quote 0
                      • R
                        richb201
                        last edited by 1 Mar 2021, 14:47

                        I believe that this issue was solved. Seems that I was getting confused between the DATABASE_USERNAME and the DATABASE_ROOT_USERNAME. This was causing the error count to exceed the default. I think all is AOK. Thanks.

                        1 Reply Last reply Reply Quote 0
                        • D
                          dan
                          last edited by 1 Mar 2021, 18:26

                          Thanks awesome @richb201 !

                          I'm glad you were able to sort it out!

                          --
                          FusionAuth - Auth so modern you can download it.
                          https://fusionauth.io

                          1 Reply Last reply Reply Quote 0
                          • N nick 1 referenced this topic on 2 Jun 2022, 09:28
                          15 out of 17
                          • First post
                            15/17
                            Last post