DEV Community

vikash-agrawal
vikash-agrawal

Posted on

AWS Management Tool

CloudWatch

• It helps to capture the log during the execution.
• In EC2 instance, following 4 metrics are available by default:

o   CPU
 CPU Credit Balance
 CPU Credit Usage
 CPU Surplus Credit Balance
 CPU Surplus Credits Charged
 CPU Utilization
o   Disk
 Disk Read Bytes
 Disk Read Ops
 Disk Write Bytes
 Disk Write Ops
o   Network
 Network in
 Network out
 Network packets in
 Network packets out
o   Status
 Status Check Failed
 Status Check Failed instance
 Status Check Failed system

• Custom Metric also can be created.
• Events allow you to define a kind of trigger to your AWS services, e.g. as soon as the EC2 instance comes up, I would like to allow the DNS name with the public ip address of this EC2 instance, that way we can manage the traffic. Here

o   Events of interest: EC2 instance
o   Rule: as soon as it comes up
o   Action: assign DNS name with public IP address.

• Alarm can be defined to send any notifications based on the alert defined.
• Monitoring

o   Standard: 5 minutes
o   Detailed: 1 minute

• Logs is used to monitor aggregate the logs for the AWS service.

CloudFormation:

• it helps you to develop your own cloud, which includes ALB etc.
• It helps you to draw something like design diagram where you can establish the relationship between various AWS service components.
• The outcomes can be in the form of json and yaml.
• When gets implemented, it defines all the infrastructure like ELB, ASG, EC2 etc.

CloudTrail

• It captures each and every operation happened in AWS environment, it stores the record for only 1 week. It's nothing but the record of your work in AWS.
• It's per AWS account and enabled per region.

Config

• it provides the configuration presentation of your AWs environment.

OpsWorks

• it’s way of automating your environment.
• You need a configuration management service that enables your system administrators to configure and operate your web applications using Chef.
• It uses chefs and chef consists of recipes to maintain a consistent state.

Service Catalog

• it’s the detail about the services which your organization provides to the client.

System Manager

• It manages mainly EC2, like if you want to patch/un patch around 100 of EC2 system.
• AWS Systems Manager Run Command lets you remotely and securely manage the configuration of your managed instances. A managed instance is any Amazon EC2 instance or on-premises machine in your hybrid environment that has been configured for Systems Manager.
o Run Command enables you to automate common administrative tasks and perform ad hoc configuration changes at scale.
o You can use Run Command from the AWS console, the AWS Command Line Interface, AWS Tools for Windows PowerShell, or the AWS SDKs.
o Run Command is offered at no additional cost.

Trusted Advisor

• it advises on what all ports are opened and also let you know if you are going to cross any bill amount, it’s different from Inspector (what is Inspector?)
• AWS Trusted Advisor analyzes your AWS environment and provides best practice recommendations in these five categories:

o   Cost Optimization
o   Performance
o   Fault Tolerance
o   Security
o   Service Limits

• You can use a mnemonic, such as CPFSS, to memorize these five categories.

Managed Services

• it manages your services whether it is auto scaling group, ALB etc.

Top comments (0)