Giter Club home page Giter Club logo

ipcc-odbc-configuration's Introduction

ipcc-odbc-configuration

This Repository contains Ansible Playbooks, Ansible Configuration files, Asterisk Configuration file and supporting files. The purpose of this project is to automate the password rotation (with the help of AWS Secrets Manager) for RDS Instance Master Password and take necessary actions to update Asterisk server cofiguration file automaticlly for seamless communication and also send automated notification to product team about and password changing activity whether it is failed or successful.

GitHub Repo Link : https://github.com/sarbajitD-24/ipcc-odbc-configuration.git

This projet has 2 parts : CI (Continuous Integration) & CD (Continuous Deployment). This repo focuses of CD configuration Part.

Continuos Integration for this Project is supposed to work with the conbination of multiple aws services :

Amazon RDS, AWS Secrets Manager, AWS Cloudtrail, Amazon EventBridge, AWS Lambda Functions & Amazon SNS.

For Policies, Lambda Functions and other configuration templates for ipcc project deployed in AWS Cloud checkout below repo :

https://github.com/sarbajitD-24/ipcc-project-aws-configurations.git

Changes/Modifications to look out for

Please check out below files in this repo as Jenkins build will fail if correct details are not updated :

filename --> hosts : contains correct IP address of Jenkins Server (EC2 Instance) & Asterisk Server (EC2 Instance) [change as per need]

filename --> jenkinsfile : contains correct Secret Name & AWS Region Code [change as per need]

filename --> odbc.ini : contains correct RDS Instance End point [change as per need]

Only update/modify this GitHub Repo once considering EC2 Servers IPs, RDS Endpoint, AWS Region & Secret Name in AWS Secrets Manager remains un-altered. If these values remains unchanged then no need to modify repo code between successive builds in Jenkins Server.

IPCC -- Architecture Diagram_2

Project Requirements

Requirement 1 : Create jenkins pipeline for RDS password retrieval and update to asterisk config

Description : As part of this Jenkins Job, it should retrieve the RDS MySQL credentials from AWS secret manager and update the username and password in the Asterisk config file. Then restart the asterisk server.

Acceptance Criteria

✱ Verify When the Jenkin Job runs, the latest password is updated in asterisk config file.
✱ Verify when the asterisk server starts up and it connects with the database.


Requirement 2 : Enable SNS email notification for rds password rotation

Description : You can monitor AWS Secrets Manager using Amazon CloudWatch. So when the Secret changes an email notification should be sent to the Product Team using SNS.

Acceptance Criteria

✱ Verify email is send to the product team on password change

ipcc-odbc-configuration's People

Contributors

sarbajitd-24 avatar pallavideorankar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.