diff --git a/lb.txt b/lb.txt new file mode 100644 index 0000000..b0e26c0 --- /dev/null +++ b/lb.txt @@ -0,0 +1,13 @@ +gcloud compute instances create nucleus-jumphost-762 --project=qwiklabs-gcp-04-f7ca0e0a6e94 --zone=europe-west4-c --machine-type=e2-medium --network-interface=network-tier=PREMIUM,stack-type=IPV4_ONLY,subnet=default --metadata=enable-oslogin=true --maintenance-policy=MIGRATE --provisioning-model=STANDARD --service-account=763801095178-compute@developer.gserviceaccount.com --scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append --create-disk=auto-delete=yes,boot=yes,device-name=nucleus-jumphost-762,image=projects/debian-cloud/global/images/debian-12-bookworm-v20240415,mode=rw,size=10,type=projects/qwiklabs-gcp-04-f7ca0e0a6e94/zones/europe-west4-c/diskTypes/pd-balanced --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --labels=goog-ec-src=vm_add-gcloud --reservation-affinity=any + +gcloud compute instances create www1 \ + --zone=europe-west4-c \ + --tags=network-lb-tag \ + --machine-type=e2-medium \ + --image-family=debian-11 \ + --image-project=debian-cloud \ + --metadata=startup-script='#!/bin/bash + apt-get update + apt-get install -y nginx + service nginx start + sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html diff --git a/pom.xml b/pom.xml index 75ad3c7..bf0d492 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.5 + 3.3.0 com.yeahbutstill @@ -15,7 +15,7 @@ Demo project for Spring Boot RESTful API Contact Management 22 - 1.1.4 + 1.2.0 @@ -34,6 +34,10 @@ org.flywaydb flyway-core + + org.flywaydb + flyway-database-postgresql + org.springframework.modulith spring-modulith-starter-core