Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

ankitv12295055
Level 2
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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

ankitv12295055
Level 2
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.

Vijayalakshmi_S
Community Advisor
Community Advisor
Is your AEM/VM in which AEM is running is an EC2 instance?
ankitv12295055
Level 2
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
Vijayalakshmi_S
Community Advisor
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