Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

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 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

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

Community Advisor
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

Community Advisor

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