0% found this document useful (0 votes)
22 views37 pages

DSCC Cloudpracticals

cloud3

Uploaded by

rohandefence1114
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)
22 views37 pages

DSCC Cloudpracticals

cloud3

Uploaded by

rohandefence1114
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/ 37

Practical 11

Aim: Implementation of Cloud Computing Services

Description:
Cloud computing is on-demand access, via the internet, to computing resources—
applications, servers (physical servers and virtual servers), data storage, development tools,
networking capabilities, and more—hosted at a remote data center managed by a cloud
services provider (or CSP). The CSP makes these resources available for a monthly
subscription fee or bills them according to usage.

Compared to traditional on-premises IT, and depending on the cloud services you select,
cloud computing helps do the following:

 Lower IT costs
 Improve agility and time-to-value
 Scale more easily and cost-effectively

Cloud computing services

IaaS (Infrastructure-as-a-Service), PaaS (Platform-as-a-Service) , and SaaS (Software-as-a-


Service) are the three most common models of cloud services, and it’s not uncommon for an
organization to use all three.

 SaaS (Software-as-a-Service)

SaaS—also known as cloud-based software or cloud applications—is application


software that’s hosted in the cloud and that you access and use via a web browser, a dedicated
desktop client, or an API that integrates with your desktop or mobile operating system. In
most cases, SaaS users pay a monthly or annual subscription fee; some may offer ‘pay-as-
you-go’ pricing based on your actual usage.

 PaaS (Platform-as-a-Service)

PaaS provides software developers with on-demand platform—hardware, complete


software stack, infrastructure, and even development tools—for running, developing, and
managing applications without the cost, complexity, and inflexibility of maintaining that
platform on-premises.

 IaaS (Infrastructure-as-a-Service)

IaaS provides on-demand access to fundamental computing resources–physical and virtual


servers, networking, and storage—over the internet on a pay-as-you-go basis. IaaS enables
end users to scale and shrink resources on an as-needed basis, reducing the need for high, up-
front capital expenditures or unnecessary on-premises or ‘owned’ infrastructure and for
overbuying resources to accommodate periodic spikes in usage.
1. Implementation of Storage as a Service using Google Docs

Getting started
To get started with Google Drive, you'll need to make a Google account, if you don't already
have one.
Creating a Google account is free, and gives you access to Google Drive, as well as other
Google Services, such as Gmail, Google Calendar, and Google Photos.
Once you've signed up for an account (or signed into an existing account), you can access
Google Drive in your browser by going to drive.google.com. This will bring you to Drive's
web interface, which is fairly intuitive and easy to navigate.
As you begin to familiarize yourself with all the things you can do with Google Drive, you'll
most likely want to first learn how to upload, create, manage and share files.
Uploading and creating files

To access files on Google Drive, you'll need to upload them. There are two ways you can
upload files from the web client, and they're both straightforward.

The first method is the simpler of the two, and it involves dragging the file or folder from
your desktop, and dropping it into the browser window. The second option is to click on the
"New" button on the top-left side of the screen and select either "File upload" or "Folder
upload."
You can also use the "New" button to create a new file, document, spreadsheet, or
presentation. Depending on your needs, just click on the app from the dropdown menu. All
new files are automatically saved and accessible from your Drive.

Managing and organizing files and folders

Once you have enough files, you may want to organize them. Much like organizing files on
your desktop, the easiest way to manage your Drive is to create folders. To create a new
folder on the web interface, navigate to your Drive and click "New," then "Folder."

After you name your folder, you'll be able to drag and drop files to the folder, which can find
under "My Drive" on the pane to the left of your screen.

If you no longer need a file and want to keep your Drive tidy, the easiest way to delete a file
is to right-click on the file. This will bring up a context menu. From there, select "Remove."
Alternatively, you can select the file you want to delete and then click the trash icon on the
upper-right hand corner of your screen.
Sharing files and folders

The biggest draw of Google Drive is the ability to share files and folders with others.
From sharing videos to entire Drive folders, Drive makes sharing simple. To share a Google
Drive file or folder, right-click on it to bring up the context menu, then click "Share."

From there, you'll be able to add collaborators using their email address, and decide whether
people can edit, comment on, or simply just view the file.

Any files created in Drive have the option to be edited by multiple people at once, meaning
you'll be able to collaborate with others in real-time.

Accessing Google Drive

Now that we have some basics out of the way, it's important to note that there are multiple
ways to access your Drive. In addition to using Drive in your web browser, you can also
access the cloud from your mobile device or desktop.
Google Drive on mobile

Google Drive on desktop


Aim: Implementation of Identity Management using Cloud Computing
concept

Description

The primary goal of identity management in cloud computing is dealing with personal
identity information so that a user’s access to data, computer resources, applications, and
services is controlled accurately.

Identity management in cloud computing is the subsequent step of identity and access
management (IAM) solutions. However, it is a lot more than merely a straightforward web
app single sign-on (SSO) solution. This next generation of IAM solution is a holistic move of
the identity provider right to the cloud.

Known as Directory-as-a-Service (DaaS), this particular service is the advanced version of


the conventional and on-premises solutions, including Lightweight Directory Access Protocol
(LDAP) as well as Microsoft Active Directory (AD).

1) Implementation of Identity Management

Procedure:
Step1: Open the following link https://aws.amazon.com/
Step2: Go to my Account-> AWS management console
Step3: click on Create new user AWS account

Step4: Fill all the details and click on Continue


Step5: Fill your contact number and Home address and click on create account
and continue
Step6: Now most curtail step AWS will ask for credit card and debit card
details. You have to close the browser
Step7: now again open the link https://aws.amazon.com/
Step8: Go to my Account->AWS Management console
Enter your ID and click on next, After that enter password and click on sign in

Step 9: you will get the following screen


Step 10: Go to My Security credential

Step 11: now click on user


Step 12: Click on add user

Step 13: Provide the user’s name and check the check box in front of
programmatic access and AWS Management console Access and enter the
password for new user Click on custom password and click on next permission
Step 14: click on create Group

Step15: Fill the information and click on Create Group


Step16: Click on next tag leave blank, again click on next review leave as it is
and click on create user

Step 17: click on close

And COPY Account ID


Now logout the admin account and try to login as user(newly created) .
Step 18: again Go to my Account->AWS Management console

Click on next Provide the Account ID username and password and click on sign
in It will ask you to change the password which is been set by administrator
Yow will redirect to home screen

Conclusion: Hence we have studied the concept and implementation of identity


management using amazon aws.
Aim: App Development using Cloud Computing
1) To develop Application for windows Azure / Amazon AWS using Windows
Azure Platform Training Kit and Visual Studio.
Procedure/Steps

 Download Visual Studio Professional 2019 and Install.


 While Installing select Azure Development in Workload as following and Install:

OR
In case, Visual Studio 2019 is already installed, open it and select Create a new project
 Here click on Install more tools and features

 Now, select Azure Development in Workload and Click on Modify

OR
 In Individual components select following and Click on Modify:

 Now Installation will be done as follows:


 Restart and relaunch the system

 Now Restarting Visual Studio after installing above steps, you will find Azure Cloud Service
(classic) as below:
 Else, apply Filter in drop down as: C#, Azure, Cloud Select Azure Cloud Service (classic) and
click Next

 Give Project Name and click Create


 Following will appear Select ASP.NET Web Role and click > arrow Following

 Following will be done and now click OK


 Following will appear Select Empty and click Create

 Following will get created. Now select WebRole1 in Solution Explorer


 Right click on WebRole1, click on Add then, click on Web Form

 Give name to Form and click OK


 Modify WebForm as required and Save

 Click on Web Server (Google Chrome) button to Debug and Execute the Form
 Following is the Output
2) To develop applications using Google App Engine by using Eclipse IDE

Google Cloud Platform (GCP), offered by Google, is a suite of cloud computing services that
runs on the same infrastructure that Google uses internally for its end-user products, such as
Google Search, Gmail, Google Drive, and YouTube. Alongside a set of management tools, it
provides a series of modular cloud services including computing, data storage, data analytics
and machine learning.
Google lists over 100 products under the Google Cloud brand. Some of the key services are
listed below.

Compute
App Engine - Platform as a Service to deploy Java, PHP, Node.js, Python, C#, .Net, Ruby
and Go applications.
Compute Engine - Infrastructure as a Service to run Microsoft Windows and Linux virtual
machines.
Google Kubernetes Engine (GKE) or GKE on-prem offered as part of Anthos platform -
Containers as a Service based on Kubernetes.

Storage & Databases


Cloud Storage - Object storage with integrated edge caching to store unstructured data.
Cloud SQL - Database as a Service based on MySQL, PostgreSQL and Microsoft SQL
Server.
Cloud Bigtable - Managed NoSQL database service.
Cloud Spanner - Horizontally scalable, strongly consistent, relational database service.
Cloud Datastore - NoSQL database for web and mobile applications.

Networking
Google Cloud Network Topology - External Load Balancer Architecture.png
VPC - Virtual Private Cloud for managing the software defined network of cloud resources.
Cloud Load Balancing - Software-defined, managed service for load balancing the traffic.
Cloud Armor - Web application firewall to protect workloads from DDoS attacks.
Cloud CDN - Content Delivery Network based on Google's globally distributed edge points
of presence.
Big Data
BigQuery - Scalable, managed enterprise data warehouse for analytics.
Cloud Dataflow - Managed service based on Apache Beam for stream and batch data
processing.
Cloud Dataproc - Big data platform for running Apache Hadoop and Apache Spark jobs.
Cloud Composer - Managed workflow orchestration service built on Apache Airflow.
Cloud Datalab - Tool for data exploration, analysis, visualization and machine learning. This
is a fully managed Jupyter Notebook service.

Cloud AI
Cloud AutoML - Service to train and deploy custom machine learning models. As of
September 2018, the service is in Beta.
Cloud TPU - Accelerators used by Google to train machine learning models.
Cloud Machine Learning Engine - Managed service for training and building machine
learning models based on mainstream frameworks.
Cloud Natural Language - Text analysis service based on Google Deep Learning models.
Cloud Speech-to-Text - Speech to text conversion service based on machine learning.
Cloud Text-to-Speech - Text to speech conversion service based on machine learning.

Management Tools
Operations suite (formerly Stackdriver ) - Monitoring, logging, and diagnostics for
applications on Google Cloud Platform and AWS.
Cloud Deployment Manager - Tool to deploy Google Cloud Platform resources defined in
templates created in YAML, Python or Jinja2.
Cloud Console - Web interface to manage Google Cloud Platform resources.

Identity & Security


Cloud Identity - Single sign-on (SSO) service based on SAML 2.0 and OpenID.
Cloud IAM - Identity & Access Management (IAM) service for defining policies based on
role-based access control.
Cloud Identity-Aware Proxy - Service to control access to cloud applications running on
Google Cloud Platform without using a VPN.
Cloud Data Loss Prevention API - Service to automatically discover, classify, and redact
sensitive data.
IoT
Cloud IoT Core - Secure device connection and management service for Internet of Things.
Edge TPU - Purpose-built ASIC designed to run inference at the edge. As of September
2018, this product is in private beta.
Cloud IoT Edge - Brings AI to the edge computing layer.

API Platform
Maps Platform - APIs for maps, routes, and places based on Google Maps.
Apigee API Platform - Lifecycle management platform to design, secure, deploy, monitor,
and scale APIs.
API Monetization - Tool for API providers to create revenue models, reports, payment
gateways, and developer portal integrations.
Developer Portal - Self-service platform for developers to publish and manage APIs.
API Analytics - Service to analyse API-driven programs through monitoring, measuring, and
managing APIs.
Steps for creating app on Google App Engine

 Open cloud.google.com

 Click on Console on top right


 The Dashboard will look like following

 Click over current project next to GCP


 Click on New Project

 Give some useful name for project and click on create


 Now the project is created but still we’ve the old project selected so click on current
project next to GCP and select the newly created project

 Now the project is select, the interface will look like as below
 Now we will start App Engine, so just go to on top left and select app engine
and click on dashboard or search directly from search box

 The interface after clicking App engine is something like below


 Click on Create Application and select the region in next slide and click next

 Now select the language and click I’ll do this later

 Now the App Engine Application has been created


 Now click on Activate Cloud Shell previous to help menu, it will open the command
shell to work

 This is how the shell/terminal will look like

 Now create a directory using mkdir command


 Click on open editor to open the cloud shell editor (GUI based file manager)

 Editor window is as follows


 Now from the file menu we will create a simple java program Demo.java

 Now write the basic java program


 Open the terminal and run the program and see the output

You might also like