Cloud Computing
Cloud Computing
A] Convert Rupees into Dollar and Dollar into Rupees using Java.
6. Give nameAdd
7. Right click on web service fileTest web service
OUTPUT:
8. Right click on Web pagesnewJSP
OUTPUT:
B] Convert Rupees into Dollar and Dollar into Rupees using .NET Framework.
1. create new projectsearch MVC and select it.
OUTPUT:
PRACTICAL NO – 2
Aim – Create a simple SOAP Service.
7. Now you can the method of Addition will generate automatically. You have to edit it according your
function.
8. Now follow the same steps to create the methods for Subtraction, Multiplication and Division.
4. Right click on project and clean the project and after deploy it.
5. Right click on RESTful web servicesTest Restful web serviceok
OUTPUT:
PRACTICAL NO – 4
Aim – Develop application to consume Google’s search / Google map RESTful Web service.
API’s and services libraryMap JavaScript API and place API Enable
Now select Restrict key and select dropdown and select both checkboxes.
Now click on show key and copy it.
After placing the key Right click on projectcleanbuildRun
OUTPUT:
PRACTICAL NO – 5
Aim – Installation and configuration of virtualization using a KVM.
namespace VinayDownloadImgFromWS
{
/// <summary>
/// Summary description for DownloadImageWS
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the
following line.
// [System.Web.Script.Services.ScriptService]
public class DownloadImageWS : System.Web.Services.WebService
{
[WebMethod]
public string HelloWorld()
{
return "Hello World";
}
5. Now again right click on projectAddnew itemsearch handlerselect generic handler and give
name
VinayHandler.ashx.cs file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VinayDownloadImgFromWS
{
/// <summary>
/// Summary description for VinayHandler
/// </summary>
public class VinayHandler : IHttpHandler
{
9. Write click on Project and create folder images and paste the images.
10. After that execute the code and Enter the Image name in Textfield.
OUTPUT:
PRACTICAL NO – 7
Aim - Implement FOSS-Cloud Functionality VSI (Virtual Server
Infrastructure) Infrastructure as a Service (IaaS), Storage
1. Open the System where you have downloaded the FOSS- Cloud.
2. Enter user-root & Password-admin.
OUTPUT:
25.
PRACTICAL NO – 8
Aim - Implementation of Openstack with user and private network creation.
WHAT IS OPENSTACK?
OpenStack is a cloud operating system that controls large pools of compute, storage, and
networking resources throughout a datacentre, all managed and provisioned through APIs with
common authentication mechanisms.
A dashboard is also available, giving administrators control while empowering their users to
provision resources through a web interface.
1. Open terminal and Type the following commands.
2. Before starting the installation you have to update or upgrade the system
Sudo apt-get update
ADMIN_PASSWORD=pass1
DATABASE_ PASSWORD=pass1
RABBIT_PASSWORD=pass1
SERVICE_ PASSWORD=pass1
HOST_IP=10.0.2.15(your ip address)
FLOATING_RANGE=10.0.2.224/24
ctrl+x ->y