2106004 PAYAL ANARASE
Practical no. 5
Aim:
Case study on Cloud Monitoring and Management
Theory
Cloud Monitoring System:
Cloud Monitoring System (CMS). Cloud monitoring is the
process of reviewing, controlling and managing the operational
workflow and processes within a cloud infrastructure.
It is the use of manual or automated IT monitoring and
management techniques to ensure that a cloud infrastructure or platform
performs optimally.
It is a tool for controlling and managing hardware and software
infrastructures. The cloud monitoring systems provide information of the
platform and Key Performance Indicators (KPI).
Essential tasks of CMS are-
1. Capacity and Resource Planning –
2. Capacity and Resource Management-
3. Data center management- Data center management includes two
fundamental tasks as
a. Monitoring- keeping track of desired hardware and software
b. Data analysis- processing of generated metrics so as to perform
provisioning ,troubleshooting or other management actions.
4. SLA Management-
5. Billing -
6. Troubleshooting-
2106004 PAYAL ANARASE
7. Performance management-
8. Security management-
Cloud computing has three different service layers that are offered as
services.
These are
Infrastructure as a Service, Platform as a Service and Software as a
Service. CMS monitors various elements at each layer as mentioned
below:
1) Infrastructure layer: The CMS monitors all physical and virtual
components of cloud such as CPU, memory, disk, virtual
resources, network traffic etc.
2) Platform layer: The CMS monitors various services and platform
(operating system) related metrics like response time, application
startup time, number of process, number of VM , number of
threads and resources per application etc.
3) Application layer: The CMS monitors different metrics which
provide status of service performance and other service specific
information such as average CPU utilization, query latency, CPU
usage and memory usage etc.
2106004 PAYAL ANARASE
Steps for Cloud Monitoring in Amazon CloudWatch:
Step 1: Select the services in AWS
Step 2: Select EC2 in services
2106004 PAYAL ANARASE
Step 3: Launch The Instance
Step 4: Select an Instance
2106004 PAYAL ANARASE
Step 5: Select the SNS
Step 6: Select Topic option in SNS Dashboard and Click on Create
Topic
2106004 PAYAL ANARASE
Step 7: Click on Create New Topic
Step 8: Add the Topic and Display name and Click on Create Topic
Step 9: Select the Created Instance and Select the Option of Subscibe to
the topic
2106004 PAYAL ANARASE
Step 10: Select the Topic ARN, Protocol, endpoint
Step11: Go to Services and Select Cloud Watch
Step 12: Select Alarm and Select All Metrics down there and Select per
instance metrics
2106004 PAYAL ANARASE
2106004 PAYAL ANARASE
Step 13: Select Instance available over there
Step 14: Select Instance available over there
Step 15: Add the alarm and fill the necessary details
2106004 PAYAL ANARASE
2106004 PAYAL ANARASE
Step 16: Select the created alarm
Step 17: Search IAM and select it
Step 18: Click on create policies and fill details in Visual editor and then
click on review policy
2106004 PAYAL ANARASE
Step 19: fill the fields in Review policy
Step 20: Go to Role and Create the role
2106004 PAYAL ANARASE
Step 21: Fill the details as Role name and description
2106004 PAYAL ANARASE
Step 22: Create script for stop instance
2106004 PAYAL ANARASE
Step 23: Go to the Functions in Lambda and select create function
Step 24: Fill the details
2106004 PAYAL ANARASE
Step 25: Check the state of the Instance
Conclusion:
We have learnt about Amazon CloudWatch that is the Cloud
monitoring tool for cloud and steps to use it and deploy it.