arrow_back

Database and Multi-Cloud Assessment with StratoZone

Join Sign in
Test and share your knowledge with our community!
done
Get access to over 700 hands-on labs, skill badges, and courses

Database and Multi-Cloud Assessment with StratoZone

Lab 1 hour 30 minutes universal_currency_alt 5 Credits show_chart Intermediate
Test and share your knowledge with our community!
done
Get access to over 700 hands-on labs, skill badges, and courses

GSP804

Google Cloud self-paced labs logo

Overview

The StratoZone® SaaS platform provides customers with a data-driven cloud decision framework. The StratoProbe® Data Collector Application delivers the ability to easily deploy and scale the discovery of a customer's IT environment for Private, Public, or Hybrid-cloud planning. Most recent release supports collection of database information from servers running PostgreSQL, MySQL or SQL Server to further ease and accelerate the VM migration journey. Google Cloud offers assistance and guidance in making the right decisions when deciding to go to cloud.

The VM migration journey flow diagram

In this hands-on lab you'll learn how to assess a customer's current environment and collect information from supported databases as well as import data collected from Azure/AWS infrastructure. You'll generate inventory, cloud fit score, and financial reports including TCO and ROI analysis.

What you'll do

  • Collect data automatically from an existing environment.
  • Collect data from MS SQL Server, MySQL, and Postgres databases.
  • Import data from an existing AWS environment.
  • Review data and create groups.
  • Obtain TCO and detailed pricing reports.
Note: If you're using a Chromebook, you will need to use a third-party RDP tool, like Remote Desktop 8 or [remmina], rather than the RDP button in the Cloud Console.

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

To begin, you will download and deploy the collector in a simulated customer environment created for this purpose in Google Cloud.

  1. In the Console, from the Navigation menu, select Compute Engine > VM instances.

The navogation path to the VM instances option is hihglighted on the UI

If prompted, select the Google Cloud project assigned to your lab.

  1. Click the RDP button next to the lab-winvm01 instance.

The RDP button is highlighted on the UI

Note: If you're using a Chromebook, you will need to use a third-party RDP tool rather than the RDP button.
  1. Use the following credentials to complete the RDP login:

User name

stratozone

Password

$tr@t0z0n3

Note: If you have any issues logging in, wait a minute and retry.

Task 1. Log in to StratoZone portal

In this section, you will log in to the StratoZone portal.

  1. Minimize the Server Manager Dashboard if it's too big.

  2. From the windows-vm desktop, right click on the Google Chrome icon and click Run as administrator.

  3. Open https://labs.stratozone.com/.

  4. Use the lab credentials provided to log in to the StratoZone lab session.

  5. Agree to the terms and conditions and click Next.

Once logged in you will be able to access the assessments and review collected data.

Task 2. Start new assessment (automatic)

Next, collect live data from a set of machines running in the Google Cloud environment. This automatically collected data is how 99% of assessments are conducted in real world customer environments. The main benefit of this approach is that you will receive unbiased information directly from the systems scanned. This natively collected data provides machine inventory, specs, utilization, execution processes, services, software versions installed, and network connectivity. This data enables all of the advanced StratoZone features such as:

  • Cloud Fit scores

  • Optimization of underutilized workloads

  • Network dependency mapping

  • Financial business case (TCO/ROI)

  • Automated summary reporting and proposal

  • To begin the discovery and start the assessment wizard, click the Assessments tab, then click the Create New Assessment Group button in the top menu.

The Create New Assessment Group button highlighted at the top of the Assessments page

Establish Collector

  1. On the Create New Assessment page, use the following values for this lab:

Assessment Type

Automatic Asset Discovery

Assessment Group Name

Advanced-Assessment

Customer Sponsor Name & Email

Enter your name and a personal email address

Customer Tech Contact Name & Email

Enter your name and personal email address

Note: This email will receive an email with collector installation instructions

  1. Click Save.

Once the Assessment has been created, the system will automatically start the data collector configuration wizard.

  1. On the Details tab use the following values:

Assessment / Data Center

Oregon-DC

Expected Number of Assets to Collect

7

Leave the default values for the remainder of the options.

  1. Click Save & Next.

  2. Under the Run Schedule tab, leave the default values and click Save & Next.

  3. Under the Data Security tab, note the available options for removing data sent from the data collector to StratoZone. For this lab use the default option Level 1.

  4. Click Save & Next.

Pre-configuration of the data collector has been completed and the install package can be downloaded.

  1. Click Download Download icon to obtain the installation package.

The Download and Generate aceess code icons highlighted on the UI

  1. Click the Key icon to obtain the Temporary Access Code. Make a note of the Temporary Access Code as it will be needed later in the lab.

Click Check my progress to verify the objective.

Verify that the Automated Assessment has been created.

Task 3. Deploy StratoProbe data collector

Once the Assessment has been created in the StratoZone portal, the customer installs the collector and begins the discovery process within their current datacenter (or cloud) infrastructure.

In this section, you will configure the collector to understand what's involved in this process. You should be able to describe the collector's high level requirements and configuration steps such as:

  • Line-of-sight connection requirements
  • Scanning an IP range
  • Connection methods (WMI, SSH)
  • Credential requirements
  1. Double-Click on the setup.exe file.

  2. Click Yes when prompted to confirm permitting changes to the system.

  3. In the Microsoft Visual C++ setup window, click OK.

  4. Accept the License Agreement and click Next.

  5. In the Information window, click Next.

  6. In the Select Destination Location window, accept the defaults and click Next.

  7. In the Select Additional Tasks window, click Next and then click Install.

This will take a few minutes. Let the installation complete. While you're waiting, check the email that you used earlier to see an alert from StratoProbe Collector.

  1. Once the installation is complete click Finish.

Click on the Windows Start button and launch StratoProbe.

  1. When the StratoProbe Data Collector opens, click Start Activation button.

  2. Click Run Check link to verify installation completed successfully.

After verification completes and all checks pass collector can be activated.

  1. Click Continue.
Note: In an event you encounter connectivity issues error (see below), uninstall StratoProbe and install it again.

The message 'Connetction to Windows services failed' in the Connectivity check section

  1. Enter the Temporary Access Code and click the Authorize button.

The temporary access code highlighted in the Authorize collector section

Hint: To find the Temporary Access Code again, follow the steps below:

  • Click Assessments tab > Lab-Assessment1 > Edit Data Collector icon. The Edit Data Collector icon highlighted on the UI

  • Click the Key icon to obtain the Temporary Access Code. The Generate Access Code icon highlighted on the UI

  • Enter the Temporary Access Code and click the Authorize button. The temporary access code displayed in the Authorize collection section Once activation completes, the StratoProbe Data Collector will open.

  • Click Add Credentials button in the upper left menu.

Multiple credentials can be stored within StratoProbe to allow the collector to access systems belonging to different Active Directory domains, or having local accounts, or SSH keys.

  1. Choose OS as the scanning method and click Configure.

Choose scan method dialog box highlighting the OS Scan opton and the Configure button

  • Use the following values to set up a credential group:

Credential Name

Lab

Credential Type

Username and Password

Username

stratozone

Password

$tr@t0z0n3

Group Scheduling

Accept Defaults

  • Click Add Credential button.
  1. From the Add Assets dropdown, click Machine and select Scan IP address ranges from Machine sub-menu. IP address range scan allows for discovery of assets across the network.

The Scan IP address ranges highlighted on the Machine submenu on the UI

  1. Agree to the Terms & Conditions by checking the box and clicking Continue.
Note: Make a note of the Internal IP address configured for the lab VM Instances (e.g. 10.128.0.2). You will use the first three octets in the bulk scan.

The highlighted Internal IP column as well as the IP addresses for the three VM instances displays on the UI

  1. From the Add IP Address Ranges dropdown select Enter ranges.

The Enter ranges option displayed on the Add IP Address Ranges dropdown menu

  1. For the beginning IP address, use the first three octets plus .1 (10.128.0.1 in this example).

  2. For the ending IP address, use the first three octets plus .8 (10.128.0.8 in this example).

  3. Click the Start IP scan button.

  4. On the Start to scan IP address range popup, click Start Scan button.

The Start Scan button selected in the Start to scan IP address range? dialog box

  1. Click on the arrow button to go back to the dashboard.
Note: It may take up to 2 minutes for the scan to start and complete.

Click Check my progress to verify the objective.

Verify that the Collector is activated and the IP scanner is properly configured.

Task 4. Start database collection

Note: StratoProbe can collect data at-scale (many concurrent databases) from MS SQL Server, MySql, and Postgres. This additional level of scanning allows for granular analysis of configurations and drives target modernization insights.

To begin, create credentials for every database type.

  1. Click Add Credentials button.

  2. From the popup select Database Scan and click Configure.

  3. Use the following values for first set of credentials

Credential Name

lab-mysql

Database Type

MySQL

Username

collectionuser

Password

$tr@t0z0n3

  1. Click Add Credential.

  2. Repeat the steps above with following values for PostgreSQL:

Credential Name

lab-postgresql

Database Type

PostgreSQL

Username

dbuser

Password

$tr@t0z0n3

  1. Repeat the steps above with following values for Microsoft SQL Server:

Credential Name

lab-mssql

Database Type

SQL Server

Username

dbuser

Password

$tr@t0z0n3

Use Windows Authentication

False (default)

Once all database credentials are saved you can proceed to adding database resources.

  1. From the top menu click Add Assets, click Database and select Enter connection strings

  2. Enter the following values to complete connection configuration for MySQL database and click Add Asset:

Name of database resource

Northwind

OS machine resource

from dropdown select vm starting with lab-mysql01.*

Credential Name

lab-mysql

Host

10.128.0.2

Port number

3306
  1. Enter the following values to complete connection configuration for Microsoft SQL database and click Add Asset:

Name of database resource

AdventureWorks

OS machine resource

from dropdown select vm starting with lab-winvm01.*

Credential Name

lab-mssql

Host

10.128.0.4

Port number

1433

For the remaining database type you will import the settings from provided csv file.

  1. In the windows-vm, Open Chrome, then go to following URLs:
http://storage.googleapis.com/spls/gsp804/postgresql_import.csv
  1. Download the file.

  2. From the top menu click Add Assets, click Database and select Upload CSV of connection strings

  3. From the credential dropdown select lab-postgresql

  4. Click Browse in step 2 and select the postgresql_import.csv file from the location it was downloaded to and click Save.

Verify status of all resources

Click Resources tab on the StratoProbe home screen and verify Scan Status shows green check box next to all resources. If there are any errors, verify credentials used, delete resource and recreate it. The Resources tabbed page displaying the list of respurces alongside thei scan status, all of which show Scheduled to collect

Note: Verification may take up to 20 minutes. If you receive an indication that a step has not been completed, you can proceed with the lab and return here to retry the verification. Verify database collection is configured and data is transmitted to StratoZone portal.

Task 5. Start new assessment (manual)

In a scenario where a customer is unable to scan an environment, uploading data manually is an effective alternative to conduct an assessment with a quick turnaround time to results.

Manual imports allow for pre-formatted data to be sourced from customer’s CMDB, monitoring, management systems (VMware report and RVtools are also common sources).

Data can also be imported from AWS and Azure clouds, using provided export scripts that collect information directly from the cloud management interfaces. In this example, you will import AWS sourced data.

Note: Imported data does not contain process level information or network relationship, in contrast to the automatic discovery option above. Note: You may need to log back into the StratoZone portal.

To begin a manual-load assessment, create a new assessment, as previously outlined for the automatic scan.

  • Click on the Assessments tab, then click the Create New Assessment Group button in the top menu.

Establish an assessment source

  1. Use the following values for this lab and click Save when done:

Assessment Type

Manual Asset Entry

Assessment Group Name

Lab-Assessment2

Customer Sponsor Name & Email

Enter your name and personal email address

  1. When prompted, use the following value for manual inventory assessment:

Assessment Name

AWS Manual Import

Upload Type

AWS/Azure Scripted Discovery

  1. Click Save & Next button to go to the Upload tab.

StratoZone provides script for both Azure and AWS to collect data on existing deployments and save it to compressed file ready for import. Scripts capture instance state as well as up to 30 days performance data. In this lab you will use a pre-existing zip file.

  1. In the windows-vm, Open Chrome, then go to following URL:
http://storage.googleapis.com/spls/gsp804/aws-import-files-lab.zip

and download the file. This is an output file generated from AWS account.

  1. Click the UPLOAD button next to Data file.

The Upload button highlighted on the UI

  1. From the popup, click the Choose File button and browse to Downloads and choose the aws-import-files.zip file, then click Open.

  2. From the available options, select Use only provided IP addresses specified in import file, then click the Upload button.

The Import Inventory From a File window

File should be imported successfully into the staging area for review. Check the status displayed next to the file. Initially file status will be Uploaded, Processing. Once completed, you will receive notification on the screen.

After 2 minutes, if the status does not change click the refresh button.

The Refreh button alongside the Upload File section is highlighted on the UI

  1. Once the status changes to Processed, click Save & Next button to go to the next tab.

Servers should be imported successfully into the staging area for review. If the import was successful there will be a ✓ icon in the status column. If there are problems with a server from the import, there will be an X icon in the status column for the affected row.

The Status column displaying checkmark icons in each row

  1. Click the Complete import button at the bottom of the page.
Note: You may need to enlarge the window to see the button.

Once processing completes, the "Add Inventory" button will be disabled and notification will popup that import completed successfully.

The popup notification: Manually uploaded assets have been added to inventory

Verify assets were loaded (inventory check)

  1. Select the Results tab in the top menu then click on Inventory link in the left menu.

The Result tab highlighted on the UI

  1. From Filters menu expand Assessment and click "AWS Manual Import".

The AWS Manual Import option hihglighted on the Filters menu

The system should display 170 records.

Click Check my progress to verify the objective.

Verify Assets were manually loaded (Inventory Check).

Task 6. Generate database pricing report

  1. Click on the Results tab, then click the Databases link in the left menu.

  2. Review data available for the collected databases. Use the tabs to switch between databases.

The Overview, PostgreSQL, SQL Server, Oracle, and My SQL tabs are highlighted on the Databases page

  1. Click Download Pricing Report link in the Estimated cloud spend section

The Download Pricing Report link highlighted in the Estimated cloud spend section

  1. Use the following values for the report:

Report Name

mysql-pricing-report

Report Format

Google Sheets

Select Filters

MySQL

Commit Term 1

On-Demand

Commit Term 2

1 Year Commit

Commit Term 3

3 Year Commit

  1. Click Create Report button.

  2. Open report and view available data.

Verify Database Pricing Report has been generated.

Task 7. Review database level data

  1. Click on the Results tab, then click the Database Inventory link in the left menu.

The Database Inventory link highlighted on the left menu on the UI

A list of collected databases should be visible along with Cloud Fit score.

  1. Click on AdventureWorks database hosted on LAB-WINVM01 server.

  2. View data for other collected databases.

  3. Review the presented details paying attention especially to the list of Cloud fit factors section.

Verify Database info has been reviewed.

Task 8. Generate summary report

This time around, the report will be generated differently based on the created groups. It will also display financials based on applied optimization settings. Overall costs and savings will reflect these optimizations.

  1. Click the Reports tab.

  2. Click the Generate Report on the Assessment Summary and Proposal tile.

  3. When prompted, use the following settings:

Report Name

AWS Summary Report

Report Format

Google Slides

Filters

AWS Manual Import

Vendor Catalog 1

Private Data Center

Vendor Catalog 2

Google Cloud On-Demand

Vendor Catalog 3

Google Cloud 1 Year Commit

Vendor Catalog 4

Google Cloud 3 Year Commit

The Assessment Summary and Proposal window displaying report details

  1. Click Create Report.

  2. Click the Google Slides icon to view the report in Google Slides.

Note: You may have to login with your lab credentials to view the report.

Click Check my progress to verify the objective.

Verify that the second set of reports were generated.

Task 9. Generate detailed pricing report

Hint: Financial comparisons that are visible in this report can also be generated live in the Pricing tab to evaluate any number of configurations or procurement scenarios.

  1. Click the Reports tab.
  2. Click the Generate Report on the Detailed Pricing tile.

The Pricing report provides a detailed breakdown of pricing that was applied to each individually evaluated workload. It gives additional visibility into the choices that are recommended. It also identifies specific VM and storage selections.

  1. When prompted, use the following settings:

Report Name

StratoMatch Report

Report Format

Google Sheets

Build Groups

AWS Manual Import

Vendor Catalog 1

Private Data Center

Vendor Catalog 2

Google Cloud On-Demand

Vendor Catalog 3

Google Cloud 1 Year Commit

Vendor Catalog 4

Google Cloud 3 Year Commit

The Pricing window displaying the updated settings

  1. Click Create Report button.

  2. Click the Google Sheets icon to view the report in Google Sheets Google Sheets icon.

Note: You may have to login with your lab credentials to view the report.

Click Check my progress to verify the objective.

Verify detailed pricing report has been created.

Congratulations!

You've completed an assessment for a sample customer, and scanned an environment within Google Cloud in the same way you would discover physical or virtual servers on a customer's network within their datacenter(s). You've also loaded an inventory list of assets to be analyzed without the scan, and navigated through some of the key areas of delivery such as forming groups, optimizing around utilization of assets, and generating reports (inventory, TCO/ROI).

While there is significantly more functionality in the StratoZone platform that ultimately feeds into a comprehensive cloud transformation plan, this lab serves as an introduction to approaching customer's transformation goals in a prescriptive, pragmatic, and measurable way and helps you establish a trusted advisory role by quickly providing this valuable information.

Finish your quest

This self-paced lab is part of the VM Migration quest. A quest is a series of related labs that form a learning path. Completing this quest earns you a badge to recognize your achievement. You can make your badge or badges public and link to them in your online resume or social media account. Enroll in this quest and get immediate completion credit. Refer to the Google Cloud Skills Boost catalog for all available quests.

Take your next lab

Continue your Quest with VM Migration: Modernize an Application Stack with GKE and MySQL, or check out these suggestions:

Next steps / Learn more

https://gogcp.stratozone.com/

StratoProbe User Guide

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 September 29, 2023

Lab Last Tested October 6, 2023

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.