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. Support
  3. Installation on an AWS EC2 server (T2.Micro) at AWS China hangs

Installation on an AWS EC2 server (T2.Micro) at AWS China hangs

Scheduled Pinned Locked Moved Solved Support
awsec2installation
19 Posts 5 Posters 3.5k Views 5 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.
  • A Offline
    A Offline
    andreas
    wrote on last edited by
    #5

    Okay, good to know. The decision came from our colleagues on site in China. What would you recommend for an EC2 instance?

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

      Very much depends on what apps you want to run. You can use the newer t3 instances, something like t3 medium (or the equivalent t2).

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreas
        wrote on last edited by
        #7

        The installation finished after a few hours after starting the script. It seems to be successfully but I can't reach the setup panel of Cloudron after the installation process. I tested the public domain name of the EC2 server and also the public IP but I can't reach it. Also, to ping the address fails in the command line.

        7ba51431-d38c-450e-87c9-748a10163160-image.png

        Chrome shows the error message "ERR_CONNECTION_TIMED_OUT"

        Maybe it's a wrong configuration in AWS or a problem to install it at AWS China. Do you have an idea what kind of problem it could be?

        After I know the right way, I will switch to the recommended server size.

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

          @andreas Are port 80 and 443 open in the security group? Have you also allocated an elastic IP to the instance? After that you have to visit, https://<elastic ip>

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andreas
            wrote on last edited by
            #9

            It set up the following inbound rule:

            89fbb503-15c6-4baa-841a-51de54dc9a64-image.png

            and outbound was the standard setting:

            7ddd097b-16e1-4bd6-b886-84fbdb70d5cc-image.png

            Now I also assigned as mentioned the elastic IP but the problem still persists. Also, the ping command gives the same reply with the lost packages.

            Have the two steps to be done before the installation with the provided Cloudron script?

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

              For ping, you have to enable ICMP traffic (it's not TCP). See https://docs.amazonaws.cn/en_us/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html#troubleshoot-instance-ping

              Now, since you are able SSH, clearly port 22 is working. It's just that for some reason https is not working. Maybe there is some problem which is EC2 specific. Are you able to run cloudron-support --enable-ssh on the server? After that, can you send me the public IP to support@cloudron.io and I can take a look as to why it's not working. (I will only have access to your server and not any of your other aws stuff, of course).

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andreas
                wrote on last edited by
                #11

                I terminated the instance to test the whole thing again from the beginning with the recommended settings. This means that the installation will probably take several hours.

                Unfortunately the message has overlapped with the termination. I will give you feedback if everything fits or if I have sent the mail to your support address.

                With the additional rule the pinging worked, thanks for the great tips and the incredible fast support.

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

                  Do you know why the install takes several hours? Cloudron should only take 10 mins to install .

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andreas
                    wrote on last edited by
                    #13

                    I think the updates of the packages are the problem that slows all down. I can send the logs after installation if it would help?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andreas
                      wrote on last edited by
                      #14

                      Email is sent. Same result as before.

                      1 Reply Last reply
                      0
                      • robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #15

                        can you validate by doing an apt update && upgrade before the install?

                        Conscious tech

                        A 1 Reply Last reply
                        0
                        • robiR robi

                          can you validate by doing an apt update && upgrade before the install?

                          A Offline
                          A Offline
                          andreas
                          wrote on last edited by
                          #16

                          @robi I will try that after I have no more options with the Cloudron support team.

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            andreas
                            wrote on last edited by andreas
                            #17

                            I suspect the problem is this:

                            https://stackoverflow.com/questions/29422709/cant-connect-to-ec2-instance-over-http-from-outside-aws

                            322795d1-b3a0-42e2-a4c4-0ea208e69751-image.png

                            scookeS 1 Reply Last reply
                            1
                            • A andreas

                              I suspect the problem is this:

                              https://stackoverflow.com/questions/29422709/cant-connect-to-ec2-instance-over-http-from-outside-aws

                              322795d1-b3a0-42e2-a4c4-0ea208e69751-image.png

                              scookeS Offline
                              scookeS Offline
                              scooke
                              wrote on last edited by
                              #18

                              @andreas True, it doesn't matter where the host company, or head office is located. Anything in China, for China, is going to be under lots of scrutiny.

                              A life lived in fear is a life half-lived

                              A 1 Reply Last reply
                              0
                              • scookeS scooke

                                @andreas True, it doesn't matter where the host company, or head office is located. Anything in China, for China, is going to be under lots of scrutiny.

                                A Offline
                                A Offline
                                andreas
                                wrote on last edited by
                                #19

                                @scooke said in Installation on an AWS EC2 server (T2.Micro) at AWS China hangs:

                                @andreas True, it doesn't matter where the host company, or head office is located. Anything in China, for China, is going to be under lots of scrutiny.

                                Unfortunately true, we must accept this learning curve.

                                1 Reply Last reply
                                0
                                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