CCC336-CSM manual
CCC336-CSM manual
1
TABLE OF CONTENTS
EX.NO PAGE STAFF
DATE EXPERIMENT NAME MARKS
. NO SIGN.
6.
Setting up c programming environment
2
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
DATE:
AIM:
To Create a Cloud Organization in AWS/Google Cloud/or any equivalent Open Source cloud
Softwares like Open stack, Eucalyptus, Open Nebula with Role-based access control
PROCEDURE:
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. Registration
requires a credit card or bank account details.[4]
Google Cloud Platform provides infrastructure as a service, platform as a service, and server less
computing environments.
In April 2008, Google announced App Engine, a platform for developing and hosting web applications in
Google-managed data centers, which was the first cloud computing service from the company. The service
became generally available in November 2011. Since the announcement of App Engine, Google added
multiple cloud services to the platform.
Google Cloud Platform is a part of Google Cloud, which includes the Google Cloud Platform public cloud
infrastructure, as well as Google Workspace (G Suite), enterprise versions of Android and ChromeOS,
and application programming interfaces (APIs) for machine learning and enterprise mapping services.
Creating your project
bookmark_border
To deploy your app on App Engine, you must create a Google Cloud project, which is a top level container
that holds your App Engine application resources as well as other Google Cloud resources.
In this task, you create a Google Cloud project and an App Engine application to store settings, computing
resources, credentials, and metadata for your app.
If you already have a Google Cloud project with App Engine and the Cloud Build API enabled, continue
to Writing Your Web Service.
Creating a Google Cloud project
1. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world
scenarios. New customers get $300 in free credits to run, test, and deploy workloads.
2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of
selecting an existing project. After you finish these steps, you can delete the project, removing all resources
associated with the project.
Go to project selector
3. Make sure that billing is enabled for your Google Cloud project.
3
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
8. Select a region where you want your app's computing resources located.
Note: After you create your App Engine app, you cannot change the region. To reduce latency, choose the
region closest to your app's intended users. For more information on the available regions, see App Engine
Locations.
Next step
Now that your Google Cloud project is set up, you're ready to write a basic web service with Node.js.
Use the following steps to set up your local environment for developing and deploying your App Engine
services:
Optional tools:
• Install Git for access to code, samples, libraries, and tools in the Google Cloud GitHub repository.
• Install your preferred tooling or framework, for example you can use any of the following frameworks
to developyour Python 3 app:
• Flask
• Django
• Pyramid
• Bottle
• web.py
• Tornado
4
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
RESULT:
Thus Cloud Organization in AWS/Google Cloud/or any equivalent Open Source cloud softwares like
Openstack,Eucalyptus, OpenNebula with Role-based access control was created.
5
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
DATE:
AIM:
To Create a Cost-model for a web application using various services and do Cost-benefit analysis.
PROCEDURE:
Cost modeling is an exercise where you create logical groups of cloud resources that are mapped to
the organization's hierarchy and then estimate costs for those groups. The goal of cost modeling is to
estimate the overall cost of the organization in the cloud.
Map your organization's needs to logical groupings offered by cloud services. This way the business
leaders of the company get a clear view of the cloud services and how they're controlled.
Start your planning by carefully enumerating the requirements. From the high-level requirements,
narrow down each requirement before starting on the design of the solution.
Evaluate the budget constraints on each business unit. Determine the governance policies in Azure
to lower cost by reducing wastage, over-provisioning, or expensive provisioning of resources.
Consider tradeoffs
As you prioritize requirements, cost can be adjusted. Expect a series of tradeoffs in the areas that
you want to optimize, such as security, scalability, resilience, and operability. If the cost to address the
challenges in those areas is high, stakeholders look for alternate options to reduce cost. There might be risky
choices made in favor of a cheaper solution.
Break down the high-level goals into functional requirements for the solution's components. Each
requirement must be based on realistic metrics to estimate the actual cost of the workload.
Azure services are offered with consumption-based prices where you're charged for only what you
use. There's also options for fixed price where you're charged for provisioned resources.
Most services are priced based on units of size, amount of data, or operations. Understand the meters
that are available to track usage. For more information, see Azure resources.
6
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
At the end of this exercise, you should have identified the lower and upper limits on cost and set
budgets for the workload. Azure lets you create and manage budgets in Azure Cost Management.
Budgets are supported for the following types of Azure account types and scopes:
1. Select the following image to sign in to Azure and open a template. The template creates a budget
without any filters
7
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
• You can specify a past start date with the Time Grain period.
• End Date: enter the end date for the budget in YYYY-MM-DD format.
• First Threshold: enter a threshold value for the first notification. A notification is sent when
the costexceeds the threshold. It's always percent and has to be between 0.01 and 1000.
• Second Threshold: enter a threshold value for the second notification. A notification is sent
when thecost exceeds the threshold. It's always percent and has to be between 0.01 and 1000.
• Contact Emails enter a list of email addresses to send the budget notification to when a
threshold is exceeded. It accepts an array of strings. Expected format is
["user1@domain.com","user2@domain.com"].
• Review the terms and conditions, select I agree to the terms and conditions stated above,
and thenselect Purchase.
8
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
The Azure portal is used to deploy the template. In addition to the Azure portal, you can also use Azure
PowerShell, Azure CLI, and REST API. To learn about other deployment templates, see Deploy templates.
Use one of the following ways to verify that the budget is created.
• Azure portal
• CLI
• PowerShell
Navigate to Cost Management + Billing > select a scope > Budgets.
Clean up resources
When you no longer need a budget, delete it by using one the following methods:
• Azure portal
• CLI
• PowerShell
Navigate to Cost Management + Billing > select a billing scope > Budgets > select a budget > then
select Delete budget.
RESULT:
Thus a Cost-model for a web application using various services and do Cost-benefit analysis was
Created.
9
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
DATE:
AIM:
PROCEDURE:
Azure Monitor offers alerting capabilities to notify you, via email or messaging, when things go wrong.
These capabilities are based on a common data-monitoring platform that includes logs and metrics
generated by your servers and other resources. By using a common set of tools in Azure Monitor, you can
analyze data that's combined from multiple resources and use it to trigger alerts. These triggers can include:
• Metric values.
• Log search queries.
• Activity log events.
• The health of the underlying Azure platform.
• Tests for website availability.
See the list of Azure Monitor data sources for a more detailed description of the sources of monitoring data
that this service collects.
For details about manually creating and managing alerts by using the Azure portal, see the Azure Monitor
documentation.
In this guide, we recommend that you create a set of 15 alerts for basic infrastructure monitoring. Find the
deployment scripts in the Alert Toolkit GitHub repository.
The package uses HPE server hardware as an example. Change the settings in the associated configuration
file to reflect your OEM hardware. You can also add more performance counters to the configuration file.
To deploy the package, run the New-CoreAlerts.ps1 file.
10
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
There are several ways that you can create a new alert rule. To create a new alert rule from the portal home
page:
2. Select Alerts from the left pane, and then select + Create > Alert rule.
11
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
1. In the portal, either from the home page or from a specific resource, select Alerts from the left pane.
3. Select the alert rule you want to edit, and then select Edit.
4. Select any of the tabs for the alert rule to edit the settings.
12
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
1. On the Select a resource pane, set the scope for your alert rule. You can filter
by subscription, resource type, or resource location.
2. Select Apply.
1. On the Condition tab, when you select the Signal name field, the most commonly used signals are
displayed in the drop-down list. Select one of these popular signals,
or select See all signals if you want to choose a different signal for the condition.
2. (Optional) If you chose to See all signals in the previous step, use the Select a signal pane to search
for the signal name or filter the list of signals. Filter by:
13
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
This table describes the services available for each type of alert rule:
a. Preview the results of the selected metric signal in the Preview section. Select values for the
following fields.
Field Description
Time range The time range to include in the results. Can be from the last six hours to the last week.
Time series The time series to include in the results.
Field Description
Threshold Select if the threshold should be evaluated based on a static value or a dynamic
value.
A static threshold evaluates the rule by using the threshold value that you
configure.
Dynamic thresholds use machine learning algorithms to continuously learn the
metric behavior patterns and calculate the appropriate thresholds for unexpected
behavior. You can learn more about using dynamic thresholds for metric alerts.
Operator Select the operator for comparing the metric value against the threshold.
If you're using dynamic thresholds, alert rules can use tailored thresholds based on
metric behavior for both upper and lower bounds in the same alert rule.
14
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
Field Description
Select one of these operators:
- Greater than the upper threshold or lower than the lower threshold (default)
- Greater than the upper threshold
- Lower than the lower threshold
Aggregation Select the aggregation function to apply on the data points: Sum, Count, Average,
type Min, or Max.
Threshold If you selected a static threshold, enter the threshold value for the condition logic.
value
Unit If the selected metric signal supports different units, such as bytes, KB, MB, and
GB, and if you selected a static threshold, enter the unit for the condition logic.
Threshold If you selected a dynamic threshold, enter the sensitivity level. The sensitivity level
sensitivity affects the amount of deviation from the metric series pattern that's required to
trigger an alert.
- High: Thresholds are tight and close to the metric series pattern. An alert rule is
triggered on the smallest deviation, resulting in more alerts.
- Medium: Thresholds are less tight and more balanced. There are fewer alerts than
with high sensitivity (default).
- Low: Thresholds are loose, allowing greater deviation from the metric series
pattern. Alert rules are only triggered on large deviations, resulting in fewer alerts.
Aggregation Select the interval that's used to group the data points by using the aggregation type
granularity
function. Choose an Aggregation granularity (period) that's greater than
the Frequency of evaluation to reduce the likelihood of missing the first evaluation
period of an added time series.
Frequency of
Select how often the alert rule is to be run. Select a frequency that's smaller than the
evaluation
aggregation granularity to generate a sliding window for the evaluation.
c. (Optional) Depending on the signal type, you might see the Split by dimensions section.
Dimensions are name-value pairs that contain more data about the metric value. By using
dimensions, you can filter the metrics and monitor specific time-series, instead of monitoring the
aggregate of all the dimensional values.
If you select more than one dimension value, each time series that results from the combination
triggers its own alert and is charged separately. For example, the transactions metric of a storage
account can have an API name dimension that contains the name of the API called by each
transaction (for example, GetBlob, DeleteBlob, and PutPage). You can choose to have an alert
fired when there's a high number of transactions in a specific API (the aggregated data). Or you
can use dimensions to alert only when the number of transactions is high for specific APIs.
Field Description
Dimension Dimensions can be either number or string columns. Dimensions are used to
name monitor specific time series and provide context to a fired alert.
Splitting on the Azure Resource ID column makes the specified resource into the
alert target. If detected, the ResourceID column is selected automatically and
changes the context of the fired alert to the record's resource.
Operator The operator used on the dimension name and value.
Dimension The dimension values are based on data from the last 48 hours. Select Add custom
values value to add custom dimension values.
Include all Select this field to include any future values added to the selected dimension.
future values
15
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
Field Description
Check every Select how often the alert rule checks if the condition is met.
Lookback Select how far back to look each time the data is checked. For example, every 1
period minute, look back 5 minutes.
e. (Optional) In the Advanced options section, you can specify how many failures within a specific
time period trigger an alert. For example, you can specify that you only want to trigger an alert if
there were three failures in the last hour. Your application business policy should determine this
setting.
Field Description
Number of The number of violations within the configured time frame that trigger the alert.
violations The time period within which the number of violations occur.
Evaluation Use this setting to select the date from which to start using the metric historical
period data for calculating the dynamic thresholds. For example, if a resource was
running in testing mode and is moved to production, you may want to disregard
Ignore data the metric behavior while the resource was in testing.
before
f. Select Done.
From this point on, you can select the Review + create button at any time.
2. (Optional) In the Custom properties section, if you've configured action groups for this alert rule,
you can add your own properties to include in the alert notification payload. You can use these
properties in the actions called by the action group, such as webhook, Azure function or logic app
actions.
The custom properties are specified as key:value pairs, using either static text, a dynamic value
extracted from the alert payload, or a combination of both.
The format for extracting a dynamic value from the alert payload is: ${<path to schema
field>}. Forexample: ${data.essentials.monitorCondition}.
Use the common alert schema format to specify the field in the payload, whether or not the action
groups configured for the alert rule use the common schema.
16
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
In the following examples, values in the custom properties are used to utilize data from a payload
that uses the common alert schema:
Example 1
This example creates an "Additional Details" tag with data regarding the "window start time" and
"window end time".
Example 2 This example adds the data regarding the reason of resolving or firing the alert.
o "Alert Resolved reason: Percentage CPU GreaterThan5 Resolved. The value is 3.585"
o “Alert Fired reason": "Percentage CPU GreaterThan5 Fired. The value is 10.585"
Note
The common schema overwrites custom configurations. Therefore, you can't use both custom
properties and the common schema for log alerts.
17
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
• Metric alert
• Log alert
• Activity log alert
• Resource Health alert
• Service Health alert
g. Enter values for the Alert rule name and the Alert rule description.
h. (Optional) If you're creating a metric alert rule that monitors a custom metric with the scope
defined as one of the following regions and you want to make sure that the data processing for the
alert rule takes place within that region, you can select to process the alert rule in one of these
regions:
• North Europe
• West Europe
• Sweden Central
• Germany West Central
18
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
i. (Optional) In the Advanced options section, you can set several options.
Field Description
Enable upon Select for the alert rule to start running as soon as you're done creating it.
creation
Automatically Select to make the alert stateful. When an alert is stateful, the alert is
resolve alerts resolved when the condition is no longer met.
(preview) If you don't select this checkbox, metric alerts are stateless. Stateless
alerts fire each time the condition is met, even if alert already fired.
The frequency of notifications for stateless metric alerts differs based on
the alert rule's configured frequency:
Alert frequency of less than 5 minutes: While the condition continues
to be met, a notification is sent somewhere between one and six minutes.
Alert frequency of more than 5 minutes: While the condition
continues to be met, a notification is sent between the configured
frequency and double the value of the frequency. For example, for an
alert rule with a frequency of 15 minutes, a notification is sent
somewhere between 15 to 30 minutes.
1. On the Tags tab, set any required tags on the alert rule resource.
2. On the Review + create tab, the rule is validated, and lets you know about any issues.
3. When validation passes and you've reviewed the settings, select the Create button.
19
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
RESULT:
20
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
DATE:
AIM:
PROCEDURE:
Requirements
• You must be signed in using account root user credentials or as an IAM user that has been given permission
to view billing information.
• For consolidated billing accounts, billing data for each linked account can be found by logging in as the
paying account. You can view billing data for total estimated charges and estimated charges by service for
each linked account, in addition to the consolidated account.
• In a consolidated billing account, member linked account metrics are captured only if the payer account
enables the Receive Billing Alerts preference. If you change which account is your management/payer
account, you must enable the billing alerts in the new management/payer account.
• The account must not be part of the Amazon Partner Network (APN) because billing metrics are not
published to CloudWatch for APN accounts. For more information, see AWS Partner Network.
To enable the monitoring of estimated charges
1. Open the AWS Billing console at https://console.aws.amazon.com/billing/.
2. In the navigation pane, choose Billing Preferences.
3. By Alert preferences choose Edit.
4. Choose Receive CloudWatch Billing Alerts.
5. Choose Save preferences.
Before you create a billing alarm, you must set your Region to US East (N. Virginia). Billing metric data is
stored in this Region and represents worldwide charges. You also must enable billing alerts for your account
or in the management/payer account (if you are using consolidated billing). For more information,
see Enabling billing alerts.
In this procedure, you create an alarm that sends a notification when your estimated charges for AWS
exceed a defined threshold.
To create a billing alarm using the CloudWatch console
1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.
2. In the navigation pane, choose Alarms, and then choose All alarms.
21
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
https://console.aws.aazon.com/cloudwatch/
22
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
In the upper right hand corner, make sure your AWS region is set to US East (N. Virginia). This is the
region where all billing data is stored.
Click on “Alarms” in the left side panel and in the dashboard that pops up click on the orange button
that says “Create Alarm”.
In the panel that pops up, click the button that says “select metric”. This will pop up a window that
allows you to choose which type of service you‟d like to use. Select “Billing”.
In the next window, you can choose to either base the alarm off a given service‟s charges or the Total
Estimated Charge on your account. We will set an alarm for our EC2 charges, so click “By Service”.
On the next step, mark the checkbox next to the specific service(s) you‟d like to monitor. We‟ll choose
Amazon EC2.
Next you‟ll want to set the time period that the alarm will be active for. You can choose anything from
10 seconds to an entire day. The interface will also show a graph which plots your current usage in blue
against the alarm threshold in red. If the blue line crosses the red at any point during the selected time
period, the alarm will activate.
Next, set the threshold over or under which the alarm will ring. We‟ll set our alarm to activate if our
EC2 charges exceed $10 within the next 6 hours. You can also use the anomaly detection panel to
specify a band around your usage outside of which you‟d like the alarm to activate.
Next you‟ll want to create a notification using Amazon SNS. You just click “create new topic”, give it a
name, and enter the email you‟d like to be notified at into the box.
Now you can create a name and description that will help you to remember what trigger is set for your
alarm.
23
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
A final page will now open which summarizes and displays your alarm‟s settings as you‟ve created
them. If everything looks good, you can click “Create Alarm” to have your alarm set.
RESULT:
24
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
EX.NO.5 COMPARE CLOUD COST FOR A SIMPLE WEB APPLICATION ACROSS AWS, AZURE
ANDGCP AND SUGGESTION OF BEST ONE
DATE:
AIM:
To Compare Cloud cost for a simple web application across AWS, Azure and GCPand suggestion
of best one.
PROCEDURE/COMPARISON:
Amazon Web Services is a subsidiary of amazon.com, which provides an on-demand Cloud Computing
platform to individuals, companies, and governments on a paid-subscription basis.
Amazon Web Services is the oldest and the most experienced player in the cloud market. As one of the
oldest cloud providers, it has established a bigger user base, as well as bigger trust and reliability factors.
AWS was publicly launched in 2006 with service offerings such as Elastic Compute Cloud (EC2), Simple
Storage Service (Amazon S3), etc. By 2009, Elastic Block Store (EBS) was made public, and services such
as Amazon CloudFront, Content delivery network (CDN), and more formally joined the AWS Cloud
Computing Service offerings.
Microsoft Azure
Microsoft Azure, initially called Azure, was launched in 2010 with the intent to provide a competent Cloud
Computing platform for businesses. Azure was renamed as „Microsoft Azure‟ in 2014, though the name
„Azure‟ is still commonly used. Since its inception, Microsoft Azure has shown great progress among its
competitors.
Kickstart your career journey by enrolling in this Google Cloud training in London.
Google Cloud Platform (GCP), which is 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
engine, YouTube, and more.
Google Cloud Platform began its journey in 2011, and in less than a decade it has managed to create a good
presence in the cloud industry. The initial intent of Google Cloud was to strengthen Google‟s own products
such as Google Search engine and YouTube. But now, they have also introduced their enterprise services so
that anyone can use Google Cloud Platform which shares the same infrastructure as that of Google Search
or YouTube.
25
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
It has been already established that AWS was the earliest in the cloud domain which means that they have
had more time to establish and expand their network. So, AWS is hosting in multiple locations worldwide.
Azure and GCP are also hosting in multiple locations worldwide, but the difference occurs in the number of
their respective availability zones.
Moving on with this Azure vs AWS vs Google Cloud blog, let‟s look into the market shares and growth rate
of each of these cloud providers.
Are you preparing for the AWS interview? Then here are the latest AWS interview questions!
AWS Vs. Azure Vs. Google Cloud: Market Shares and Growth Rate
According to the reported quarterly earnings for 2021, Microsoft‟s Azure cloud revenue has been observed
to, once again, outperform both AWS and Google Cloud combined.
In spite of the Goliath-like stature of Amazon‟s AWS, Microsoft‟s Azure cloud outperformed its
competitors with its US$17.7 billion (50% revenue growth over the previous quarter) in commercial-cloud
revenue as per the fiscal earnings report. While Amazon‟s AWS reported US$13.5 billion in cloud business
revenue for the quarter (revenue grew 32% in the quarter), Google Cloud had a modest US$4.05 billion.
26
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
Reports by Canalys mentions that as of April 2021, the global cloud market grew 35% this quarter to $41.8
billion. AWS covers 32% of the market, followed by Azure at 19% and Google at 7%.
Since AWS is the oldest player in the cloud market, it comparatively has a bigger community support and
user base. Therefore, AWS has more high-profile and well-known customers like Netflix, Airbnb, Unilever,
BMW, Samsung, MI, Zynga, etc.
Azure is also gaining its share of high-profile customers with time. As of now, Azure has almost 80 percent
of Fortune 500 companies as its customers. Some of its major customers are Johnson Controls, Polycom,
Fujifilm, HP, Honeywell, Apple, etc.
27
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
Google, on the other hand, shares the same infrastructure as that of Google Search and YouTube and, as a
result, many high-end companies have put their faith in Google Cloud. Major clients of Google Cloud are
HSBC, PayPal, 20th Century Fox, Bloomberg, Dominos, and more.
All these cloud providers offer various cloud computing services that are required for any basic business.
The difference occurs in the number of these services. So, moving forward with this Azure vs AWS vs
Google Cloud blog, let‟s look into the service offerings of these cloud providers.
With the added advantage of five years of a head start, AWS computing services are by far the most evolved
and functionally rich.
Want to read more about AWS and Azure? Go through this AWS Tutorial and Azure Tutorial!
AWS offers around 200+ services, whereas Azure offers up to 100+ services. Google Cloud, on the other
hand, is catching up with Azure and AWS offering around 60+ services.
Service offerings from AWS, Azure, and GCP that come under the domains of compute, database, storage,and
networking are mapped below :
28
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
Compute Services
Database Services
To learn about Google cloud in detail, enroll in this Google Cloud course in United States provided by
Intellipaat.
Storage Services
29
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
Are you preparing for the Azure interview? Then here are the latest Azure Interview Questions!
Networking Services
RESULT:
Thus the Comparison of Cloud cost for a simple web application across AWS, Azureand GCP is
studied.
30
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER CSE
DATE:
AIM:
Install a C compiler in the virtual machine created using virtual box and
Execute Simple Programs.
PROCEDURE:
Installation of virtualbox:
1. Visit http://www.virtualbox.org/wiki/downloads
2. Download VirtualBox platform packages for your OS
3. Open the Installation Package by double clicking.
4. Click continue and finish installing VirtualBox.
5. When finished installation, close the window.
Install Linux in virtualBox:
8. Select the size of the Virtual Disk (I recommend choosing 8 GB) and click
continue.
9. Click Create
10. Running Linux:
➢ Choose Ubuntu from left column and click Start
➢ Click continue on pop-up window
➢ Click the folder icon and choose the ubuntu iso file you downloaded andclick continue
and Start
31
CCS336 –CLOUD SERVICES MANAGEMENT VI SEMESTER
CSE
➢ Choose “Erase disk and install Ubuntu” and click Forward (Don‟t worry, it won‟t
wipe yourcomputer)
C Programming on Linux:
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
RESULT:
33