Deploy microservice

0

I have a microservice. What would be the most appropriate and economical infrastructure. The idea is to always keep the same public ip to associate it to the DNS. And that it does not change when we make new deployments.

  • Use Fargate with Balancer.
  • Use Api Gateway.
  • Use Beanstalk with Elastic Ip in an EC2 and without Balancer.
1 Answer
1

Hi there,

To always keep the same public ip associated to the DNS of your microservice, you can use AWS Global Accelerator. Using an accelerator provides static IP addresses and improves the availability and performance of your applications.

Your microservice architecture would look like this:

Accelerator → ALB → ECS Fargate

You can add the accelerator when you create a load balancer. https://docs.aws.amazon.com/global-accelerator/latest/dg/about-accelerators.alb-accelerator.html

Optionally, you can also access an AWS API Gateway via static IP addresses provided by AWS Global Accelerator. See blog post for more.

You can always use the AWS Calculator to estimate what your expense would look like and determine if it is economical for you.

AWS
Olawale
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions