Posts

Showing posts from February, 2019

CICD pipeline using Jenkins

Image
A typical CI/CD pipeline is linear and one-directional . I t is composed of a few stages, or phases. The first phase  is CI  [   Continuous Integration ] . t akes a commit from   SCM like GIT  and trigger  the build. CI  consist of .  { Checkout , Compile , UNIT TEST , Package} in case of containerized app  docker image creation , docker push  and docker tag also appended. When all these steps are successful, a unique artifact is built, packaged, and published to a repository. This can be a JAR, .tar.gz file, a container image, or whatever is applicable to the chosen language and platform.  CD part has 2 meanings  :-  Continuous Delivery and  Continuous Deployment Continuous Delivery  :-   When and what to promote is a choice. Promotion typically happens when a build is considered to be “good enough”. QA has run their tests, the Product Owner has signed o...

Mysql migration to AWS RDS

Migration of MySQL or MariaDB database to AWS RDS  is very much on demand  because of various benefits this AWS service offers (e.g., scalability and high availability). However, there are several factors that need to be considered when developing a database migration strategy. Key point to check Availbility Current usage Security Method for Migration DMS Using mysqldump utility 1. DMS DMS is a database migration service . Allows us to migrate data from an on-premises database to RDS Pros:-  DMS is great at importing data quickly Cons:-  lacks in importing schema objects that are not directly part of the data such as triggers, functions, and stored procedures. Step 1: Create the RDS instance Step 2: Create the DMS replication instance and provision it in a subnet that can communicate with your non-RDS instance (source) and the RDS instance (target). Step 3: Create a Source Endpoint and a Target Endpoint. The DMS instance will use th...