Configuring Author and Publish Instance in AEM as Cloud Service

This page highlights the following topics:

  1. Configuring Author and Publish Instances
  2. Managing Publication: Delivering Content Updates from Author to Publish to Device

Requirements:

  1. AEM author instance running on localhost:4502
  2. AEM publish instance running on localhost:4503

Setting up Replication Agents on Author:

  1. Go to http://localhost:4502/etc/replication/agents.author.html
  2. Click on “Default Agent (publish)
  3. Then click on “Edit” after Settings to open the Agent Settings dialog box to enter the details.
  4. In the “Agent Settings” dialog box fill all the information:
    • On the “Settings” tab “Enable” should be checked
    • And remove all the text from “Agent User Id
    • On the “Transport” tab update The “URI” with the host name and port number
      (For Example: http://localhost:4503/bin/receive?sling:authRequestLogin=1)
    • And update the “User” and “Password“, which are your publish instance User Name and Password
      (For me: User: admin, Password: admin)
  5. And click on “OK
  6. Now click on “Test Connection“.
  7. If all are okay then you can see a page with “Replication test succeeded

Example:

  • Then click on “Edit” after Settings to open the Agent Settings dialog box to enter the details.
  • In the “Agent Settings” dialog box –
    On the “Settings” tab check “Enable” and remove all the text from “Agent User Id“.
  • On the “Transport” tab update The “URI” with the host name and port number.
    (For Example: http://localhost:4503/bin/receive?sling:authRequestLogin=1)
  • And update the “User” and “Password“, which are your publish instance User Name and Password.
    (For me: User: admin, Password: admin)
On Transport Tab
  • Click on “OK” and then click on “Test Connection
  • If all are okay then you can see a page with “Replication test succeeded

And you are ready to go!!!!
For testing, you can go to the author package manager, select a package and from the more option replicate the package.

Happy Coding!

About Sagor Chowdhuri 17 Articles
AEM Developer

Be the first to comment

Leave a Reply

Your email address will not be published.


*