Giter Site home page Giter Site logo

devops-project-2-tier-webappdeployment-using-awsandazure's Introduction

DevOps-Project-2-Tier-WebAppDeployment-using-AWSandAzure

image

Connection between AWS and Azure using SIte-to-Site VPN

image



Create Secret to be used for pull image from Azure ACR

kubectl create secret docker-registry devopsmelacr132827a7-auth --docker-server=https://akscontainerregistry2405.azurecr.io --docker-username=akscontainerregistry2405 --docker-password=iXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXp -n demo

Create Secret for tls cerficates to be used in Ingress Rule

kubectl create secret tls ingress-secret --key mykey.key --cert STAR_singhritesh85_com.crt -n demo



Follow below steps to make your Azure DevOps Agent ready.

Install git2 image image Create a user demo and provide sudo privileges from sudoers file. image image image Install Java-17 image image

Install Maven image image image image

Install Docker image image

Install self hosted agent pool (You can create self hosted agent pool either at Organisation level or at project level)

image image image image image image image image image image image image

Copy kubeconfig from Terraform-Server to Azure DevOps Self-Hosted Agent and Install kubectl and helm image image image

Install trivy for Docker Image Scan image



Create three service connections as shown in the screenshot below

image image image

To Send Notification on Group Email ID go project Settings or Organisation Settings (For Global Notification) then got to Notifications and New Subscription and create a new Subscription with custom Email ID image image image image image

Adding below lines to pom.xml for storing Artifacts to Azure Artifactory

image image image



Add endpoint, username and password of MySQL RDS to the file login.jsp and userRegistration.jsp as shown in the screenshot below

image image image

Prometheus and Grafana Configuration

Using Terraform Script Prometheus and Grafana has been installed and Prometheus is kept as a source for Grafana.

image

Dashboard has been imported using the ID 3119 as shown in the screenshot below image image image image

You can access the application as shown below

image image image image





















Reference:-

https://ashok198510.hashnode.dev/cloud-native-two-tier-application-deployment-with-eks-tomcat-and-rds-in-aws
https://github.com/Ashoksana/aws-rds-java
https://medium.com/@abiolamajekodunmi2011/implementing-secure-and-observant-3-tier-deployments-on-aws-using-terraform-eks-jenkins-ea2572d239e1

devops-project-2-tier-webappdeployment-using-awsandazure's People

Contributors

singhritesh85 avatar

Watchers

 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.