Elasic beanstalk domain only working on on device

0

I managed to set up an Elastic Beanstalk domain, which works fine on my main computer. However, when I share with someone else or another device on the same network, it doesn't load. I need this to be accessible by anyone who has the link from any network. What have I missed? Would be grateful for any help

asked 11 days ago34 views
4 Answers
0

Hi there.

Well, we could use some more information. But I'm gonna assume you use a host name to connect. You say it doesn't load, like error 5xx or what error do they get? Do they even reach the server? If you haven't configured any specific rules it could be a DNS cache problem. Networking simply doesn't work like allowing the first client to connect and block the rest. Can you reach it on the IP? How does the security group / NACL look like? Are your clients from the internet or internal? Have you configured a WAF? Could be a lot of things from our pov since we don't know much more than that you use elastic beanstalk.

profile picture
answered 9 days ago
  • Thank you for responding

    -I get a "couldn't connect to the server" error on Safari. Sadly, I don't get an error number that I can provide you -My Traffic is set to "allowing all" traffic inbound and outbound -I'm on a public subnet too -The web server works perfectly fine on my main computer but not on other computers or phones. It's not a secure network. Could that be a problem? -All devices that have been tested on are on the same network -My environment also has a public ip under the network and database section in the config

    Do you need more info?

    Also, what is WAF and NACL ?

  • Can you connect over the public IP? What application are you running in elastic beanstalk?

    WAF is short for web application firewall. Does what it sound like, just a layer of protection but it doesn't sound like you've configured one so we can drop that. Read more about it here if you want: https://aws.amazon.com/waf/

    NACLs are network access control lists, but they operate at the subnet level and also since you use the same IP as source that should not be the problem either..

0

Hello.

Are there any differences between devices that can access the site and those that can't?
For example, are there differences in the OS version, device, or browser used?
What kind of error are you getting when you access it?

Are there any security settings in the application?
For example, depending on the settings, if you link it to AWS WAF, it is possible that certain devices will not be able to access it.

profile picture
EXPERT
answered 11 days ago
  • I can load the web on both my Mac and my Windows laptop. However, on the same network, we have another Mac and a few iPhones that can't access it. I've checked my security settings on "traffic" and have set them to the suggested options.

0

If your Elastic Beanstalk domain is only working on your main computer but not on other devices or networks, there are several potential reasons for this issue:

  1. Security Group Settings: Check the security group associated with your Elastic Beanstalk environment. Ensure that it allows inbound traffic on the appropriate ports (usually port 80 for HTTP or 443 for HTTPS) from all IP addresses (0.0.0.0/0).

  2. Network ACLs: If you're using network ACLs in your VPC, verify that they are configured to allow both inbound and outbound traffic for your Elastic Beanstalk environment.

  3. Subnet Configuration: Make sure your Elastic Beanstalk environment is deployed in a public subnet with internet access. If it's in a private subnet, you'll need to set up a NAT gateway or NAT instance for outbound internet access.

  4. DNS Configuration: If you're using a custom domain, ensure that the DNS records are correctly configured to point to your Elastic Beanstalk environment's endpoint.

  5. Load Balancer Configuration: If your environment uses a load balancer, check that the listeners are correctly configured to route traffic to your instances.

  6. Application Configuration: Review your application's configuration to ensure it's not restricting access based on IP addresses or other criteria.

  7. Instance Health: Verify the health of the EC2 instances running your Elastic Beanstalk environment. Unhealthy or terminated instances could cause accessibility issues.

To troubleshoot further:

  1. Review the Elastic Beanstalk logs for any error messages.
  2. Try accessing the application using the Elastic Beanstalk URL directly, rather than a custom domain, to isolate any DNS-related issues.
  3. Use tools like ping or traceroute to check network connectivity to your Elastic Beanstalk environment from different locations.

If you've checked all these areas and are still experiencing issues, you may need to contact AWS support for more detailed troubleshooting assistance.
Sources
Elastic Beanstalk not loading on other's computer. | AWS re:Post

profile picture
answered 11 days ago
0

This Sadly didnt help. What else could i do ?

answered 11 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions