Ir para o conteúdo

Acesso a instância EC2 via HTTP e HTTPS lentos para IPs específicos

0

Estamos com problema em uma das instâncias EC2 - t3.xlarge. Várias outras estão com fluxo normal. Possuímos IPs fixos, de dois ISPs diferentes e, exclusivamente, para nossos endereços de IP, o tráfego HTTP e HTTPS parecem estar sofrendo traffic shaping.

Testes com "ipferf" mostram tráfego estável a ~700Mbps. Quando testamos tráfego sob HTTP ou HTTPS, essa taxa de transferência não passa de ~150KBps. Foi, inclusive, ligado diretamente a um computador o link de Internet, para descartar problemas de infraestrutura interna.

Com o objetivo de testar, executamos três serviços diferentes para servir HTTP e HTTPS (PHP, Apache e TomCat), os três apresentaram o mesmo problema.

Realizamos testes de download, com o mesmo ISP, porém com IP diferente e as taxas de download são ótimas. Outros dois ISP foram testados, ambos com taxas de download ótimas.

A AWS poderia estar fazendo traffic shaping para nossos IPs? Alguma forma de descobrir o que está acontecendo?

Obrigado!

feita há 7 meses100 visualizações
1 Resposta
-1

The slow HTTP and HTTPS connectivity you're experiencing from specific IP addresses to your t3.xlarge EC2 instance could be due to several factors, even though your iperf tests show good bandwidth (~700Mbps).

This issue where only specific IP addresses are affected while others work fine could be related to:

  1. Security Groups or Network ACLs: Check if there are any restrictive rules specifically affecting those IP addresses or ranges.

  2. Network Configuration: Verify your VPC and subnet configuration, ensuring that DNS hostnames and DNS resolution are properly enabled.

  3. Instance-specific issues: While your t3.xlarge should have good network performance, check if there are any specific configurations or applications on that instance causing the slowdown.

  4. NAT Gateway limitations: If your instance is using a NAT Gateway for outbound connections, there might be connection or bandwidth limitations affecting specific traffic patterns.

  5. External routing or ISP issues: The problem might be in the network path between those specific IPs and AWS, rather than within AWS itself.

AWS doesn't typically implement traffic shaping for specific customer IPs. To troubleshoot further:

  • Use VPC Flow Logs and CloudWatch metrics to analyze traffic patterns
  • Test connections with different protocols to determine if the issue is specific to HTTP/HTTPS
  • Check MTU settings on your instance
  • Verify that the instance isn't under heavy load from other processes
  • Consider contacting AWS Support as they can provide more detailed analysis of your specific network configuration and potential issues

The significant difference between your iperf results (~700Mbps) and HTTP/HTTPS performance (~150KBps) suggests there might be application-layer issues or specific network configuration problems affecting only web protocols.
Sources
Internet Speed Very Slow | AWS re:Post

respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.