Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Latest commit

 

History

History

10_sles_for_sap

SUSE Linux Enterprise Server 15 for SAP

Create service account and Compute Engine virtual machine instance with SUSE Linux Enterprise Server 15 for SAP as operating system.

Configuration

Configuration other than default values:

Variable Description Value
MY_GCP_GCE_NAME Name of GCE virtual machine instance slessap
MY_GCP_GCE_TYPE GCE machine type n1-standard-1
MY_GCP_GCE_DISK_BOOT_TYPE Type of the boot disk pd-ssd
MY_GCP_GCE_DISK_BOOT_SIZE Size of the boot disk 64GB
MY_GCP_GCE_IMAGE_FAMILY Image family for the OS that the boot disk will be initialized with sles-15-sp3-sap
MY_GCP_GCE_IMAGE_PROJECT Project against image family references suse-sap-cloud

Pricing

Google Cloud Pricing Calculator

  • Region: Finland
  • 730 total hours per month
  • VM class: regular
  • Instance type: n1-standard-1 (USD 26.70) [Sustained Use Discount applied]
  • Operating System / Software: Paid (USD 124.10)
  • Sustained Use Discount: 30%
  • Effective Hourly Rate: USD 0.207
  • Estimated Component Cost: USD 150.80 per 1 month
  • Zonal SSD PD: 64 GiB
  • Total Estimated Cost: USD 162.77 per 1 month

SUSE Linux Enterprise Server 15 for SAP usage fee billed by Google:

  • EUR 0.14/hour (EUR 105.27/month) for 1-2 vCPU machine types
  • EUR 0.29/hour (EUR 210.55/month) for 3-4 vCPU machine types
  • EUR 0.35/hour (EUR 253.90/month) for 5+ vCPU machine types

Information without guarantee.

Scripts

  • 01_create_slessap.sh : Create service account and Compute Engine virtual machine instance
  • 10_ssh_slessap.sh : SSH into a Linux virtual machine instance
  • 99_delete_slessap.sh : Delete Compute Engine virtual machine instance and service account

Snapshots

If you don't need your VM for a long time you can make a snapshot from the disk. You can then delete the VM and the disk (99_delete_slessap.sh). If you need the VM with the data again, you can create a new fresh VM from the snapshot.

  • 30_create_snapshot_slessap.sh : Create snapshot of Compute Engine persistent boot disk
  • 31_create_from_snapshot_slessap.sh : Create Compute Engine persistent boot disk from last snapshot and create virtual machine instance with created disk
  • 39_delete_snapshots_slessap.sh : Delete all Compute Engine boot disk snapshots from specific instance

You will then save the disk cost and pay only the very cheap snapshot price.

  • Regional snapshot storage $0.029 per GB in europe-north1 (Finland)
  • Multi-regional snapshot storage $0.0286 per GB in eu (European Union) [DEFAULT]

Example:

# Create snapshot
bash 30_create_snapshot_slessap.sh
# Delete SA, Disk and VM
bash 99_delete_slessap.sh
# Later, create new VM from snapshot
bash 31_create_from_snapshot_slessap.sh
# Delete all snapshots
bash 39_delete_snapshots_slessap.sh