For few applications, updates will be released frequently to easy user interaction, performance, usage. They need to check all the cases(Design, module working flows) are working fine in all the test cases. So we need to run the test cases to check the functionality of all the module work flows. After verifying the test cases, we need to update the code to live server. We’re having a series of steps before releasing a software. In such case, AWS code pipeline will be used for running the test cases, verifying the test cases, updating the live with the updates.
AWS Code pipeline will be used for automating all the required steps to release the application updates. We can also use it in different stages like development(staging), live server. So different pipelines will be there for development and live server.
In this blog post, after updating the code pipeline will be run, and it’ll check for application status, send an email if the status is 200. If require any support get in touch with our AWS Consultant to make your work easy
Steps to deploy an application with AWS code pipeline:
Now It’ll run the test cases and verify it. Return success message if the test cases are passed otherwise returns failed message
We need to add an AWS Lambda service to create a custom event for sending notification emails if application status returns 200.
Steps to create a lambda service:
install boto -t . -- This will install the requirements with in the folder.
cd /mails/ zip -r -D mails.zip *
Now we need to link aws lambda to the aws codepipeline. For that click on edit in the pipeline view page.
Micropyramid is a software development and cloud consulting partner for enterprise businesses across the world. We work on python, Django, Salesforce, Angular, Reactjs, React Native, MySQL, PostgreSQL, Docker, Linux, Ansible, git, amazon web services. We are Amazon and salesforce consulting partner with 5 years of cloud architect experience. We develop e-commerce, retail, banking, machine learning, CMS, CRM web and mobile applications.
Django-CRM :Customer relationship management based on Django
Django-blog-it : django blog with complete customization and ready to use with one click installer Edit
Django-webpacker : A django compressor tool
Django-MFA : Multi Factor Authentication
Docker-box : Web Interface to manage full blown docker containers and images
More...