내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How can I deploy my code to VM in AEM cloud using AWS codeDeploy?

Avatar

Level 2

We need to migrate our CI/CD pipeline from Jenkins to AWS code deploy, Server on which Jenkins is installed is whitelisted on the AEM cloud server.

How can we deploy our code using AWS codeDeploy as it is also on cloud? 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

Hi @ankitv12295055,

Below link highlights the detailed steps to deploy our custom code to AWS code deploy. 

https://aws.amazon.com/getting-started/tutorials/deploy-code-vm/

If you are looking for more specific information or any issues in setting up, share the background/existing set up of your project.

원본 게시물의 솔루션 보기

5 답변 개

Avatar

정확한 답변 작성자:
Level 10

Hi @ankitv12295055,

Below link highlights the detailed steps to deploy our custom code to AWS code deploy. 

https://aws.amazon.com/getting-started/tutorials/deploy-code-vm/

If you are looking for more specific information or any issues in setting up, share the background/existing set up of your project.

Avatar

Level 2

Hi Vijayalakshmi, Thanks for your reply but actual problem is- current deployment happens on Jenkins which IP is whitelisted on AEM vm, so my question is how can we whitelist AWS code deploy IP, as it is on cloud and external URL can not access AEM server directly.

IPs need to be whitelisted first on VM on which AEM is running.

Avatar

Level 10
Is your AEM/VM in which AEM is running is an EC2 instance?

Avatar

Level 2
Yes, It is running on EC2 instance, which is managed by Adobe Team only, we have to give them IPs from which we need to access

Avatar

Level 10

In order to allow access/permission for accessing AWS resource, we need to make use of "Service Role". In the same link, step 6 defines the means to create a service role to allow access for CodeDeploy to access EC2 instance. 

Vijayalakshmi_S_0-1610988759924.png