내용으로 건너뛰기

How can EC2 maintain IP addresses in a multi-AZ failover situation?

0

A vendor provides a service to a single AWS region. A client of that vendor has an EC2 instance residing in a single AZ. The vendor's service is tied to an IP address for licensing purposes.

Now let's say that the AZ or specific EC2 fails.

I know that you can set auto scaling groups to spin up replacements for failed instances, but the IP address is going to be different and thus the vendor's license scheme will be a blocker.

I think I recall the ability to reserve a specific IP for EC2, but haven't touched that to-date. But that being said, can you use that reserved IP address across AZs?

So the question is, in the event of a failure of an EC2 instance in AZ1, can I have a specific IP address be picked up for a backup EC2 instance in AZ2?

AWS
질문됨 5년 전948회 조회
1개 답변
0
수락된 답변

You can use an Elastic IP address for this. It can be assigned across a region. To re-assign the Elastic IP address when an instance is 'lost', you can use CloudWatch Events.

AWS
전문가
답변함 5년 전
전문가
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠