Devops/AWS

[AWS] Elastic Beanstalk ์—๋Ÿฌ The EC2 instances failed to communicate with AWS Elastic Beanstalk

yuri lee 2023. 11. 28. 21:18
๋ฐ˜์‘ํ˜•

Intro

์•ˆ๋…•ํ•˜์„ธ์š”. ๋นˆ์Šคํ†ก ๋ฐฐํฌ ํ™˜๊ฒฝ ๊ตฌ์„ฑ ์ค‘ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€์Šต๋‹ˆ๋‹ค. 

 

 

The EC2 instances failed to communicate with AWS Elastic Beanstalk,

either because of configuration problems with the VPC or a failed EC2 instance.

Check your VPC configuration and try launching the environment again.

 

Why?

๊ตฌ๊ธ€๋ง์„ ํ•ด๋ณด๋‹ˆ ์ธ์Šคํ„ด์Šค ์„ค์ • ์ค‘ ํผ๋ธ”๋ฆญ IP ์ฃผ์†Œ ํ• ๋‹น์— ์ฒดํฌํ•˜์ง€ ์•Š์œผ๋ฉด ๋‹ค์Œ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. 

 

How to solve the problem

 

์œ„ ํ™”๋ฉด๊ณผ ๊ฐ™์ด ํผ๋ธ”๋ฆญ IP ์ฃผ์†Œ > ํ™œ์„ฑํ™”๋จ์— ์ฒดํฌ๋ฅผ ํ•˜๋ฉด ํ•ด๋‹น ์—๋Ÿฌ๊ฐ€ ์‚ฌ๋ผ์ง€๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. 

 

 


https://wiki.yowu.dev/ko/dev/AWS/Things-to-know-when-using-Elastic-Beanstalk-in-a-VPC-environment

๋ฐ˜์‘ํ˜•