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

Cloud Computing File Main

Uploaded by

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

Cloud Computing File Main

Uploaded by

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

SAMRAT ASHOK TECHNOLOGICAL INSTITUTE

Computer Science & Engineering Department

Session – 2023-24

Practical File

Cloud Computing
(ICB-2163)

Submitted to : Submitted By :
Dr. Divya Rishi Sahu Sakshi Verma
0108IC211047
VIth Semester
INDEX

S. No. Assignment Title Page No. Sign.

1. To understand the core concept of 3


cloud computing, practically
demonstrate the different services of
the cloud including SaaS, PaaS and
IaaS.
2. Implement Software Virtualization 6
using Hosted Hypervisor
3. How to develop & deploy our own 9
application on Cloud using
Salesforce.com
AIM & Objective: To understand the core concept of cloud computing,
practically demonstrate the different services of the cloud including SaaS, PaaS
and IaaS.
1. SaaS (Software as a Service)
SaaS is also known as "on-demand software". It is a software in which the
applications are hosted by a cloud service provider. Users can access these applications
with the help of internet connection and web browser.
E.g. Google Apps, BigCommerce, Salesforce, Dropbox, ZenDesk, Cisco WebEx,
ZenDesk, Slack, and GoToMeeting

In this we have used google docs which enable word processor over our chrome browser
demonstrating the concept of Software as Service

2. PaaS (Platform as a Service)


PaaS cloud computing platform is created for the programmer to develop, test,
run, and manage the applications.
E.g. AWS Elastic Beanstalk, Windows Azure, Heroku, Force.com, Google App
Engine, Apache Stratos, Magento Commerce Cloud, and OpenShift.
In this we have used online c compiler by programiz which demonstrate the concept of
platform as service

3. IaaS (Infrastructure as a Service)


IaaS is also known as Hardware as a Service (HaaS). It is a computing
infrastructure managed over the internet. The main advantage of using IaaS is that it
helps users to avoid the cost and complexity of purchasing and managing the physical
servers.
E.g. DigitalOcean, Linode, Amazon Web Services (AWS), Microsoft Azure, Google
Compute Engine (GCE), Rackspace, and Cisco Metacloud

In this we have used firebase by google which has facilities like data servers, computation hardware,
NOSql servers, etc.
ASSIGNMENT – 2

Implement Software Virtualization using a Hosted Hypervisor.

To implement software virtualization using VMware for running Kali Linux, I would follow
these steps in detail:

1. Choose and Install VMware

First, I would choose VMware Workstation Player, a free hosted hypervisor suitable for
personal use. Here's how I would proceed:

• Download VMware Workstation Player: I would visit the VMware website and
download the installer for my operating system.
• Install VMware Workstation Player: After downloading, I would run the installer
and follow the on-screen instructions to complete the installation. On Windows, this
typically involves agreeing to the license terms and selecting the installation location.
On Linux, I might need to make the installer executable and run it with administrative
privileges:

bash
• chmod +x VMware-Player-xx.x.x-xxxxxxx.x86_64.bundle
• sudo ./VMware-Player-xx.x.x-xxxxxxx.x86_64.bundle
2. Prepare the Virtual Machine
a. Create a New Virtual Machine

• Launch VMware Workstation Player: After installation, I would open VMware


Workstation Player.
• Create a New VM: Click on "Create a New Virtual Machine".
o Select Installer Disc Image (ISO): I would choose the option to install from
an ISO image and browse to the Kali Linux ISO file, which I can download
from the Kali Linux official website.
o Configure VM Details: I would then proceed to name the virtual machine
(e.g., "Kali Linux") and select the location to store the VM files.

b. Allocate Resources

• Memory: I would allocate a sufficient amount of RAM to the VM, typically at least
2GB, though more may be needed for intensive tasks.
• Hard Disk: Create a new virtual hard disk with a recommended size of at least 20GB,
ensuring it’s large enough for future updates and additional tools.
3. Install Kali Linux on the VM
a. Start the VM

• Power On the VM: I would start the VM, which would boot from the attached Kali
Linux ISO.

b. Follow Installation Process

• Install Kali Linux: Follow the graphical installation process. This includes selecting
the language, region, and keyboard layout, configuring the network, setting up the
user account, and partitioning the disk.

4. Post-Installation Configuration
a. Install VMware Tools

• VMware Tools Installation: After installing Kali Linux, I would install VMware
Tools to enhance VM performance and enable additional features like shared folders
and better display resolution.
o I would go to VM > Install VMware Tools in the VMware menu.
o Inside Kali Linux, mount the VMware Tools virtual CD, extract the installer,
and run it:

o sudo mount /dev/cdrom /mnt


o tar -zxpf /mnt/VMwareTools-*.tar.gz -C /tmp
o cd /tmp/vmware-tools-distrib
o sudo ./vmware-install.pl
o

5. Configure and Manage the Virtual Machine


a. Configure Shared Folders

• Enable Shared Folders: In the VM settings, I would go to Options > Shared Folders
and add a new shared folder, allowing for seamless file sharing between the host and
guest OS.

b. Network Configuration

• Network Adapter Settings: I would configure the network adapter to use Bridged or
NAT mode depending on my network requirements. Bridged mode allows the VM to
appear as a separate device on the network, while NAT mode shares the host's IP
address.

c. Snapshot Management

• Taking Snapshots: Regularly taking snapshots of the VM is essential. This allows me


to revert to a previous state if needed, providing a safeguard before making major
changes or updates.
6. Maintenance and Updates
a. Keep Software Updated

• Update VMware and Kali Linux: Regular updates are crucial. I would keep
VMware Workstation Player updated and also ensure that Kali Linux receives regular
updates by running:

sudo apt update && sudo apt upgrade -y


7. Backup and Recovery
a. Backup VM Files

• Regular Backups: I would back up the VM’s virtual disk and configuration files to
an external storage or cloud service to prevent data loss. This can be done by copying
the VM directory when the VM is powered off.

8. Advanced Configuration
a. Resource Management

• Adjust Resources as Needed: If the VM needs more performance, I would adjust the
allocated CPU cores, RAM, and disk space through the VM settings in VMware
Workstation Player.

b. Automation and Scripting

• Use VMware Command Line Tools: For advanced management, I can use
VMware’s command-line tools to automate tasks, such as starting and stopping VMs:

bash
• vmrun start "path/to/Kali Linux.vmx"
• vmrun stop "path/to/Kali Linux.vmx"

By following these detailed steps, I can effectively implement software virtualization using
VMware to run a fully functional Kali Linux virtual machine, benefiting from enhanced
security, performance, and management capabilities.
Fig4: Implementing Nmap on Kali Linux on VMware
ASSIGNMENT – 3

How to develop & deploy our own application on Cloud using


Salesforce.com
Developing and deploying your own application on Salesforce.com involves several steps,
including setting up your Salesforce environment, developing the application, and finally
deploying it. Here's a step-by-step guide:

1. Set Up Your Salesforce Environment


a. Sign Up for a Salesforce Developer Account

• Go to Salesforce Developer and sign up for a free developer account.


• This account provides access to a fully-featured environment for development.

b. Install Salesforce CLI

• Download and install the Salesforce Command Line Interface (CLI) from Salesforce
CLI Documentation.

c. Set Up Salesforce DX Project

• Create a new Salesforce DX project using the CLI:

bash
• sfdx force:project:create -n MyProject
• cd MyProject
2. Develop Your Application
a. Create Scratch Org

• Scratch Orgs are temporary Salesforce environments. Create one for development:

bash
sfdx force:org:create -s -f config/project-scratch-def.json -a MyScratchOrg
Open the Scratch Org in your browser:
bash
• sfdx force:org:open
b. Develop Components

• Use Salesforce's Lightning Component Framework to build your app's user interface.
• Develop Apex classes for server-side logic.
• Use the Salesforce Object Manager to define custom objects and fields as needed.
c. Deploy Components to Scratch Org

• Deploy your components to the Scratch Org for testing:

bash
• sfdx force:source:push
d. Test Your Application

• Use the Salesforce UI to manually test your application.


• Write and run automated tests for your Apex code.

3. Deploy Your Application to Production


a. Authenticate to Your Production Org

• Authenticate to your production Salesforce org:

bash
• sfdx auth:web:login --setalias MyProdOrg
b. Convert Source to Metadata API Format

• Convert your source to the metadata API format:

bash
• sfdx force:source:convert -d mdapi_output_dir -r force-app
c. Deploy to Production Org

• Deploy the converted source to your production org:

bash
• sfdx force:mdapi:deploy -d mdapi_output_dir -u MyProdOrg -w 10
4. Post-Deployment Steps
a. Data Migration

• If necessary, migrate data using Data Loader or other data migration tools provided by
Salesforce.

b. Configure Application Settings

• Set up any application settings, permissions, and profiles required for your
application.

c. Monitor and Maintain

• Monitor the application performance and logs.


• Maintain the application by periodically updating it and fixing any issues that arise.
Fig 5: Creating a Textile Based Industry CRM on Salesforce.com

• References:
Intellipat Youtube Channel
Salesforce.com Orignal Documentation
GAE Orignal Documentation
VMware Orignal Documentation
Get Kali, Kali Linux

You might also like