In this optional part of the onboarding journey, you will learn how developers and deployment managers can access git to develop applications and use pipelines to deploy them.
You have come a long way in your onboarding journey! Congratulations! The system administrator has completed the onboarding journey by setting up the necessary cloud resources and granting access in the document Assigning AEM Product Profiles.
At this point your developers and deployment managers can begin creating your own applications while your AEM users can start creating content. In this sense, your onboarding is complete and now it is time to use your new AEM as a Cloud Service system, which this document will illustrate.
This document is therefore written from the perspective of the developer and deployment manager.
The system administrator can also perform these same tasks, but generally these roles are held by different users.
This document is a supplement to the onboarding journey to demonstrate the basic tasks of a developer and deployment manager once the system administrator has onboarded all the users and created the necessary cloud resources.
After reading this document, you should:
Once the system administrator has completed the main onboarding tasks of creating users and setting up cloud resources, the users generally most anxious to access the system are the developers and deployment managers. This is because they are the users responsible for building your custom applications on top of AEM as a Cloud Service.
Depending on your organizational needs, the same user(s) can have both roles.
Before you begin the tasks described in this document as a developer or deployment manager, ensure that your system administrator has completed all the steps in this onboarding journey. This means that:
You can access and manage your git repositories using self-service git account management from Cloud Manager.
Log into Cloud Manager at my.cloudmanager.adobe.com and select the appropriate organization and program.
Navigate to Pipelines card from your Program Overview page and find the Access Repo Info button to access and manage your git Repository.
Click on the View Repo Info button to open a dialog to view:
Using these credentials, the user can clone a local copy of the repository, and make changes in that local repository, and when ready can commit any code changes back to the remote code repository in Cloud Manager.
Once developers have added their custom code to your git repositories, the deployment manager can create and execute pipelines to deploy that code to your AEM environments.
Follow these steps to create your first non-production deployment pipeline.
Log into Cloud Manager at my.cloudmanager.adobe.com and select the appropriate organization and program.
Access the Pipelines card from the Cloud Manager home screen. Click on +Add and select Add Non-Production Pipeline.
On the Configuration tab of the Add Non-Production Pipeline dialog, select the type of non-production pipeline you with to add. For this example, select Deployment Pipeline.
Provide a Non-Production Pipeline Name to identify your pipeline along with the following additional information.
For the Deployment Trigger select Manual so that the pipeline runs only when you start it.
Click Continue.
On the Source Code tab of the Add Non-Production Pipeline dialog, you must select which type of code the pipeline should process. For this example, select Full Stack Code.
On the Source Code tab, you must define the following options.
Click Save.
You have now created your first pipeline! Users with the deployment manager role can now start the pipeline from the Cloud Manager UI.
Now that developers have added their custom code to the git repositories and you have a pipeline created to deploy that code, it is time to execute the pipeline to actually move that code from git to your environment.
Log into Cloud Manager at my.cloudmanager.adobe.com and select the appropriate organization and program.
Navigate to the Pipelines card from the Program Overview page and click on the ellipsis button next to the pipeline you created in the previous section and select Run from the menu.
The pipeline run begins and is indicated by the Status column.
You can see the details of the run by clicking the ellipsis button again and selecting View details.
Congratulations! You have now deployed code from your git repository to a non-production environment!
Now that you have read this document you should:
You have hit the ground running as a developer or deployment manager with not only working knowledge of Cloud Manager but also working environments, repositories, and pipelines! But there is more to learn about AEM as a Cloud Service’s powerful CI/CD tools. Check out the Additional Resources section for more details.
If you are interested in how content authors access and use AEM as a Cloud service, continue on to the final part of the onboarding journey, AEM User Tasks.
Now that you are onboarded, you can learn how to easily add the AEM Reference Demos Add-On to a sandbox environment with minimal AEM configuration and be able to test the powerful features of AEM with rich examples based on best-practices.