AEMaaCS Rapid Development Environment Local Setup and Usage

05 / Sep / 2023 by Pulkit Vashistha 0 comments

Adobe Experience Manager as a Cloud Service (AEMaaCS) brings you a flexible and robust web development playground. A standout feature is the Rapid Development Environment (RDE), which lets you swiftly build and deploy AEM applications. This blog will guide you through setting up your AEMaaCS RDE playground. No fuss, just follow these simple steps:

Prerequisites:

  • Access to RDE Author and Publish Environments: Ensure you’ve got the keys to both the Author and Publish environments in your AEMaaCS instance.
  • Experience Cloud Manager Dev Access: You need this to manage your AEM deployments smoothly.
  • Service Access: Get access to Adobe I/O services, which are your pals for integrating your development setup.
  • Node and NPM installed: Make sure you’ve got Node and NPM set up on your local machine.

Now, let’s dive in:

Setup Steps

Step 1: Get CLI Tools Before you set up your AEMaaCS RDE, grab the necessary CLI tools. Open your terminal and run these commands:

# Get Adobe I/O CLI
npm install -g @adobe/aio-cli
# Add Adobe Cloud Manager CLI Plugin
aio plugins:install @adobe/aio-cli-plugin-cloudmanager
# Install Adobe AEM RDE CLI Plugin
aio plugins:install @adobe/aio-cli-plugin-aem-rde

Step 2: Configure Environment Variables Next, set up some environment variables with details about your AEMaaCS environment. Here’s how:

  • Organization ID (Org ID) : You can find it by pressing Ctrl+i on the Adobe Experience Cloud screen.
  • Program ID and Environment ID: Grab these values from the Cloud Manager URL for your environment. The URL will look something like this:
https://experience.adobe.com/#/@YOUR_ORG_ID/cloud-manager/environments.html/program/YOUR_PROGRAM_ID/environment/YOUR_ENVIRONMENT_ID

           Now, let’s set these up:

# Set Organization ID
aio config:set cloudmanager_orgid YOUR_ORG_ID
# Set Program ID
aio config:set cloudmanager_programid YOUR_PROGRAM_ID
# Set Environment ID
aio config:set cloudmanager_environmentid YOUR_ENVIRONMENT_ID

Note: Replace “YOUR_ORG_ID,” “YOUR_PROGRAM_ID,” and “YOUR_ENVIRONMENT_ID” with your actual values.

Step 3: Log in to Adobe I/O Time to log in to Adobe I/O using the CLI. Make sure you’re logged in with the right profile that has access to the RDE environment. You can do this by logging in through your browser before running the command:

aio login

Step 4: Deploy Your Code. With your environment all set, deploy your AEM project code to the RDE playground. Just go to the folder with your project’s zip package and run:

aio aem:rde:install project.all-1.0.0-SNAPSHOT.zip

This command kicks off the deployment process, pushing your code to the RDE environment.

Congratulations! ? You’re now all set up and ready to roll with your AEMaaCS Rapid Development Environment. Start building and testing your AEM applications with a breeze.

For more information and handy references, check out these useful URLs:

These resources will help you explore and expand your Adobe Experience Manager knowledge in the Cloud Service environment. Happy coding! ?

FOUND THIS USEFUL? SHARE IT

Leave a Reply

Your email address will not be published. Required fields are marked *