Homework 01
Homework 01
Answer:
Various kinds of advantages and limitations of Cloud Computing, the biggest issue is when
a Cloud Computing is used for processes that require speed of response or called Network
Latency.
For example for IoT applications with features other than monitoring and also control.
Based on the lecture material and I read from several sources there are several aspects
that affect the distance between Client and Server. This is due to the ability of internet
network speed due to remote locations. Especially when using satellite channels that are
very dependent on weather conditions and the atmosphere. Cloud Cumulus and the
delay factor of data communication via satellite, in cloudy weather signals from signal
transmitters to satellites will experience interference to penetrate these dense clouds.
Next is due to Radio Frequency interference, this is local from the use of cellphones to
BTS operators can be disturbed by other signal frequencies such as Wi-Fi signals, and
others. And the last is Network and Server Configuration, it can also affect latency factors,
for example too many Hop or Point of Presence that must be passed in a network route
path is very possible for network latency.
Besides these main factors, there are also other factors currently caused by Control of
data security from hacking or phishing attacks.
Answer:
Based on the following picture, the following will be explained about the concept of Fog
Computing.
Fog Computing
Dimension Attribute Fog Computing Use Case
Dimension
Decision Latency Low latency (Milliseconds or Autonomous vehicles,
seconds). automation industry (not
tight), location-based
So moving from Cloud Computing services, anomaly
technology purely to Fog Computing detection.
will ensure that it will reduce the
latency time.
Answer:
The API is short from Application Programming Interface, and allows developers to
integrate two parts of the application or with different applications simultaneously. The
API consists of various elements such as functions, protocols, and other tools that allow
developers to create applications. The purpose of using the API is to speed up the
development process by providing functions separately so that developers do not need
to make similar features. The application of the API will be felt if the desired feature is
very complex, of course, takes time to create something similar to it. For example:
integration with IoT or payment gateways. There are various types of API systems that
can be used, including operating systems, libraries, and the web
4. Depict the cloud computing infrastructure and give a briefing to each of them.
Answer:
Based on the type of service, the Cloud Computing infrastructure is divided into the
following:
Is one of the services of Cloud Computing where we use software (software) that has
been provided. Users only know that software can run and can be used properly. For
example, public e-mail services (Gmail, Yahoo Mail, Hotmail), social networks (Facebook,
Twitter, LinkedIn) instant messaging (Yahoo Messenger, Skype, Line, WhatsApp) and
many others. In its development, many of the software that we only enjoyed before by
installing the application on our computer (on-premise) from now on we can enjoy it
through Cloud Computing. The advantage, we don't need to buy a license and just
connect to the internet to use it. For example, Microsoft Office which we can now enjoy
through Office 365.
Answer:
Applications Tier
Applications may come in multiple forms. In many cases, the application is the user
interface that leverages information coming from the analytics tier and presented to the
user in a meaningful way. In other cases, the application may be an automation routine
that interfaces with other applications as part of a larger function. Interestingly, the
application may reside on the device itself (ie: wearable).
Cloud Tier
The data tier is where data from gateways is collected and managed. Depending on the
type of data, different structures may be called for. The management, hygiene and
physical storage of data is a whole classification onto itself simply due to the four V’s of
data (Volume, Variety, Velocity, Veracity). IoT and connected devices use different
communication and messaging protocols at different layers. While developing an IoT
device, the selection of the protocol largely depends on the type, layer and function to
be performed by the device. MQTT, XMPP, DDS, AMQP, and CoAP are a few of the widely
used communication protocols for the IoT application layer.
Network Tier
The sheer number of devices and interconnection options creates a web of complexity
to connect the different devices and their data streams. Depending on the streams, they
may come in such diverse forms as mechanical signals or IP-based data streams. On the
surface, these streams are completely incompatible. However, when correlating data, a
common denominator is needed. Hence, the need for a gateway to collect and
homogenize the streams into manageable data.
Device Tier
The device tier is the physical device that collects data. The device is a piece of hardware
that collects telemetry (data) about a given situation. Devices can range from small
sensors to wearables to large machines. The data itself may be presented in many forms
from electrical signals to IP-data. For examples are RFID, temperature sensor, and motor
or actuator.
Answer:
Flexibility
Reliability
Intra- and inter-datacenter reduandancy can used to be create scalable and reliable
services, such as distributed object storage. The basic services of distribution, storage,
and processing can be easily realized using a cloud-based insfrastructure.
7. Advantages of using the fog for IoT?
Answer:
• Minimizing Latency
• Improving Reliability
• Conserving Bandwidth
8. What do you think of the usage of "OpenStack" in fog computing? Address your ideas
about utilizing one or more components on PBL projects
Answer:
The first use case is SmartCity project of a small city Pisek located in Czech Republic. The
SmarCity concept and architecture will deploy over 3,000 endpoints and approximately
300 IoT gateways that run in high-vailability mode in Kubernetes driven containers. Part
of the solution is an open data portal and data API available for third party companies
that provides information about:
Target solution uses IoT gateways based on RaspberryPi 2 serving as IoT gateways. Data
from gateways is stored in Graphite and processed by custom datamining applications
and results are displayed in City citizens portal based on Leonardo CMS, which is web
service allowing mixing complex visualizations with arbitrary content. This Open Data
portal enables data access through dashboard visualizations or API.
The following screen shows sample output from crossroad Kollarova x Zizkova with
Vehicle and Pedestrian passages for specific period.