Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

190
Visualizações
Pointing AWS CloudFront to ECS with Route53 SRV

I was wondering how to point AWS CloudFront to AWS ECS Container using Service Discovery (Route 53 with SRV Record).

ECS is based on Spot EC2 with no Load Balancer.

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

The suggested approach for an architecture running on a container is to have traffic to the container forwarded from a AWS ELB.

If you're using ECS with service discovery then the record being written is actually written to a private hosted zone which is not accessible outside of the VPC(s) it is attached to.

Furthermore containers are ephemeral, with a risk further increased by using a spot instance that the container could be terminated at any point. If the instance is public facing it would need an Elastic IP address to be associated to it so that it could retain the IP address.

You would want to create an A record to this EIP for CloudFront to be able to use it, this A record should have the value of a domain that CloudFront should resolve, and must be in a public hosted zone.

Within your CloudFront distribution the origin value would be set to be the domain name that you setup in the previous step.

over 4 years ago · Santiago Trujillo Relatório

0

You can enable service discovery for Fargate. It uses CloudMap, will automatically create a managed zone and entry inside it. That is the only way to do it without a loadbalancer and hacks. The other way is just to have a lambda function which would update Route53 upon container creation and IP address assignment.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda