Unit 6
Unit 6
Q1. What is Kubernetes – Concept of Containers. Explain the few features of Kubernetes
with suitable Architecture ?
Ans:- Kubernetes is an open-source container orchestration framework that was originally developed by
Google.
Features of Kubernetes
Following are the various features or characteristics of Kubernetes:
1. Multi-Host Container Scheduling: Done by Kube-scheduler, it assigns containers, also referred to as
pods in Kubernetes to nodes at runtime. It accounts for resources, quality of service, and policies before
scheduling.
2. Scalability and availability: The Kubernetes master is often deployed during a highly available
configuration. Multi-region deployments are available as well.
3. Flexibility and modularization: Kubernetes includes a plug-and-play architecture that permits you to
increase it when you need to. There are specific add-ons from network drivers, service discovery,
container runtime, visualization, and command. If there are tasks that you need to perform for your
environment specifically, you’ll be able to create an add-on to suit your needs.
4. Registration: New worker nodes can register themselves with the Kubernetes master node.
5. Service discovery: Service discovery allows for automatic detection of new services and endpoints via
DNS or environment variables.
6. Persistent storage: It is a much-requested feature when working with containers. Pods can use persistent
volumes to store data and therefore the data is retained across pod restarts and crashes.
7. Maintenance: When it involves Kubernetes maintenance and upgrades, Kubernetes features are always
backward compatible for some versions. All APIs are versioned and when upgrading or running
maintenance on the host, you’ll unschedule the host so that no deployments can happen thereon. Once
you’re done, you’ll simply turn the host back on and schedule deployments or jobs.
8. Logging and Monitoring: In terms of logging and monitoring, application monitoring or health checks
are also built-in, TCP, HTTP, or container exact health checks are available out of the box. There are also
health checks to give you the status of the nodes and failures monitored by the node controller.
Kubernetes status can also be monitored via add-ons like Metrics Server, cAdvisor, and Prometheus. And
lastly, you can use the built-in logging frameworks or if you choose, you can bring your own.
9. Secrets Management: Sensitive data is a first-class citizen in Kubernetes. Secrets mounted to data
volumes or environment variables. They’re also specific to a single namespace so aren’t shared across all
applications.
Understanding the Master node:
Kube-apiserver: a frontend of the cluster that allows you to interact with the Kubernetes API and
connects to the etcd database.
Kube-scheduler: schedules pods on specific nodes supported labels, taints, and tolerations set for pods
etcd: a database, stores all cluster data which includes job scheduling info, pod details, stage information,
etc.
Kube – controller – manager: manages the current state of the cluster
cloud – controller – manager: interacts with outside cloud manager
Q2. Write a short note on Google App Engine ? Give some Advantages of GAE ?
Ans :- Google App Engine is mostly used to run Web applications. These dynamic scales as demand change
over time because of Google’s vast computing infrastructure. Because it offers a secure execution
environment in addition to a number of services, App Engine makes it easier to develop scalable and high -
performance Web apps. Google’s applications will scale up and down in response to shifting demand. Croon
tasks, communications, scalable data stores, work queues, and in-memory caching are some of these services.
Q3. Write the short notes on AWS ? Give its Advantage and Disadvantage ?
Ans :- AWS provides on-demand IT resources to its account holders on a pay-as-you-go pricing model with no
upfront cost. Amazon Web services offers flexibility because you can only pay for services you use or you
need. Enterprises use AWS to reduce capital expenditure of building their own private IT infrastructure (which
can be expensive depending upon the enterprise’s size and nature). AWS has its own Physical fiber network
that connects with Availability zones, regions and Edge locations. All the maintenance cost is also bared by
the AWS that saves a fortune for the enterprises.
AWS allows you to easily scale your resources up or down as your needs change, helping you to save
money and ensure that your application always has the resources it needs.
AWS provides a highly reliable and secure infrastructure, with multiple data centers and a commitment to
99.99% availability for many of its services.
AWS offers a wide range of services and tools that can be easily combined to buil d and deploy a variety
of applications, making it highly flexible.
AWS offers a pay-as-you-go pricing model, allowing you to only pay for the resources you actually use
and avoid upfront costs and long-term commitments.
AWS can be complex, with a wide range of services and features that may be difficult to understand and
use, especially for new users.
AWS can be expensive, especially if you have a high-traffic application or need to run multiple services.
Additionally, the cost of services can increase over time, so you need to regularly monitor your spending.
While AWS provides many security features and tools, securing your resources on AWS can still be
challenging, and you may need to implement additional security measures to meet your specific
requirements.
AWS manages many aspects of the infrastructure, which can limit your control over certain parts of your
application and environment.
Q4. How can Azure help in business? What are the services provided by Azure?
EDGE COMPUTING
Q1. What is Edge Computing? Explain with suitable Diagram? Give its advantage and
disadvantage?
Ans:- Edge Technology aims at making Internet Of Things (IOT) with 100 thousand of sensors in next
decade, with the increased usage and manipulation of large data it becomes important to get used to this
technology which refers to computing on sensor itself
Advantages
Data must be transmitted to a centralized data center in a cloud computing system. Modifying or expanding this
data center can be pricey at times. On the other hand, the edge may be utilized to scale your own IoT network
without having to worry about storage. Furthermore, IoT devices can be placed here with just one implantation
• A company's every millisecond is critical to its success. Downtime or latency might cost them
thousands of dollars. Edge computing can reduce latency and hence boost network speed. In
addition, processing data closer to the source of information, considerably lowers the distance it
must travel.
• The data stored in the cloud has a high risk of being hacked. This can be avoided since edge
computing only sends the appropriate data to the cloud. In addition, edge computing does not
always necessitate the use of a network connection. Therefore, even if hackers gain access to the
cloud, not all users' information is at risk.
• Fog computing reduces the volume of data that is sent to the cloud, thereby reducing bandwidth
consumption and related costs.
• Because the initial data processing occurs near the data, latency is reduced, and overall
responsiveness is improved.
3. Network-Agnostic:-
• Although fog computing generally places compute resources at the LAN level -- as opposed to the
device level, which is the case with edge computing -- the network could be considered part of the
fog computing architecture.
• Under the right circumstances, fog computing can be subject to security issues, such as Internet
Protocol (IP) address spoofing or man in the middle (MitM) attacks.
3. Startup Costs:-
• Fog computing is a solution that utilizes both edge and cloud resources, which means that there are
associated hardware costs.
Industrial Internet of Things (IIOT)
Q1. What is IIOT ? Gives some advantages and Disadvantages of IIOT and its Applications?
Ans :- The intelligent communication loop setup between machines enables timely attention to
maintenance issues. The safety level of the operations is also boosted by alleviating the risk factors.
Advantages of IIOT
• Improved efficiency : The biggest advantage of IIoT is that it gives manufacturers the ability to
automate, and therefore optimize their operating efficiency. Robotics and automated machinery can
work more efficiently and accurately, boosting productivity and helping manufacturers streamline their
functions.
• Quality control : By monitoring the condition (speed, vibration, etc.) and calibration of machines
responsible for the creation of a certain product, quality control assessment can instantly be undertaken
following production.
• Cost Savings: By monitoring and optimizing processes, IIoT can help reduce waste,
increase energy efficiency, and lower operating costs.
• Predictive Maintenance: IIoT can predict when equipment or machines may need maintenance or
repairs, reducing unplanned downtime and maintenance costs.
• Data Analytics: IIoT generates large amounts of data, which can be analyzed to identify patterns,
trends, and anomalies. This can provide insights for optimizing operations and improving decision -
making.
Disadvantage of IIOT
• Security risks: The increased connectivity of devices and systems creates more potential entry points
for cyber attacks, which can compromise sensitive data and operations.
• Cost: The deployment of IIoT solutions can be expensive, and may require ongoing investments in
maintenance, upgrades, and training.
• Reliance on connectivity: IIoT systems depend on stable and reliable connectivity, which can be
disrupted by a variety of factors, including network outages, interference, and environmental factors.
Applications of IIOT
• The industrial internet of things (IIoT) refers to the extension and use of the IoT in industrial sectors
and applications.
• A strong focus on machine-to-machine (M2M) communication, big data, and machine learning, the
IIoT enables industries and enterprises to have better efficiency and reliability in their operations.
The IIoT encompasses industrial applications, including robotics, medical devices, and software-defined
production processes
Q2. What is the different Between Cloud Computing and Green Comupting ?
Ans :-
It increases revenue of business organizations and help It reduces carbon footprint of business and
them to achieve business goals, provide faster provide a reputation boost, help business
communication, secure network collaboration, promote responsibly use energy and keep business
efficient utilization of existing resources, etc. running on energy-lean diet.
It is internet service that provides computing needs to It is that a computer and technology is how
computer users. much responsible for environmental change.
It allows company to diversity its network and server It allows companies to improve disposal and
infrastructure. recycling procedures.
It is less cost effective as compared to green computing. It is more cost effective as compared to cloud
computing.
Q2. What is green Cloud Computing ? Explain its applications? Advantages and
Disadvantages ?
Ans :- Green Computing also called as Green IT (Information Technology) or Green Technology refers to the
durable computing of the environment which means eco-friendly use of computers, and it’s related resources.
Advantages of Cloud-Native :
Speed –
Faster to deploy than Cloud-based approach as in cloud-native no hardware and software has to be
deployed while in the case of cloud computing they are slower because of hardware provisioning or
software setup.
Reusability –
Since reusable elements, as well as services, constitute the cloud environment, so they can be maintained
and reused easily.
Reduced Cost –
Since Cloud-native is server-less architecture so reduced cost as compared to a container-based
architecture.
On-demand Infrastructure –
An invisible infrastructure that is easily portable and can be provided whenever there is a requirement or
user demand.
Reliability –
Cloud-native is further scalable, flexible, and quite secure which makes it reliable for consumers.