0% found this document useful (0 votes)
26 views4 pages

Q

Uploaded by

Maaz Sayyed
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)
26 views4 pages

Q

Uploaded by

Maaz Sayyed
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/ 4

Q: 1.

Find a procedure to launch virtual machine using


Aws/Azure/GCP. 2. Find a procedure to transfer the files
from one virtual machine to another virtual machine

A. AWS (Amazon Web Services):

Step 1: Sign in to AWS Console

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


account.

Step 2: Navigate to EC2 Dashboard

From the AWS Management Console, navigate to the EC2 (Elastic Compute Cloud) Dashboard.

Step 3: Launch Instance

Click on the "Launch Instance" button to start the instance creation wizard.

Step 4: Choose an Amazon Machine Image (AMI)

Select an AMI from the provided list. Choose the operating system and configuration that suits your
requirements.

Step 5: Choose Instance Type

Select the instance type based on your workload requirements (e.g., t2.micro, t3.medium, etc.).

Step 6: Configure Instance Details

Configure instance details such as network settings, subnet, IAM role, and other settings as needed.

Step 7: Add Storage

Specify the storage requirements for your instance. You can add additional volumes if needed.

Step 8: Add Tags (Optional)

Add tags to your instance for better organization and management (e.g., Name, Environment, etc.).

Step 9: Configure Security Group

Configure the security group settings to control inbound and outbound traffic to your instance.

Step 10: Review and Launch

Review your instance configuration and click on the "Launch" button to start the instance.

Step 11: Choose Key Pair

Select an existing key pair or create a new key pair to access your instance securely.

Step 12: Access Your Instance

Once the instance is launched, you can access it using SSH (Linux) or RDP (Windows) protocols.
B. Azure:

Step 1: Sign in to Azure Portal

Go to the Azure Portal (https://portal.azure.com/) and sign in to your Azure account.

Step 2: Create a Virtual Machine

Click on "Create a resource" and search for "Virtual Machine" in the marketplace.

Step 3: Configure Basics

Enter basic details such as VM name, region, operating system, username, and authentication type.

Step 4: Choose a VM Size

Select a VM size based on your workload requirements and pricing considerations.

Step 5: Configure Networking

Configure networking settings such as virtual network, subnet, public IP address, and network
security group.

Step 6: Configure Management

Configure management options such as monitoring, diagnostics, and boot diagnostics.

Step 7: Review + Create

Review your VM configuration and click on the "Create" button to start the deployment process.

Step 8: Access Your VM

Once the VM is deployed, you can access it using SSH (Linux) or RDP (Windows) protocols.
C. GCP (Google Cloud Platform):

Step 1: Sign in to Google Cloud Console

Go to the Google Cloud Console (https://console.cloud.google.com/) and sign in to your Google


Cloud account.

Step 2: Create a Virtual Machine Instance

Navigate to the Compute Engine section and click on "Create Instance" to start the instance creation
wizard.

Step 3: Configure Instance Details

Enter instance details such as name, region, zone, machine type, boot disk type, and image.

Step 4: Configure Firewall

Configure firewall rules to allow inbound and outbound traffic to your instance.

Step 5: Configure Networking

Configure networking settings such as network tags, external IP, and network interfaces.

Step 6: Configure Management

Configure management options such as monitoring, logging, and metadata.

Step 7: Review and Deploy

Review your instance configuration and click on the "Deploy" button to create the VM instance.

Step 8: Access Your VM

Once the VM is deployed, you can access it using SSH (Linux) or RDP (Windows) protocols.
Procedure to Transfer Files from One Virtual Machine to Another Virtual Machine

1. Using SCP (Secure Copy Protocol):


 Open a terminal or command prompt on the source VM.
 Use the SCP command to copy files from the source VM to the destination VM:
o Code: scp /path/to/local/file
username@destinationVM:/path/to/destination/directory
 Enter the password when prompted.

2. Using SFTP (SSH File Transfer Protocol):


 Open an SFTP client (e.g., FileZilla) on the source VM.
 Connect to the destination VM using its IP address, username, and password.
 Navigate to the directory containing the files you want to transfer on the source VM.
 Drag and drop the files to the desired directory on the destination VM.

3. Using Shared Storage:


 If both VMs have access to a shared storage location (e.g., a shared network drive or
cloud storage), simply copy the files to the shared location from the source VM and
access them from the destination VM.

Ensure that proper network connectivity and permissions are configured between the source and
destination VMs to facilitate file transfer.

You might also like