Skip to content
@WUS-21Z-Z2

WUS-21Z-Z2

Deployment exercises

Labs done for the Implementation and Maintenance of IT Systems course on WUT.

Prepare a bash script for deploying the Spring Petclinic application on Google Cloud Platform virtual machines, with Angular frontend and a mysql database.

Frontend repository: https://github.com/spring-petclinic/spring-petclinic-angular Backend repository: https://github.com/spring-petclinic/spring-petclinic-rest

Key objectives:

  1. the script should take care of building, setting up and running required applications on "clean" virtual machines
  2. the script must allow for parametrizing target machine and port number of each service
  3. particularly it must be possible to deploy all the components on a single VM as well as each component on a separate VM (or any other configuration)
  4. network traffic may remain unencrypted (HTTPS is not required)
  5. target machines can be specified using IP addresses or GCP hostnames
  6. the script should be readable, correctly structured etc.

Optional tasks:

The script should handle the following configurations:
  1. Basic configuration obraz

  2. With NGINX as a load balancer obraz

  3. With master-slave database replication obraz

  4. With master-slave database replication (one backend - one database) and a load balancer obraz

  5. With master-slave database replication (each backend connected to both databases) and a load balancer obraz

Prepare an Ansible script for deploying the Spring Petclinic application on Google Cloud Platform virtual machines, with Angular frontend and a mysql database.

Frontend repository: https://github.com/spring-petclinic/spring-petclinic-angular Backend repository: https://github.com/spring-petclinic/spring-petclinic-rest

Key objectives:

  1. the script should take care of building, setting up and running required applications on "clean" virtual machines
  2. the script must allow for parametrizing target machine and port number of each service
  3. particularly it must be possible to deploy all the components on a single VM as well as each component on a separate VM (or any other configuration)
  4. network traffic may remain unencrypted (HTTPS is not required)
  5. target machines can be specified using IP addresses or GCP hostnames
  6. the script should be readable, correctly structured etc.

Optional tasks:

The script should handle the following configurations:
  1. Basic configuration obraz

  2. With NGINX as a load balancer obraz

  3. With master-slave database replication obraz

  4. With master-slave database replication (one backend - one database) and a load balancer obraz

  5. With master-slave database replication (each backend connected to both databases) and a load balancer obraz

Install the cloud version of the Sprint Petclinic application using Google Kubernetes Engine.

Spring Petclinic Cloud repository: https://github.com/spring-petclinic/spring-petclinic-cloud

Key objectives:

  1. GKE should employ at least 2 nodes (not including the control plane).
  2. Each microservice listed below:
    • customers-service
    • vets-service
    • visits-service should be set up on at least 2 pods. Each pod for a given microservice should reside on another node.
  3. Databases can be run on pods. Alternatively, you can use MySQL in the form of a managed service (GCP Cloud SQL).
  4. The load balancer can be implemented as the api-gateway microservice or you can use GKE Ingress for HTTP(S) Load.
  5. The following microservices can be omitted:
    • admin-server
    • config-server
    • discovery-server
    • Wavefront

Optional tasks:

Pinned Loading

  1. skrypt-lab1 skrypt-lab1 Public

    bash deployment exercise

    Shell

  2. skrypt-lab2 skrypt-lab2 Public

    Ansible deployment exercise

    Shell

  3. skrypt-lab3 skrypt-lab3 Public

    k8s deployment exercise

Repositories

Showing 10 of 10 repositories

Top languages

Loading…

Most used topics

Loading…