Hello everyone I am back with another Task of DevOps On our journey of making a CI/CD pipeline on AWS with these tools, you completed AWS CodeCommit, CodeBuild & CodeDeploy in previous days. Finish Off in style with AWS CodePipeline Please click below for take a look our previous days of CI/CD pipeline on AWS. Day 50: Your CI/CD pipeline on AWS — Part-1 ๐ ☁ Day 51: Your CI/CD pipeline on AWS — Part-2 ๐ ☁ Day 53: Your CI/CD pipeline on AWS — Part-3 ๐ ☁ What is CodePipeline..?? AWS CodePipeline is a continuous delivery service provided by Amazon Web Services (AWS) that helps you automate the software release process for your applications. With AWS CodePipeline, you can model, visualize, and automate the different stages of your software delivery process, from building and testing to deploying and monitoring. It enables you to rapidly and reliably deliver features and updates to your customers, while reducing the risk of errors and downtime. Here is our Today’s Task-01 : - Create a CodePipeline that gets the code from CodeCommit, Builds the code using CodeBuild and deploys it to a Deployment Group. This is the last part-04 of CI/CD pipeline. Please refer part 1, 2, 3 of CI/CD for better understanding. I have explain the initial stages CodeCommit, CodeBuild, CodeDeploy of pipeline in previous parts. Let’s start today’s task navigate to the CodePipeline section in the AWS management console. Provide the Pipeline naming details and let the service role to be default. Provide the Code repository details. In our case, we have our code in webapp folder in CodeCommit repository. Choose AWS CodePipeline to automatically execute the pipeline in case of any changes in the code automatically. Now add the Build stage details. Select the build provider and give the project name. Now add the deploy stage. Select the provider and name of the already created application and deployment group. Now verify the details and create the code pipeline. The pipeline will now fetch the code from the CodeCommit repository. Then, it will build the code and deploy in the server as we can see in the below screenshot. Now, navigate to the public URL of the instance and check the Webpage. We have successfully built the pipeline. Let’s witness the magic. Let’s modify our code and view the pipeline. I have changed my index.html file and committed it in the CodeCommit repository. The pipeline has automatically picked up the code from the repository, built nad deployed it in the server. Now check the public URL. Yes, I can see my new application with an eye-catching webpage. I personally enjoyed a lot this AWS CI/CD CodePipeline. Have you enjoyed..?? tell me your thoughts in comment section.. ๐ถThat’s all about today’s very long task of DevOps journey. ๐ธThankyou for reading ๐. If you liked this story then click on ๐๐ do follow for more interesting and helpful stories. — — — — — — — — #keepLearning_DevOpsCloud ♾️☁️ — — — — — —
Friday, August 8, 2014
Building a CI/CD pipeline on AWS: The Complete Guide
Hello everyone I am back with another Task of DevOps On our journey of making a CI/CD pipeline on AWS with these tools, you completed AWS CodeCommit, CodeBuild & CodeDeploy in previous days. Finish Off in style with AWS CodePipeline Please click below for take a look our previous days of CI/CD pipeline on AWS. Day 50: Your CI/CD pipeline on AWS — Part-1 ๐ ☁ Day 51: Your CI/CD pipeline on AWS — Part-2 ๐ ☁ Day 53: Your CI/CD pipeline on AWS — Part-3 ๐ ☁ What is CodePipeline..?? AWS CodePipeline is a continuous delivery service provided by Amazon Web Services (AWS) that helps you automate the software release process for your applications. With AWS CodePipeline, you can model, visualize, and automate the different stages of your software delivery process, from building and testing to deploying and monitoring. It enables you to rapidly and reliably deliver features and updates to your customers, while reducing the risk of errors and downtime. Here is our Today’s Task-01 : - Create a CodePipeline that gets the code from CodeCommit, Builds the code using CodeBuild and deploys it to a Deployment Group. This is the last part-04 of CI/CD pipeline. Please refer part 1, 2, 3 of CI/CD for better understanding. I have explain the initial stages CodeCommit, CodeBuild, CodeDeploy of pipeline in previous parts. Let’s start today’s task navigate to the CodePipeline section in the AWS management console. Provide the Pipeline naming details and let the service role to be default. Provide the Code repository details. In our case, we have our code in webapp folder in CodeCommit repository. Choose AWS CodePipeline to automatically execute the pipeline in case of any changes in the code automatically. Now add the Build stage details. Select the build provider and give the project name. Now add the deploy stage. Select the provider and name of the already created application and deployment group. Now verify the details and create the code pipeline. The pipeline will now fetch the code from the CodeCommit repository. Then, it will build the code and deploy in the server as we can see in the below screenshot. Now, navigate to the public URL of the instance and check the Webpage. We have successfully built the pipeline. Let’s witness the magic. Let’s modify our code and view the pipeline. I have changed my index.html file and committed it in the CodeCommit repository. The pipeline has automatically picked up the code from the repository, built nad deployed it in the server. Now check the public URL. Yes, I can see my new application with an eye-catching webpage. I personally enjoyed a lot this AWS CI/CD CodePipeline. Have you enjoyed..?? tell me your thoughts in comment section.. ๐ถThat’s all about today’s very long task of DevOps journey. ๐ธThankyou for reading ๐. If you liked this story then click on ๐๐ do follow for more interesting and helpful stories. — — — — — — — — #keepLearning_DevOpsCloud ♾️☁️ — — — — — —
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment