Go to CodeBuild and create a new application
Choose a unique name e.g. MyFioriApp and EC2/On-premises as target
Create a new deployment group
Choose a unique name e.g. MyFioriApp
Make sure to select ‘On-premises instances’ and fill the Tag group (based on the CodeDeploy registration information)
Key: Name
Value: CodeDeployDemo-OnPrem
Make sure to disable ‘Load Balancing’ and also choose ‘Disable Rollbacks’ in section Advanced. Finish the wizard
Open your pipeline and go to edit mode. Add a new stage below the Build.
Add a new Action Group & Action “Approve”, make sure to select the proper SNS topic. The result should look as follows:
Create an additonal Action called Deploy and select AWS CodeDeploy as Action provider.
Choose your CodeDeploy project and deployment group:
Finish the dialog. The result should look as follows:
Hit save!
To trigger a new pipeline execution, just hit the Release change button
Now check your pipeline and wait for the approval
Verify, that the deployment has actually taken place, by looking into the Build logs.
Make sure to also check your SAP backend either via browser or inside se80:
SAP BSP Application ‘z_sap_fiori_app’
https://<host>:<port>/sap/bc/ui5_ui5/sap/z_sap_fiori_app/index.html