aws-load-balancer

EKS : could not find any suitable subnets for creating the ELB

ぐ巨炮叔叔 提交于 2021-02-08 15:23:36
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

EKS : could not find any suitable subnets for creating the ELB

给你一囗甜甜゛ 提交于 2021-02-08 15:23:05
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

EKS : could not find any suitable subnets for creating the ELB

微笑、不失礼 提交于 2021-02-08 15:22:54
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

EKS : could not find any suitable subnets for creating the ELB

∥☆過路亽.° 提交于 2021-02-08 15:22:10
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

Aws Certificate manager api does not show imported certificates

一个人想着一个人 提交于 2021-01-27 13:06:05
问题 While certificate manager UI shows my imported certificated with status "issued" , when trying to use it from an ELB (application lb) I get: " no certificates available " (the POST request to the api returns with empty list) Also when I run aws acm list-certificates --max-items 10 I don't get the imported certificate , only my second (Not imported) one Any ideas what's wrong here? is there a setting on the imported certificate I should be configuring? 回答1: I've got only half answer here: but

How can I make a request to my API from my UI when they are both containers running in the same task in ECS Fargate

自闭症网瘾萝莉.ら 提交于 2021-01-05 07:36:07
问题 I have set up a a cluster, with 1 service containing 1 task. The task contains 2 docker containers. One for my UI (post 3000 ) and one for my API (port 8080 ). I can access both ports via [public-ip]:3000 and [public-ip]:8080 . I then set up an Application Load Balancer that points to the service. It points these target group : https://pasteboard.co/JFQfvD9.png So now I CAN reach the UI via the DNS name for the load balancer but the API calls that the application makes always fail with 404 .

How can I make a request to my API from my UI when they are both containers running in the same task in ECS Fargate

孤街浪徒 提交于 2021-01-05 07:35:49
问题 I have set up a a cluster, with 1 service containing 1 task. The task contains 2 docker containers. One for my UI (post 3000 ) and one for my API (port 8080 ). I can access both ports via [public-ip]:3000 and [public-ip]:8080 . I then set up an Application Load Balancer that points to the service. It points these target group : https://pasteboard.co/JFQfvD9.png So now I CAN reach the UI via the DNS name for the load balancer but the API calls that the application makes always fail with 404 .

How should I setup Traefik on ECS?

寵の児 提交于 2020-06-25 10:28:10
问题 In Short I've managed to run Traefik locally and on AWS ECS but now I'm wondering how should I setup some sort of load balancing to make my two services with random IPs available to the public. My current setup on ECS [Internet] | [Load balancer on port 443 + ALB Security group on 443] | [Target group on port 443 + Security group from *any* port] | [cluster] | [service1 container ports "0:5000"] While this works, I'd now like to add another container, eg. service2 also with random ports eg 0

What is the best way to restrict access to an Application Load Balancer?

笑着哭i 提交于 2020-04-12 08:22:00
问题 Ideally, I'd like to lock down my ALB so that it can only be accessed by API Gateway. I've looked into whether I can associate API gateway with an Inbound Rule - however, I have found that API Gateway cannot be associated with an IP address, or a security group. I've also looked into an Internal facing ALB, but I've been unable to get these working as VPC link only supports NLB. Any help will be greatly appreciated - I've been looking in the Gateway Settings but cannot find this option. What

What is the best way to restrict access to an Application Load Balancer?

爱⌒轻易说出口 提交于 2020-04-12 08:21:14
问题 Ideally, I'd like to lock down my ALB so that it can only be accessed by API Gateway. I've looked into whether I can associate API gateway with an Inbound Rule - however, I have found that API Gateway cannot be associated with an IP address, or a security group. I've also looked into an Internal facing ALB, but I've been unable to get these working as VPC link only supports NLB. Any help will be greatly appreciated - I've been looking in the Gateway Settings but cannot find this option. What