0% found this document useful (0 votes)
11 views11 pages

Sample of CM

The document provides an introduction to cloud computing, detailing its services and models such as IaaS, PaaS, and SaaS. It also explains how to use Google Drive for creating spreadsheets and notes, and outlines the steps for installing VMware Workstation, setting up Git, and deploying web applications on AWS and Heroku. Overall, it serves as a comprehensive guide for cloud computing concepts and practical applications.

Uploaded by

sana986781
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views11 pages

Sample of CM

The document provides an introduction to cloud computing, detailing its services and models such as IaaS, PaaS, and SaaS. It also explains how to use Google Drive for creating spreadsheets and notes, and outlines the steps for installing VMware Workstation, setting up Git, and deploying web applications on AWS and Heroku. Overall, it serves as a comprehensive guide for cloud computing concepts and practical applications.

Uploaded by

sana986781
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Lab 01

Introduction to Cloud Computing

Introduction to Cloud Computing:


Cloud computing is the delivery of computing services, such as storage, processing power, databases,
software, and networking, over the internet ("the cloud") instead of using local servers or personal
devices. These services are provided by cloud service providers like Amazon Web Services (AWS),
Microsoft Azure, and Google Cloud.

Cloud computing offers various models, such as:

 Infrastructure as a Service (IaaS): Provides virtualized computing resources like virtual


machines.
 Platform as a Service (PaaS): Offers a platform to develop, run, and manage
applications without dealing with infrastructure.
 Software as a Service (SaaS): Provides software applications over the internet, such as
email or productivity tools.

-------------------------------+ | | +------------------------------------+ | Virtualization Layer | |


(Hypervisors, Containers) | +------------------------------------+ | | +------------------------------------+ |
Backend Services | | (Compute, Storage, Databases, | | Networking, etc.) |
+------------------------------------+

Q2. Working of Google Drive to make spreadsheet and notes


Google Drive is a cloud-based file storage and synchronization service developed by Google. It
allows users to store files in the cloud, access them from any device with an internet connection,
and collaborate with others in real-time. Within Google Drive, there are several applications
available for creating and editing documents, spreadsheets, presentations, and more. Two of the
most commonly used applications for creating spreadsheets and notes are Google Sheets and
Google Keep, respectively. Here's how they work:

1. Google Sheets (for creating spreadsheets):


 Accessing Google Sheets: To create a new spreadsheet, users can go to Google Drive, click on
the "+ New" button, and select "Google Sheets" from the dropdown menu. Alternatively, users
can directly access Google Sheets by visiting sheets.google.com.
 Creating and Editing Spreadsheets: Once inside Google Sheets, users can create new
spreadsheets or open existing ones. They can add and format text, numbers, and formulas to
organize and analyze data. Multiple users can collaborate on the same spreadsheet
simultaneously, seeing each other's changes in real-time.
 Sharing Spreadsheets: Users can share their spreadsheets with others by clicking on the "Share"
button and entering the email addresses of the collaborators. They can specify whether
collaborators can view, comment on, or edit the spreadsheet. Collaborators can access the
spreadsheet via a web browser or the Google Sheets mobile app.
 Auto-saving and Version History: Google Sheets automatically saves changes as users work,
ensuring that their data is always up to date. Users can also view and restore previous versions of
the spreadsheet using the "Version history" feature.
2. Google Keep (for taking notes):
 Accessing Google Keep: To create new notes, users can go to Google Drive, click on the "+
New" button, and select "Google Keep" from the dropdown menu. Alternatively, users can
directly access Google Keep by visiting keep.google.com.
 Creating and Organizing Notes: Within Google Keep, users can create new notes, checklists,
voice memos, and reminders. They can add text, images, and links to their notes, as well as
color-code them and add labels for organization.
 Syncing Across Devices: Notes created in Google Keep are automatically synced across all
devices connected to the user's Google account. Users can access their notes from any web
browser or the Google Keep mobile app, ensuring that their information is always available
when they need it.
 Collaboration: While Google Keep is primarily designed for personal note-taking, users can still
collaborate by sharing individual notes or entire collections (called "labels") with others.
Collaborators can view and edit shared notes, making it easy to collaborate on tasks or projects.
 Integration with Google Workspace: Google Keep seamlessly integrates with other Google
Workspace apps, such as Google Docs, Google Sheets, and Google Calendar. Users can quickly
add notes to their documents, set reminders based on their notes, and more.

Overall, Google Drive, Google Sheets, and Google Keep provide powerful tools for creating,
organizing, and collaborating on spreadsheets and notes in the cloud, making it easy for
individuals and teams to work together from anywhere.

Q3: Write down steps to install VM ware workstation.

Installing VMware Workstation involves a few straightforward steps. Here's a general guide:

1. Download VMware Workstation:

 Visit the official VMware website (https://www.vmware.com/products/workstation-pro.html).


 Navigate to the VMware Workstation product page.
 Click on the "Download Now" button to start the download.
2. Run the Installer:

 Once the download is complete, navigate to the location where the installer file was saved.
 Double-click on the installer file to run it. You may need to grant administrative privileges to the
installer.

3. Accept License Agreement:

 When the installer launches, you'll be presented with the VMware Workstation Setup Wizard.
 Read and accept the End User License Agreement (EULA) to proceed with the installation.

4. Choose Installation Options:

 In the Setup Wizard, you'll be prompted to choose the installation options. You can typically
leave the default options selected unless you have specific preferences.
 You may choose to customize the installation directory, shortcut creation, and additional features
if desired.

5. Enter License Key (Optional):

 If you have a license key for VMware Workstation, you can enter it during the installation
process. Otherwise, you can choose to use the product in trial mode.

6. Install VMware Tools (Optional):

 During the installation process, you may be prompted to install VMware Tools, which are
additional drivers and utilities that enhance the performance and usability of virtual machines
created with VMware Workstation.
 It's recommended to install VMware Tools for optimal performance and functionality.

7. Complete Installation:

 Once you've selected your installation options, click on the "Install" button to begin the
installation process.
 The installer will copy files and configure the necessary components. This may take a few
minutes to complete.

8. Finish Installation:

 Once the installation is complete, you'll be prompted to restart your computer to finalize the
installation process.
 After restarting your computer, VMware Workstation will be installed and ready to use.
9. Launch VMware Workstation:

 After restarting your computer, you can launch VMware Workstation from the Start menu
(Windows) or the Applications folder (macOS).
 Upon launching VMware Workstation for the first time, you may need to configure preferences
such as default virtual machine settings, network preferences, and more.

That's it! You've successfully installed VMware Workstation on your computer. You can now
start creating and managing virtual machines for various purposes, such as software testing,
development, and experimentation.

Q4. Setup Git in Machine and Upload a simple web application in your Git
repository.
Setting up Git on your machine and uploading a simple web application to a Git repository
involves several steps. Here's a general guide:

1. Install Git:

 Windows: Download the Git installer from the official Git website (https://git-scm.com/) and
follow the installation instructions.
 macOS: Git usually comes pre-installed on macOS. You can check if it's installed by opening
the Terminal and typing git --version. If Git is not installed, you'll be prompted to install the
Xcode Command Line Tools, which include Git.

 Linux (Ubuntu): Use the package manager to install Git. Open the Terminal and run:
sql

Copy code

sudo apt update sudo apt install git

2. Configure Git:

 Open a terminal or command prompt.


 Set your name and email address using the following commands (replace "Your Name" and
"[email protected]" with your actual name and email):
arduino

Copy code

git config --global user.name "Your Name" git config --global user.email
"[email protected]"

3. Create a Git Repository:

 Create a directory for your web application and navigate into it using the terminal or command
prompt:

perl

Copy code

mkdir my-web-app cd my-web-app

 Initialize a new Git repository:

csharp

Copy code

git init

4. Add Your Web Application Files:


 Copy your web application files into the directory you created (my-web-app).
 Use the following command to add all files to the staging area:

csharp

Copy code

git add .

5. Commit Your Changes:

 Commit your changes with a descriptive commit message:

sql

Copy code

git commit -m "Initial commit: Add simple web application files"

6. Create a Remote Repository (on GitHub):

 Go to https://github.com and sign in (or create an account if you don't have one).
 Click on the "+" icon in the top-right corner and select "New repository".
 Follow the instructions to create a new repository. Note the repository URL.

7. Connect Local Repository to Remote Repository:

 Link your local Git repository to the remote repository you created on GitHub:

csharp

Copy code

git remote add origin <repository_url>

 Replace <repository_url> with the URL of your remote repository.

8. Push Your Changes to the Remote Repository:

 Push your committed changes to the remote repository:

perl

Copy code
git push -u origin master

 You may be prompted to enter your GitHub username and password.

9. Verify on GitHub:

 Go to your repository on GitHub and verify that your web application files have been uploaded
successfully.

That's it! You've now set up Git on your machine, initialized a Git repository, added your web
application files, and uploaded them to a remote repository on GitHub.

Q5. Deploy your web application project using Git repository on AWS with
service like (AWS Amplify).
Deploying a web application project using a Git repository on AWS can be easily done using
services like AWS Amplify. Here's a step-by-step guide on how to deploy your web application
project on AWS using AWS Amplify:

1. Sign in to AWS Console:

 Go to the AWS Management Console (https://aws.amazon.com/console/) and sign in to your


AWS account.

2. Navigate to AWS Amplify:


 Once logged in, navigate to the "Services" dropdown menu at the top-left corner of the screen
and select "Amplify" under the "Developer Tools" section.

3. Create a New App:

 In the AWS Amplify console, click on the "Create app" button.


 Choose the "GitHub" option as your source provider.

4. Connect to GitHub:

 Follow the prompts to connect your GitHub account to AWS Amplify. You'll need to authorize
AWS Amplify to access your GitHub repositories.

5. Select Repository and Branch:

 After connecting to GitHub, select the repository where your web application project is hosted.
 Choose the branch you want to deploy (e.g., master branch).

6. Configure Build Settings:

 Configure build settings such as the build command and output directory based on your web
application project's requirements. This step may vary depending on the framework or
technology stack used in your project.

7. Review and Deploy:

 Review the configuration settings to ensure they are correct.


 Click on the "Save and deploy" button to start the deployment process.

8. Monitor Deployment Progress:

 AWS Amplify will automatically build and deploy your web application based on the settings
provided.
 You can monitor the deployment progress in the AWS Amplify console.

9. Access Your Deployed Web Application:

 Once the deployment is complete, AWS Amplify will provide you with a unique URL where
your web application is hosted.
 You can access your deployed web application using this URL.

10. Additional Configuration (Optional):


 AWS Amplify offers various features for continuous deployment, custom domains, environment
variables, authentication, and more. You can further configure your deployment based on your
project requirements.

That's it! You've now successfully deployed your web application project using a Git repository
on AWS Amplify. Your application is now live and accessible via the provided URL.

Q6. Deploy your web application project using Git repository on Heroku.
Deploying a web application project using a Git repository on Heroku is a straightforward
process. Here's a step-by-step guide on how to deploy your web application project on Heroku:

1. Sign up for Heroku:

 If you haven't already, sign up for a Heroku account at https://signup.heroku.com/ or log in if


you have an existing account.

2. Install the Heroku CLI:


 Download and install the Heroku Command Line Interface (CLI) from
https://devcenter.heroku.com/articles/heroku-cli.

3. Log in to Heroku:

 Open a terminal or command prompt and log in to Heroku using the CLI:

Copy code

heroku login

4. Navigate to Your Web Application Project:

 Open a terminal or command prompt and navigate to the directory of your web application
project.

5. Initialize Git Repository (if not already initialized):

 If your project directory doesn't already contain a Git repository, initialize one:

csharp

Copy code

git init

6. Create a Heroku App:

 Create a new Heroku app using the Heroku CLI:

lua

Copy code

heroku create

7. Deploy Your Application:

 Deploy your web application to Heroku using Git. If you haven't committed your changes to Git,
do so first:

sql

Copy code
git add . git commit -m "Initial commit"

 Then, deploy your application to Heroku:

perl

Copy code

git push heroku master

8. Verify Deployment:

 After the deployment is complete, Heroku will provide you with a URL where your web
application is hosted.
 You can open this URL in a web browser to verify that your application is deployed
successfully.

9. Additional Configuration (Optional):

 Heroku offers various features such as custom domains, environment variables, add-ons, and
more. You can further configure your deployment based on your project requirements using the
Heroku Dashboard or CLI.

10. Manage Your App:

 You can manage your Heroku app, view logs, scale dynos, configure settings, and more using
the Heroku Dashboard or CLI.

That's it! You've now successfully deployed your web application project using a Git repository
on Heroku. Your application is live and accessible via the provided URL.

You might also like