In this lab, you use Google Cloud Marketplace to quickly and easily deploy a LAMP stack on a Compute Engine instance. The Bitnami LAMP Stack provides a complete web development environment for Linux that can be launched in one click.
Component
Role
Linux
Operating system
Apache HTTP Server
Web server
MySQL
Relational database
PHP
Web application framework
phpMyAdmin
PHP administration tool
You can learn more about the Bitnami LAMP stack from the Bitnami Documentation article Google Cloud Platform.
Objectives
In this lab, you learn how to launch a solution using Cloud Marketplace.
Task 1. Sign in to the Google Cloud console
For each lab, you get a new Google Cloud project and set of resources for a fixed time at no cost.
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
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.
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.
Click Next.
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.
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.
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, or type the service or product name in the Search field.
Task 2. Use Cloud Marketplace to deploy a LAMP stack
In the Google Cloud console, in the Navigation menu (), click Marketplace.
In the search bar, type LAMP and then press ENTER.
In the search results, click Bitnami package for LAMP.
If you choose another LAMP stack, such as the Google Click to Deploy offering, the lab instructions will not work as expected.
On the LAMP page, click GET STARTED.
On the Agreements page, check the box for Terms and agreements, and click AGREE.
On the Successfully agreed to terms pop up, click DEPLOY.
If prompted, click on Enable for the Compute Engine API and the Infrastructure Manager API.
For Zone, select the deployment zone to .
For Machine Type, select E2 as the Series and e2-medium as the Machine Type.
Leave the remaining settings as their defaults.
Click Deploy.
If a Welcome to Deployment Manager message appears, click Close to dismiss it.
Note: Warnings may appear as the deployment is happening. You can disregard these for this lab.
The status of the deployment appears in the console window: lampstack-1 is being deployed. When the deployment of the infrastructure is complete, the status changes to lampstack-1 has been deployed.
After the software is installed, a summary of the details for the instance, including the site address, is displayed.
Click Check my progress to verify the objective.
Use Cloud Marketplace to deploy a LAMP stack
Task 3. Verify your deployment
When the deployment is complete, click lampstack-1 > Details.
Click the Site Url link. (If the website is not responding, wait 30 seconds and try again.) If you see a redirection notice, click on that link to view your new site. A new browser tab displays a congratulations message. This page confirms that, as part of the LAMP stack, the Apache HTTP Server is running.
Note: If you can't see the web page in the browser on your corporate laptop:
If possible, exit any corporate VPN/network and try again.
Enter the IP address on another device, such as a tablet or even a phone.
Congratulations!
In this lab, you deployed a LAMP stack to a Compute Engine instance.
End your lab
When you have completed your lab, click End Lab. Google Cloud Skills Boost removes the resources you’ve used and cleans the account for you.
You will be given an opportunity to rate the lab experience. Select the applicable number of stars, type a comment, and then click Submit.
The number of stars indicates the following:
1 star = Very dissatisfied
2 stars = Dissatisfied
3 stars = Neutral
4 stars = Satisfied
5 stars = Very satisfied
You can close the dialog box if you don't want to provide feedback.
For feedback, suggestions, or corrections, please use the Support tab.
Copyright 2022 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.
Les ateliers créent un projet Google Cloud et des ressources pour une durée déterminée.
Les ateliers doivent être effectués dans le délai imparti et ne peuvent pas être mis en pause. Si vous quittez l'atelier, vous devrez le recommencer depuis le début.
En haut à gauche de l'écran, cliquez sur Démarrer l'atelier pour commencer.
Utilisez la navigation privée
Copiez le nom d'utilisateur et le mot de passe fournis pour l'atelier
Cliquez sur Ouvrir la console en navigation privée
Connectez-vous à la console
Connectez-vous à l'aide des identifiants qui vous ont été attribués pour l'atelier. L'utilisation d'autres identifiants peut entraîner des erreurs ou des frais.
Acceptez les conditions d'utilisation et ignorez la page concernant les ressources de récupération des données.
Ne cliquez pas sur Terminer l'atelier, à moins que vous n'ayez terminé l'atelier ou que vous ne vouliez le recommencer, car cela effacera votre travail et supprimera le projet.
Ce contenu n'est pas disponible pour le moment
Nous vous préviendrons par e-mail lorsqu'il sera disponible
Parfait !
Nous vous contacterons par e-mail s'il devient disponible
Un atelier à la fois
Confirmez pour mettre fin à tous les ateliers existants et démarrer celui-ci
Utilisez la navigation privée pour effectuer l'atelier
Ouvrez une fenêtre de navigateur en mode navigation privée pour effectuer cet atelier. Vous éviterez ainsi les conflits entre votre compte personnel et le compte temporaire de participant, qui pourraient entraîner des frais supplémentaires facturés sur votre compte personnel.
In this lab you use Cloud Marketplace to quickly and easily deploy a LAMP stack on a Compute Engine instance. The Bitnami LAMP Stack provides a complete web development environment for Linux that can be launched in one click.
Durée :
0 min de configuration
·
Accessible pendant 25 min
·
Terminé après 25 min