amazon-alb

Amazon ALB: How to set up HTTPs listener without a custom domain

狂风中的少年 提交于 2021-01-28 21:03:09
问题 I want to set up an AWS Application Load Balancer with an HTTPs listener so I can integrate with OIDC. I don't need a custom domain. To set up HTTPs, I need a certificate. How do get a certificate for the default domain name (something like my-alb-000000000.us-west-2.elb.amazonaws.com )? I don't think I can use ACM for that but I'm not sure. 回答1: I don't think this is possible, you need to use TLS certificate of some kind with ALB to use HTTPS. 来源: https://stackoverflow.com/questions/65105904

AWS Application Load Balancing: Seeing extremely long initial connection time

廉价感情. 提交于 2020-01-06 07:17:22
问题 From observer's perspective, symptoms are identical to the issue here Scenario is the same as well: Angular app which sends preflight requests to REST api, and preflight requests take in roughly 50% of times up to 1.3 seconds (illustration is the same as in the linked question). Also, websocket was frequently timing out until socket-io finally succeeded in establishing connection. Problem was more pronounced in Chrome and less in Safari/Firefox. However, we are using ALB and not ELB, and all

AWS Application Load Balancing: Seeing extremely long initial connection time

陌路散爱 提交于 2020-01-06 07:17:12
问题 From observer's perspective, symptoms are identical to the issue here Scenario is the same as well: Angular app which sends preflight requests to REST api, and preflight requests take in roughly 50% of times up to 1.3 seconds (illustration is the same as in the linked question). Also, websocket was frequently timing out until socket-io finally succeeded in establishing connection. Problem was more pronounced in Chrome and less in Safari/Firefox. However, we are using ALB and not ELB, and all

Error on query parsing alb logs by datetime in aws athena

守給你的承諾、 提交于 2019-12-11 12:46:13
问题 I have followed the steps mentioned in the link to create the ALB table in Athena. I am trying to query the logs on the basis of datetime but I am getting below error. Query SELECT client_ip, sum(received_bytes) FROM default.alb_logs WHERE parse_datetime(time,'yyyy-MM-dd''T''HH:mm:ss.SSSS''Z') BETWEEN parse_datetime('2018-08-27-12:00:00','yyyy-MM-dd-HH:mm:ss') AND parse_datetime('2018-08-28-12:00:00','yyyy-MM-dd-HH:mm:ss') GROUP BY client_ip Error: Your query has the following error(s):

Deploy gRPC supporting application on AWS using ALB

感情迁移 提交于 2019-12-10 13:50:44
问题 I have two microservices communicating using gRPC.Both are docker applications deployed on ECS. How do I configure them to use AWS ALB?In documentation it says ALB supports HTTP/2, however I can only see HTTP1 settings. My application has one gRPC port and one health check API at 8080.How do I configure that on ALB? 回答1: I don't believe you can. ALBs "support" HTTP2 but only in so far as they can accept HTTP2 and de-multiplex it before forwarding on HTTP1. You can use AWS's newer "NLB" though