Bom tenho 2 instancias (running) catalogo-teste e catalogo- teste 2 as duas funcionam perfeitamente usando dns e a porta 8080/loja. Porem quando eu estou criando o LoadBalance ele informa que 0 de 2 instancias estão no serviço e logo ele não funciona. Minhas duas instancias estão em us-east-1d e eu já tentei utilizar a mesma configuração do curso ou usar us-east-1d com us-east-1a ou apenas us-east-1d porem nada funciona.
review
Define Load Balancer Edit load balancer definition
Load Balancer name: catalogo-classic-lb
Scheme: internet-facing
Port Configuration: 80 (HTTP) forwarding to 80 (HTTP)
Configure Health Check Edit health check
Ping Target: HTTP:80/index.html
Timeout: 5 seconds
Interval: 30 seconds
Unhealthy threshold: 2
Healthy threshold: 10
Add EC2 Instances Edit instances
Cross-Zone Load Balancing: Enabled
Connection Draining: Enabled, 300 seconds
Instances: i-0994fb08999d5d079 (catalgo-teste), i-0486505443908a0fd (catalgo-teste2)
VPC Information Edit subnets
VPC: vpc-d8a322a3
Subnets: subnet-7232114d, subnet-ff00a7f0
Security groups Edit security groups
Security groups: quick-create-3
Configuração
Basic Configuration
Name: catalogo-classic-lb
DNS name:
catalogo-classic-lb-1437056811.us-east-1.elb.amazonaws.com (A Record)
Type: Classic (Migrate Now)
Scheme: internet-facing
Availability Zones: subnet-7232114d - us-east-1e,
subnet-ff00a7f0 - us-east-1f
Creation time: March 24, 2018 at 5:25:46 PM UTC-3
Hosted zone: Z35SXDOTRQ7X7K
Status:
0 of 2 instances in service
VPC: vpc-d8a322a3
Port Configuration
Port Configuration:
80 (HTTP) forwarding to 80 (HTTP)
Stickiness: Disabled
Instances
i-0994fb08999d5d079
catalgo-teste
us-east-1d
OutOfService
Remove from Load Balancer
i-0486505443908a0fd
catalgo-teste2
us-east-1d
OutOfService
Remove from Load Balancer
Edit Availability Zones
Availability Zone
Subnet ID
Subnet CIDR
Instance Count
Healthy?
Actions
us-east-1e
subnet-7232114d
172.31.48.0/20
0
No (Availability Zone contains no healthy targets)
Remove from Load Balancer
us-east-1f
subnet-ff00a7f0
172.31.64.0/20
0
No (Availability Zone contains no healthy targets)
Remove from Load Balancer
Availability Zone disponíveis
us-east-1a
subnet-e33bc3a9
172.31.16.0/20
us-east-1b
subnet-9bac98c6
172.31.32.0/20
us-east-1c
subnet-41071025
172.31.0.0/20
us-east-1d
subnet-affdcb80
172.31.80.0/20
us-east-1e
subnet-7232114d
172.31.48.0/20
us-east-1f
subnet-ff00a7f0
172.31.64.0/20
para seguir a indicação de criar instancias com áreas diferentes fiz outra tentativa agora com uma outra instancia com a AMI da aula passada na zona us-east-e e mesmo assim escolhendo zonas iguais ou tonas diferentes ainda não funciona.