How to expose JMX port with AWS Copilot CLI ?

0

How do I open JMX ports when using AWS Copilot CLI to configure ECS / Fargate tasks ?

For example, if I want to use port 5000 as a JMX port number, what configurations should I apply and where should I apply them so that the port is visible outside the container?

Possible locations are: dockerfile, docker compose file, Copilot CLI manifest.yaml.

profile picture
ST Team
질문됨 일 년 전207회 조회
1개 답변
0
수락된 답변

Hello

Greetings for the day!!

You can expose the port in your Copilot CLI manifest.yml. You can set image.port [1] for your primary port and then you can use http.additional_rules [2] to expose additional ports.

Have a fantastic day ahead!!

Reference:

[1] https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/#image-port

[2] https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/#http-additional-rules

AWS
답변함 일 년 전

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠