cloud computing-update
cloud computing-update
RESULT:
Thus, the oracle VM Virtual box is installed in windows.
STEP 2: Give the name “Ubuntu” and Type is “Linux” and click next button.
STEP 3: The memory size depends on your host machine memory size.
STEP 5: Continue to accept the default 'VDI' drive file type and click 'Next' button.
STEP 6: Change the storage type from the default 'Dynamically allocated' to 'Fixed size' to increase
performance.
Download Ubuntu
To install Ubuntu in this virtual machine. (https://releases.ubuntu.com/trusty/). Click ubuntu-
14.04.6-desktop-amd64.iso
Select your new virtual machine and click 'Settings' button.
Click on 'Storage' category and then 'Empty' under Controller: IDE. Click "CD/DVD" icon on
right hand side and select the ubuntu ISO file to mount.
PROGRAM:
app.yaml
runtime: python313
threadsafe: true
AIM:
To simulate a cloud scenario using cloudsim and run a scheduling algorithm that is not
present in cloudsim.
PROCEDURE:
1. Java Installation
Check Java in your system.
Install java setup.
Set path variable for java
2. Download CloudSim and Another jar file
(https://sourceforge.net/projects/cloudsim30/files/latest/download)
Download cloudsim zip file
(https://github.com/Cloudslab/cloudsim/releases/tag/cloudsim-3.0.2)
Create a new folder in E: and move the cloudsim zip file.
Download common math file(https://downloads.apache.org/commons/math/binaries/)
Create a new folder in E: and move the common math file.
Copy the common math jar file
Paste the that file in cloudsim jars folder.
3. Create a JAVA Project
4. Open Eclipse IDE
AIM:
To Find a procedure to transfer the files from one virtual machine to another virtual machine.
PROCEDURE:
1. Open Virtual Machine and Start the Ubuntu OS.
2. Create a one folder in windows OS.
3. Go-to setting and click.
4. Choose Shared Folder
You should see the Docker version output. If you get an error, check if Docker is running.
Step 2: Pull a Docker Image
Docker containers are based on images. You need to pull an image from the Docker registry
(Docker Hub) to create a container.
docker pull ubuntu
You can now use curl to fetch content from the web inside the container.
Step 5: Exit the Container
When you're done with your work inside the container, type exit to leave the container and
return to your host machine’s shell.
Exit
RESULT:
Thus, the create and execute container using Docker executed successfully.
ALGORITHM:
1. Ensure Docker is Installed: Make sure you have Docker installed on your machine. If it's not
installed, you can download it from Docker's official website.
2. Open a Terminal/Command Prompt: Launch a terminal or command prompt window.
3. Log in to Docker (if needed): If you have a Docker Hub account, log in using the command:
4. Pull the Desired Image: Find the image you want to run on Docker Hub (e.g., nginx, mysql,
alpine, etc.). To pull the image from Docker Hub, use the command:
5. Run the Container: Once the image is pulled, you can run it using the docker run command.
You can specify options such as port mapping and volume mounting, depending on your
requirements. Here's an example for running an nginx container:
7. Access the Running Container: If you're using the nginx image as in the example, you can
access the container by opening a browser and going to http://localhost:8080.