arrow_back

SAP Landing Zone: Plan and Deploy the SAP Network

登录 加入
欢迎加入我们的社区,一起测试和分享您的知识!
done
学习 700 多个动手实验和课程并获得相关技能徽章

SAP Landing Zone: Plan and Deploy the SAP Network

实验 1 小时 universal_currency_alt 1 积分 show_chart 入门级
info 此实验可能会提供 AI 工具来支持您学习。
欢迎加入我们的社区,一起测试和分享您的知识!
done
学习 700 多个动手实验和课程并获得相关技能徽章

GSP1068

Google Cloud self-paced labs logo

Overview

In this lab, you will learn about the key network related activities involved in deploying the various Google Cloud services and resources required for building the majority of SAP Landing Zones on Google Cloud.

The tasks of this lab are based on activities required to plan & deploy a network to host a provided mock SAP estate.

Note: Building a SAP Landing Zone requires a number of Google Cloud resources to be deployed. It is not the goal of this lab to reduce the design process/effort required to define a customer specific “SAP Landing Zone” into a set of prescriptive steps which can be executed to deploy an enterprise-ready “SAP Landing Zone” in an end-to-end manner. Please refer to the “lab pre-reading” material for more information.

Objectives

In this lab, you will learn how to:

  • Create “VPC network(s)”
  • Create VPC “subnet(s)”
  • Create VPC network “firewall rules” to allow network wide user access
  • Create VPC network “firewall rules” to allow inter-environment access between SAP systems (e.g.: between all Dev systems)
  • Create VPC network “firewall rules” to allow inter-system access between components of a single SAP system (e.g.: between DB and app components of a single SAP system)
  • Reserve static “IP address(s)”
  • Create a “Cloud NAT service”

Setup and requirements

Before you click the Start Lab button

Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources will be made available to you.

This hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab.

To complete this lab, you need:

  • Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito or private browser window to run this lab. This prevents any conflicts between your personal account and the Student account, which may cause extra charges incurred to your personal account.
  • Time to complete the lab---remember, once you start, you cannot pause a lab.
Note: If you already have your own personal Google Cloud account or project, do not use it for this lab to avoid extra charges to your account.

How to start your lab and sign in to the Google Cloud console

  1. Click the Start Lab button. If you need to pay for the lab, a pop-up opens for you to select your payment method. On the left is the Lab Details panel with the following:

    • The Open Google Cloud console button
    • Time remaining
    • The temporary credentials that you must use for this lab
    • Other information, if needed, to step through this lab
  2. Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).

    The lab spins up resources, and then opens another tab that shows the Sign in page.

    Tip: Arrange the tabs in separate windows, side-by-side.

    Note: If you see the Choose an account dialog, click Use Another Account.
  3. If necessary, copy the Username below and paste it into the Sign in dialog.

    {{{user_0.username | "Username"}}}

    You can also find the Username in the Lab Details panel.

  4. Click Next.

  5. Copy the Password below and paste it into the Welcome dialog.

    {{{user_0.password | "Password"}}}

    You can also find the Password in the Lab Details panel.

  6. Click Next.

    Important: You must use the credentials the lab provides you. Do not use your Google Cloud account credentials. Note: Using your own Google Cloud account for this lab may incur extra charges.
  7. Click through the subsequent pages:

    • Accept the terms and conditions.
    • Do not add recovery options or two-factor authentication (because this is a temporary account).
    • Do not sign up for free trials.

After a few moments, the Google Cloud console opens in this tab.

Note: To view a menu with a list of Google Cloud products and services, click the Navigation menu at the top-left. Navigation menu icon

Activate Cloud Shell

Cloud Shell is a virtual machine that is loaded with development tools. It offers a persistent 5GB home directory and runs on the Google Cloud. Cloud Shell provides command-line access to your Google Cloud resources.

  1. Click Activate Cloud Shell Activate Cloud Shell icon at the top of the Google Cloud console.

When you are connected, you are already authenticated, and the project is set to your Project_ID, . The output contains a line that declares the Project_ID for this session:

Your Cloud Platform project in this session is set to {{{project_0.project_id | "PROJECT_ID"}}}

gcloud is the command-line tool for Google Cloud. It comes pre-installed on Cloud Shell and supports tab-completion.

  1. (Optional) You can list the active account name with this command:
gcloud auth list
  1. Click Authorize.

Output:

ACTIVE: * ACCOUNT: {{{user_0.username | "ACCOUNT"}}} To set the active account, run: $ gcloud config set account `ACCOUNT`
  1. (Optional) You can list the project ID with this command:
gcloud config list project

Output:

[core] project = {{{project_0.project_id | "PROJECT_ID"}}} Note: For full documentation of gcloud, in Google Cloud, refer to the gcloud CLI overview guide.

Prerequisites

Although not mandatory, to maximize your learning in this lab, the following labs should be completed first:

  • Cloud Foundation Toolkit (CFT) Training: Getting Started

Executing activities in this lab

This lab will focus on the following “Landing Zone” topic areas:

  • Google Cloud services and resources to be deployed

This lab will cover sample key activities which will be involved in deploying the various Google Cloud services and resources involved in building the majority of "SAP Landing Zones" on Google Cloud.

The activities in this lab will build on each other, therefore it will be required to work through the activities in the order they are stated. This is intentional as it is representative of real world scenarios in which there will be dependencies between Google Cloud resources and highlights the need to work accurately as performing corrective action could be very effort intensive.

Google Cloud supports many different options which can be used to deploy Google Cloud resources. These include but are not limited to:

  • Manually via the Google Cloud Console
  • Command line (e.g. gcloud, gsutil, etc.)
  • API calls
  • Various programming languages (e.g. Go, Java, Node.js, Python)
  • Infrastructure as Code tools (e.g. Terraform)

Which option(s) will be adopted for a customer specific “SAP Landing Zone” would be defined during the design process.

In this lab it is assumed that all activities will be executed from the command line and the required command line instructions will be provided. However students may opt to use any supported option to perform the activities. Where available, links to the relevant “quickstart” online documentation will be provided which will include syntax instructions for the other options.

In this lab a sample naming convention will be provided for all resources (please reference the naming convention section and table provided in the pre-reading material for more information). The bulk of the activities will need the Google Cloud resources to be deployed in accordance with the naming convention and the configuration specifications provided as this will be representative of what would be expected in real world scenarios. Various activities in these labs will only be marked as completed if they are fully compliant to both the expected naming and the stated configuration specifications.

Parameter value color coding key:

To help you understand what the various parameter values relate to, the following color coding of the parameter values has been adopted:

  • Green = refers to the ID of the resource being created
  • Orange = refers to free text entry, generally used for descriptions
  • Blue = refers to the ID of a resource which has previously been created
  • Purple = refers to a configuration parameter of the resource being created

Timekeeping

This lab is time restricted to 60 min. At the end of the time the lab environment will automatically shutdown and any resources deployed will be erased. Recommensing the lab will require all tasks to be executed afresh.

In order to ensure you have sufficient time to complete all the tasks, before clicking Start Lab it is highly advisable that you:

  • Read through all the tasks of the lab
  • Decide which option you want to use to deploy the Google Cloud resources
  • Prepare the deployment code and tooling to be executed

Mock SAP Estate

To help the student be able to both visualize and relate the activities in this lab back to their own SAP estates, a mock SAP estate has been provided on which all activities of this lab will be based.

SAP Estate Overview

The below table outlines the key configuration of the attributes of the SAP estate this lab will be based on. The table should be referenced in combination with the naming convention table provided in the pre-reading material.

The table outlines in yellow the components which will be deployed by the activities of this lab.

deploy_activities.png

Lab pre-read material: “SAP on Google Cloud” onboarding

For additional real world conditions information about the customer cloud “onboarding” journey of the customer, you are advised to read the “Lab pre-read: “SAP on Cloud” onboarding” material.

Note: If you wish to obtain the “SAP landing zone” skill badge, you will be required to read and answer a series of questions related to this pre-reading material.

Task 1. Create “VPC network(s)”

Depending on network design patterns adopted in the customer environment there may be a need to deploy one or more VPC networks with at least 1 subnet to meet the network design requirements.

Real world considerations:

As mentioned in the pre-reading material, “network configuration” design is one of the “cloud foundations” topics.

There are many supported VPC network design patterns each with their own PROs, CONs and constraints. In real world scenarios customers should carefully evaluate their network design requirements to best address their specific needs across all current and future workloads. This activity should be performed with suitably skilled network specialists so as to ensure the appropriate network design is adopted.

Changing the network design at a later stage could be both very disruptive and labor intensive.

Note: It is extremely rare in real world scenarios that a VPC network design would be based on only hosting a SAP estate.

Online Documentation:

Dependencies:

In order to be able to successfully deploy the required “VPC network(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup

Naming Convention:

  • ID:
    • Character limit: 62
    • Structure: <01><02>-vpc--<03>-<04>

                             <01> - company id

                             <02> - business entity id

                             <03> - vpc short description

                             <04> - vpc count identifier

  • Description:
    • Character limit: unlimited
    • Structure: “<01>-<02> VPC network = <03> - <04>”

                             <01> - Company

                             <02> - Business entity ID

                             <03> - VPC description

                             <04> - VPC count identifier

Resources to be created (Count = 1):

Using any supported method deploy the “VPC Network(s)” with the following configuration details:

#01 of 01:

Parameter Value
ID xall-vpc--vpc-01
VPC description XYZ-all VPC network = Standard VPC network - 01
Subnet mode custom
Routing mode global

Command line:

Command 01 of 01 - Create a “VPC network”:

gcloud compute networks create [insert ID here] \ --description="[insert VPC description here]" \ \ --project=[insert your Project ID here] \ \ --subnet-mode=[insert subnet mode here] \ --bgp-routing-mode=[insert routing mode here] \ --mtu=1460

(Example output)

Created [https://www.googleapis.com/compute/v1/projects/[project ID]/global/networks/[VPC network ID]]. NAME: [VPC network ID] SUBNET_MODE: [VPC subnet mode] BGP_ROUTING_MODE: [VPC routing mode] IPV4_RANGE: GATEWAY_IPV4: Instances on this network will not be reachable until firewall rules are created. As an example, you can allow all internal traffic between instances as well as SSH, RDP, and ICMP by running: $ gcloud compute firewall-rules create --network xall-vpc--vpc-01 --allowtcp,udp,icmp --source-ranges $ gcloud compute firewall-rules create --network xall-vpc--vpc-01 --allowtcp:22,tcp:3389,icmp

Review and validate in the Cloud Console:

Confirm the “VPC network(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> VPC network -> VPC networks”.

vpc_summary

Click Check my progress to verify the objective.

Create “VPC” network(s)

Task 2. Create VPC “subnet(s)”

As new SAP environments (e.g.: DR) or SAP operational landscapes (e.g. Project landscape) are deployed so there may be a need to add additional subnets to an existing VPC network.

Real world considerations:

There are many factors which may influence the subnet layout within a VPC network.

Subnet creation and maintenance are typically managed by a central network administration team(s) who ensure the appropriate security and design standards are enforced. Normally the SAP team will need to liaise with network administration team(s) to define the workload specific subnet layout under real world conditions.

The subnet layout provided in this lab is based on commonly observed real world scenarios but each customer should evaluate their own environment before deploying subnets and resources to them.

Note: Changing the subnet layout at a later stage could be both very disruptive as well as labor intensive.

Online Documentation:

Dependencies:

In order to be able to successfully deploy the required VPC “subnet(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup
  • VPC network(s) deployed

Naming Convention:

  • ID:
    • Character limit: 62
    • Structure: <01><02>-subnet--<03>-<04>-<05>--<06>-<07>

                             <01> - company id

                             <02> - business entity id

                             <03> - workload id

                             <04> - operational area id

                             <05> - environment id

                             <06> - hosting region id

                             <07> - subnet count identifier

  • Description:
    • Character limit: unlimited
    • Structure: ”<01>-<02> subnet = <03>-<04>-<05> - <06> - <07>”

                             <01> - Company

                             <02> - Business entity ID

                             <03> - Workload ID

                             <04> - Operational area ID

                             <05> - Environment ID

                             <06> - Hosting region ID

                             <07> - subnet count identifier

Resources to be created (Count = 1):

Using any supported method deploy the VPC “subnets(s)” with the following configuration details:

#01 of 01:

Parameter Value
ID xgl-subnet--cerps-bau-nonprd--be1-01
Description XYZ-Global subnet = CERPS-BaU-NonProd - Belgium 1 (GCP) - 01
VPC network xall-vpc--vpc-01
Region
IP range 10.1.1.0/24

Command line:

Command 01 of 01 - Create a VPC “subnet”:

gcloud compute networks subnets create [insert ID here] \ --description="[insert description here]" \ \ --project=[insert your Google Cloud project ID here] \ --network=[insert VPC network here] \ --region=[insert region here] \ \ --range=[insert IP range here] \ --enable-private-ip-google-access \ --enable-flow-logs

(Example output)

Created [https://www.googleapis.com/compute/v1/projects/[project ID]/regions/[region ID]/subnetworks/[VPC subnet ID]]. NAME: [VPC subnet ID] REGION: [region ID] NETWORK: [VPC network ID] RANGE: [IP range] STACK_TYPE: IPV4_ONLY IPV6_ACCESS_TYPE: INTERNAL_IPV6_PREFIX: EXTERNAL_IPV6_PREFIX:

Review and validate in the Cloud Console:

Confirm the VPC “subnet(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> VPC network -> VPC networks”.

subnet_summary

Click Check my progress to verify the objective.

Create VPC “subnet(s)”

Task 3. Create VPC “firewall rule(s) - user access”

All SAP hosted resources required network access. VPC firewall rules are required to be defined to secure what network access is permissible. Network wide firewall rules will be required to enable various user access.

Real world considerations:

VPC firewall rules are typically managed by a central network administration team(s) who ensure appropriate security standards are enforced. Normally the SAP team will need to liaise with network administration team(s) to define the workload specific VPC firewall rules for “user access”, “environment wide access” & “inter-system access” under real world conditions.

Google Cloud supports different options for defining VPC firewall rules each with their own PROs, CONs and constraints. Google Cloud resources support being protected by multiple VPC firewall rules defined using multiple different options.

Note: In this lab “firewall tags” will be used as it is often the most scalable and manageable solution to managing network access within SAP estates.

Online Documentation:

Dependencies:

In order to be able to successfully deploy the required VPC “firewall rule(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup
  • VPC network(s) deployed

Naming Convention:

  • ID:
    • Character limit: 62
    • Structure: <01>--<02><03>-fw--user--<04>--<05>--v<06>

                             <01> - vpc id

                             <02> - company id

                             <03> - business entity id

                             <04> - firewall action id

                             <05> - user access short description

                             <06> - firewall version no.

  • Description:
    • Character limit: unlimited
    • Structure: ”<01> - <02>-<03> firewall rule = User access - <04> <05> - version <06>”

                             <01> - VPC ID

                             <02> - Company

                             <03> - Business entity ID

                             <04> - Firewall ACTION

                             <05> - User access description

                             <06> - firewall version no.

Resources to be created (Count = 4):

Using any supported method deploy the VPC “firewall rule(s)” with the following configuration details:

#01 of 04:

Parameter Value
ID xall-vpc--vpc-01--xall-fw--user--a--linux--v01
Description xall-vpc--vpc-01 - XYZ-all firewall rule = User access - ALLOW standard linux access - version 01
VPC network xall-vpc--vpc-01
Priority 1000
Direction ingress
Action allow
Target tags xall-vpc--vpc-01--xall-fw--user--a--linux--v01
Source filter source-ranges
Source 0.0.0.0/0
Network ports tcp:22,icmp

#02 of 04:

Parameter Value
ID xall-vpc--vpc-01--xall-fw--user--a--windows--v01
Description xall-vpc--vpc-01 - XYZ-all firewall rule = User access - ALLOW standard windows access - version 01
VPC network xall-vpc--vpc-01
Priority 1000
Direction ingress
Action allow
Target tags xall-vpc--vpc-01--xall-fw--user--a--windows--v01
Source filter source-ranges
Source 0.0.0.0/0
Network ports tcp:3389,icmp

#03 of 04:

Parameter Value
ID xall-vpc--vpc-01--xall-fw--user--a--sapgui--v01
Description xall-vpc--vpc-01 - XYZ-all firewall rule = User access - ALLOW SAPGUI access - version 01
VPC network xall-vpc--vpc-01
Priority 1000
Direction ingress
Action allow
Target tags xall-vpc--vpc-01--xall-fw--user--a--sapgui--v01
Source filter source-ranges
Source 0.0.0.0/0
Network ports tcp:3200-3299,tcp:3600-3699

#04 of 04:

Parameter Value
ID xall-vpc--vpc-01--xall-fw--user--a--sap-fiori--v01
Description xall-vpc--vpc-01 - XYZ-all firewall rule = User access - ALLOW SAP Fiori access - version 01
VPC network xall-vpc--vpc-01
Priority 1000
Direction ingress
Action allow
Target tags xall-vpc--vpc-01--xall-fw--user--a--sap-fiori--v01
Source filter source-ranges
Source 0.0.0.0/0
Network ports tcp:80,tcp:8000-8099,tcp:443,tcp:4300-44300

Command line:

Command 01 of 01 - Create a VPC “firewall rule”:

gcloud compute firewall-rules create [insert ID here] \ --description="[insert description here]" \ \ --project=[insert your Google Cloud project ID here] \ --network=[insert VPC network here] \ \ --priority=[insert priority here] \ --direction=[insert direction here] \ --action=[insert action here] \ --target-tags=[insert target tags here] \ --[insert source filter here]=[insert source here] \ --rules=[insert network ports here]

(Example output)

Creating firewall...working..Created [https://www.googleapis.com/compute/v1/projects/[project ID]/global/firewalls/[firewall rule ID]]. Creating firewall...done. NAME: [firewall rule ID] NETWORK: [VPC network ID] DIRECTION: [INGRESS PRIORITY: [priority] ALLOW: [network ports] DENY: DISABLED: False

Review and validate in the Cloud Console:

Confirm the VPC “firewall rule(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> VPC network -> Firewall”.

fw_user_summary

Click Check my progress to verify the objective.

Create VPC “firewall rule(s) - user access”

Task 4. Create VPC “firewall rule(s) - environment access”

All SAP hosted resources required network access. VPC firewall rules are required to be defined to secure what network access is permissible. Environment wide firewall rules will be required to enable communication between SAP systems within the same environment. This access should be restricted to the standard SAP ports.

Real world considerations:

VPC firewall rules are typically managed by a central network administration team(s) who ensure appropriate security standards are enforced. Normally the SAP team will need to liaise with network administration team(s) to define the workload specific VPC firewall rules for “user access”, “environment wide access” & “inter-system access” under real world conditions.

Google Cloud supports different options for defining VPC firewall rules each with their own PROs, CONs and constraints. Google Cloud resources support being protected by multiple VPC firewall rules defined using multiple different options.

Note: In this lab “firewall tags” will be used as it is often the most scalable and manageable solution to managing network access within SAP estates.

Online Documentation:

Dependencies:

In order to be able to successfully deploy the required VPC “firewall rule(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup
  • VPC network(s) deployed

Naming convention:

  • ID:
    • Character limit: 62
    • Structure: <01>--<02><03>-fw--<04>-<05>-<06>--<07>-env--v<08>

                             <01> - vpc id

                             <02> - company id

                             <03> - business entity id

                             <04> - workload id

                             <05> - operational area id

                             <06> - environment id

                             <07> - firewall action id

                             <08> - firewall version no.

  • Description:
    • Character limit: unlimited
    • Structure: “<01> - <02>-<03> firewall rule = <04>-<05>-<06> - <07> environment wide access - version <08>”

                             <01> - VPC ID

                             <02> - Company

                             <03> - Business entity ID

                             <04> - Workload ID

                             <05> - Operational area ID

                             <06> - Environment ID

                             <07> - Firewall ACTION

                             <08> - firewall version no.

Resources to be created (Count = 1):

Using any supported method deploy the VPC “firewall rule(s)” with the following configuration details:

#01 of 01:

Parameter Value
ID xall-vpc--vpc-01--xgl-fw--cerps-bau-dev--a-env--v01
Description xall-vpc--vpc-01 - XYZ-Global firewall rule = CERPS-BaU-Dev - ALLOW environment wide access - version 01
VPC network xall-vpc--vpc-01
Priority 1000
Direction ingress
Action allow
Target tags xall-vpc--vpc-01--xgl-fw--cerps-bau-dev--a-env--v01
Source filter source-tags
Source xall-vpc--vpc-01--xgl-fw--cerps-bau-dev--a-env--v01
Network ports tcp:3200-3299,tcp:3300-3399,tcp:4800-4899,tcp:80,tcp:8000-8099,tcp:443,tcp:44300-44399,tcp:3600-3699,tcp:8100-8199,tcp:44400-44499,tcp:50000-59999,tcp:30000-39999,tcp:4300-4399,tcp:40000-49999,tcp:1128-1129,tcp:5050,tcp:8000-8499,tcp:515,icmp

Command line:

Command 01 of 01 - Create a VPC “firewall rule”:

gcloud compute firewall-rules create [insert ID here] \ --description="[insert description here]" \ \ --project=[insert your Google Cloud project ID here] \ --network=[insert VPC network here] \ \ --priority=[insert priority here] \ --direction=[insert direction here] \ --action=[insert action here] \ --target-tags=[insert target tags here] \ --[insert source filter here]=[insert source here] \ --rules=[insert network ports here]

(Example output)

Creating firewall...working..Created [https://www.googleapis.com/compute/v1/projects/[project ID]/global/firewalls/[firewall rule ID]]. Creating firewall...done. NAME: [firewall rule ID] NETWORK: [VPC network ID] DIRECTION: [INGRESS PRIORITY: [priority] ALLOW: [network ports] DENY: DISABLED: False

Review and validate in the Cloud Console:

Confirm the VPC “firewall rule(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> VPC network -> Firewall”.

fw_env_summary

Click Check my progress to verify the objective.

Create VPC “firewall rule(s) - environment access”

Task 5. Create VPC “firewall rule(s) - system access”

All SAP hosted resources required network access. VPC firewall rules are required to be defined to secure what network access is permissible. Because components of a single SAP system are commonly distributed over a number VMs, system wide firewall rules will be required to enable these components to communicate with one another. Since components of the same SAP system are so closely coupled and communicate heavily between each other it is quite common for there to be unrestricted network access between components of the same SAP system.

Real world considerations:

VPC firewall rules are typically managed by a central network administration team(s) who ensure appropriate security standards are enforced. Normally the SAP team will need to liaise with network administration team(s) to define the workload specific VPC firewall rules for “user access”, “environment wide access” & “inter-system access” under real world conditions.

Google Cloud supports different options for defining VPC firewall rules each with their own PROs, CONs and constraints. Google Cloud resources support being protected by multiple VPC firewall rules defined using multiple different options.

Note: In this lab “firewall tags” will be used as it is often the most scalable and manageable solution to managing network access within SAP estates.

Online Documentation:

Dependencies:

In order to be able to successfully deploy the required VPC “firewall rule(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup
  • VPC network(s) deployed

Naming Convention:

  • ID:
    • Character limit: 62
    • Structure: <01>--<02><03>-fw--<04>-<05>-<06>--<07>-<08>--v<09>

                             <01> - vpc id

                             <02> - company id

                             <03> - business entity id

                             <04> - workload id

                             <05> - operational area id

                             <06> - environment id

                             <07> - firewall action id

                             <08> - system id

                             <09> - firewall version no.

  • Description:
    • Character limit: unlimited
    • Structure: “<01> - <02>-<03> firewall rule = <04>-<05>-<06> - <07> <08> (<09>) system wide access - version <10>”

                             <01> - VPC ID

                             <02> - Company

                             <03> - Business entity ID

                             <04> - Workload ID

                             <05> - Operational area ID

                             <06> - Environment ID

                             <07> - Firewall ACTION

                             <08> - Application ID

                             <09> - System ID

                             <10> - firewall version no.

Resources to be created (Count = 1):

Using any supported method deploy the VPC “firewall rule(s)” with the following configuration details:

#01 of 01:

Parameter Value
ID xall-vpc--vpc-01--xgl-fw--cerps-bau-dev--a-ds4--v01
Description xall-vpc--vpc-01 - XYZ-Global firewall rule = CERPS-BaU-Dev - ALLOW SAP S4 (DS4) system wide access - version 01
VPC network xall-vpc--vpc-01
Priority 1000
Direction ingress
Action allow
Target tags xall-vpc--vpc-01--xgl-fw--cerps-bau-dev--a-ds4--v01
Source filter source-tags
Source xall-vpc--vpc-01--xgl-fw--cerps-bau-dev--a-ds4--v01
Rules tcp,udp,icmp

Command line:

Command 01 of 01 - Create a VPC “firewall rule”:

gcloud compute firewall-rules create [insert ID here] \ --description="[insert description here]" \ \ --project=[insert your Google Cloud project ID here] \ --network=[insert VPC network here] \ \ --priority=[insert priority here] \ --direction=[insert direction here] \ --action=[insert action here] \ --target-tags=[insert target tags here] \ --[insert source filter here]=[insert source here] \ --rules=[insert network ports here]

(Example output)

Creating firewall...working..Created [https://www.googleapis.com/compute/v1/projects/[project ID]/global/firewalls/[firewall rule ID]]. Creating firewall...done. NAME: [firewall rule ID] NETWORK: [VPC network ID] DIRECTION: [INGRESS PRIORITY: [priority] ALLOW: [network ports] DENY: DISABLED: False

Review and validate in the Cloud Console:

Confirm the VPC “firewall rule(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> VPC network -> Firewall”.

fw_sys_summary

Click Check my progress to verify the objective.

Create VPC “firewall rule(s) - system access”

Task 6. Reserve static internal “IP address(s)”

Some SAP customers opt to use “virtual hostnames” to deploy and access SAP components to take advantage of the benefits of “SAP Adaptive Design Principles”. In order to ensure IP addresses for “virtual hostnames” are not accidentally consumed by newly created VMs, internal IP addresses to be used for the “virtual hostnames” IP addresses need to be reserved.

Real world considerations:

Typically a central network administration team(s) will manage all network related resources within the VPC network and the SAP team will need to liaise with network administration team(s) to create these static “IP address(s)” reservations under real world conditions.

Note: When using “virtual hostnames” careful planning of the subnet sizes will be required to ensure there are sufficient IP addresses available to accommodate both IP addresses for the VMs as well as the “virtual hostnames”. For manageability purposes it is strongly recommended that virtual hostnames consume IP addresses from the same subnet as the VM(s) they are associated with.

Online documentation:

Dependencies:

In order to be able to successfully reserve the required static “IP address(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup
  • VPC network(s) deployed
  • VPC subnet(s) deployed

Naming Convention:

  • ID:
    • Character limit: 62
    • Structure: <01><02>-ip-address--<03>-<04>-<05>--<06>--<07>

                             <01> - company id

                             <02> - business entity id

                             <03> - workload id

                             <04> - operational area id

                             <05> - environment id

                             <06> - system id

                             <07> - short virtual hostname

  • Description:
    • Character limit: unlimited
    • Structure: “<01>-<02> reserved IP address = <03>-<04>-<05> - <06> (<07>) - <08>”                              <01> - Company

                             <02> - Business entity ID

                             <03> - Workload ID

                             <04> - Operational area ID

                             <05> - Environment ID

                             <06> - Application ID

                             <07> - System ID

                             <08> - short virtual hostname

Resources to be created (Count = 4):

Using any supported method reserve static “IP address(s)” with the following configuration details:

#01 of 04:

Parameter Value
ID xgl-ip-address--cerps-bau-dev--dh1--d-cerpshana1
Description XYZ-Global reserved IP address = CERPS-BaU-Dev - SAP HANA 1 (DH1) - d-cerpshana1
Region
Subnet xgl-subnet--cerps-bau-nonprd--be1-01
Addresses 10.1.1.100

#02 of 04:

Parameter Value
ID xgl-ip-address--cerps-bau-dev--ds4--d-cerpss4db
Description XYZ-Global reserved IP address = CERPS-BaU-Dev - SAP S4 (DS4) - d-cerpss4db
Region
Subnet xgl-subnet--cerps-bau-nonprd--be1-01
Addresses 10.1.1.101

#03 of 04:

Parameter Value
ID xgl-ip-address--cerps-bau-dev--ds4--d-cerpss4scs
Description XYZ-Global reserved IP address = CERPS-BaU-Dev - SAP S4 (DS4) - d-cerpss4scs
Region
Subnet xgl-subnet--cerps-bau-nonprd--be1-01
Addresses 10.1.1.102

#04 of 04:

Parameter Value
ID xgl-ip-address--cerps-bau-dev--ds4--d-cerpss4app1
Description XYZ-Global reserved IP address = CERPS-BaU-Dev - SAP S4 (DS4) - d-cerpss4app1
Region
Subnet xgl-subnet--cerps-bau-nonprd--be1-01
Addresses 10.1.1.103

Command line:

Command 01 of 01 - Create a static “IP address” reservation:

gcloud compute addresses create [insert ID here] \ --description="[insert description here]" \ \ --project=[insert your Google Cloud project ID here] \ --region=[insert region here] \ --subnet=[insert subnet here] \ \ --addresses=[insert addresses here]

(Example output)

Created [https://www.googleapis.com/compute/v1/projects/[project ID]/regions/europe-west1/addresses/[reserved IP ID]]

Review and validate in the Cloud Console:

Confirm the reservation of static internal “IP address(s)” in the Cloud Console using the following path “Navigation menu -> NETWORKING -> VPC network -> IP addresses”.

ip_add_summary

Click Check my progress to verify the objective.

Reserve “static internal IP address(s)”

Task 7. Create “Cloud NAT service(s)”

It is quite common for VMs hosting SAP components to not be assigned public IP addresses for security reasons. However these VM often still need internet access to be able to do critical activities like update OS packages. “Cloud NAT” service provides a secure manner for these SAP related VMs to access the internet.

Real world considerations:

Typically a central network administration team(s) will manage all network related resources within the VPC network.

There are many patterns supported to providing internet access to VMs which don’t have a public IP address assigned and therefore the SAP team will need to liaise with network administration team(s) on how internet access can be granted inline with the adopted network design.

Note: In this lab a single “Cloud NAT Service” will be deployed however under real world conditions, to avoid latency and inter-region network costs, generally each Google Cloud region hosting VM(s) would have at least 1 “Cloud NAT Service” deployed however there may also be valid justification to have more.

Online documentation:

Dependencies:

In order to be able to successfully deploy the required “Cloud NAT service(s)” the following dependencies will need to be correctly deployed before proceeding with this activity:

  • Google Cloud account setup
  • IAM setup
  • Resource hierarchy setup
  • Google Cloud project to host VPC setup
  • “VPC” network(s) deployed
  • VPC “subnets” deployed

Naming Convention:

  • Cloud NAT - ID:
    • Character limit: 62
    • Structure: <01>--<02><03>-nat-gw--<04>--<05>-<06>

                             <01> - vpc id

                             <02> - company id

                             <03> - business entity id

                             <04> - short nat description

                             <05> - Hosting region ID

                             <06> - subnet count identifier

  • Router - ID:
    • Character limit: 62
    • Structure: <01>--<02><03>-router--<04>--<05>-<06>

                             <01> - vpc id

                             <02> - company id

                             <03> - business entity id

                             <04> - short router description

                             <05> - Hosting region ID

                             <06> - router count identifier

  • Router - Description:
    • Character limit: unlimited
    • Structure: “<01> - <02>-<03> router = <04> - <05> - <06>”

                             <01> - vpc id

                             <02> - Company

                             <03> - Business entity ID

                             <04> - Router description

                             <05> - Hosting region ID

                             <07> - router count identifier

Resources to be created (Count = 2):

Using any supported method deploy the “Cloud NAT service(s)” with the following configuration details:

#01 of 01:

Parameter Value
Cloud NAT - ID xall-vpc--vpc-01--xall-nat-gw--shared-nat--de1-01
Router - ID xall-vpc--vpc-01--xall-router--shared-nat--de1-01
Router - Description xall-vpc--vpc-01 - XYZ-Global router = Shared NAT - Germany 1 (GCP) - 01
Region
VPC network xall-vpc--vpc-01

Command line:

Command 01 of 02 - Create a “router”:

gcloud compute routers create [insert router ID here] \ --description="[insert router description here]" \ \ --project=[insert your Google Cloud project ID here] \ --region=[insert region here] \ --network=[insert VPC network here]

(Example output)

Creating router [[router ID]]...done. NAME: [router ID] REGION: [region ID] NETWORK: [VPC network ID]

Command 02 of 02 - Create a “Cloud NAT”:

gcloud compute routers nats create [inset nat ID here] \ \ --project=[insert your Google Cloud project ID here] \ --region=[insert region here] \ --router=[insert router ID here] \ \ --auto-allocate-nat-external-ips \ --nat-all-subnet-ip-ranges \ --enable-logging

(Example output)

Creating NAT [[nat ID]] in router [[insert router ID here]]...done.

Review and validate in the Cloud Console:

Confirm the “router(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> Network Connectivity -> Cloud Routers”.

router_summary

Confirm the “Cloud NAT(s)” have been deployed in the Cloud Console using the following path “Navigation menu -> NETWORKING -> Network Services -> Cloud NAT”.

nat_summary

Click Check my progress to verify the objective.

Create “Cloud NAT service(s)”

Congratulations!

Summary of Activities:

The below table outlines in yellow the components which will have been deployed by the activities of this lab.

activity_summary

Next Steps / Learn More

Be sure to check out the following documentation for more practice with SAP:

Google Cloud training and certification

...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.

Manual Last Updated July 18, 2024

Lab Last Tested July 18, 2024

Copyright 2024 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.

此内容目前不可用

一旦可用,我们会通过电子邮件告知您

太好了!

一旦可用,我们会通过电子邮件告知您