Working with Microservices-11: Creating an ECR repository and Preparing Production Pipeline scripts

We will prepare script files to run in the Jenkins pipeline, and then we will do packaging, tagging, pushing, and deploying with these script files. We will create an ECR repository to save the images. Then, we will prepare a Jenkins file and then create a Jenkins Production pipeline by using them. We will do it all step by step.

Cumhur Akkaya
7 min readAug 13, 2023

Topics we will cover:

1. Connecting to the Jenkins interface

2. Creating a repo on AWS ECR using the Jenkins pipeline for the production stage

3. Preparing a script to create AWS ECR repo tags for the Production docker images

4. Preparing a script to build the Production docker images

5. Preparing a script to push the Production docker images

6. Preparing a script to package the microservice app with Maven

7. As a result

8. Next post

9. References

--

--

Cumhur Akkaya
Cumhur Akkaya

Written by Cumhur Akkaya

✦ Multi-Cloud & DevOps Engineer, ✦Technical Writer, ✦AWS Community Builder, ✦LinkedInTop Voice, ✦Believes in learning by doing, ✦ linkedin.com/in/cumhurakkaya

Responses (2)