AWS Management Tools Overview
AWS Management Tools Overview
Dr. [Link]
Assistant Professor Senior Grade II
School of Computer Science and Engineering
Vellore Institute of Technology, Vellore
BCSE355L -AWS Solutions Architect
Module 5
2
AWS Management Tools and Cost
Management
• In AWS, Management Tools are a set of services that help you monitor, manage,
automate, and optimize the AWS resources and applications.
• Tools are mainly used by administrators, developers, and DevOps engineers for
governance, compliance, and operational efficiency.
• AWS CloudWatch • AWS Cost Management
• AWS CloudTrail • AWS Free Tier
• AWS Config • AWS Billing and Account Management
• AWS Systems Manager • AWS Budgets
• AWS Trusted Advisor
AWS Management Tools
Provides:
✅ Dashboards for visualizing metrics
✅ Alarms to trigger notifications or actions
✅ Logs to capture application and system logs
✅ Events to respond automatically to changes
AWS CloudWatch
How CloudWatch Works?
AWS CloudWatch
CloudWatch Architecture
AWS CloudWatch
AWS CloudWatch
AWS CloudWatch
AWS CloudWatch
How Automation Works with AWS Lambda and
CloudWatch
AWS CloudWatch
Key Components of CloudWatch
AWS CloudWatch
Key Components of CloudWatch
• This includes how the resources are related to one another and how they were
configured in the past so that you can see how the configurations and relationships
change over time.
• An AWS resource is an entity you can work with in AWS, such as an Amazon Elastic
Compute Cloud (EC2) instance, an Amazon Elastic Block Store (EBS) volume, a
security group, or an Amazon Virtual Private Cloud (VPC).
AWS Config
• AWS Config focuses on tracking resource configuration changes according to your
defined rules
• It continuously records configuration changes across your AWS resources, allowing
you to review what was configured and how it changed over time.
AWS Config
Key functions of AWS Config include:
• Maintaining a historical version of your service settings.
• Keeping an inventory of all AWS resources.
• Continuously monitoring resources for changes.
• Notifying you or triggering automated responses (e.g., via AWS Lambda) when a
configuration rule is violated.
AWS Config
AWS Config is a service that helps you:
•Audit → Track and review configurations of AWS
resources.
•Report → Generate compliance and configuration
reports.
•Locate resources → Identify all AWS resources in your
account.
•Check configurations → Compare current setups against
best practices.
•Assess compliance → Ensure resources comply with
organizational or regulatory requirements.
AWS Config
Configuration item
attributes, relationships (for example, S3 buckets associated with Lambda functions), its
updated, or deleted. You can set the recording frequency to trigger on every change, every
• ERROR - the one of the required/optional parameters is not valid, not of the correct type, or is formatted
incorrectly.
• NOT_APPLICABLE - used to filter out resources that the logic of the rule cannot be applied to. For example,
the alb-desync-mode-check rule only checks Application Load Balancers, and ignores Network Load Balancers
and Gateway Load Balancers.
AWS Config
Rule Evaluation modes in AWS Config
Evaluation modes define how compliance is checked (before or after)
AWS Config
Trigger types in AWS Config
Triggers define when the rules are executed.
Configuration Distributor
Session Manager
Compliance
AWS Systems Manager
AWS Systems Manager
1. AWS Tools and SDKs
Software Development Kits (SDKs) let developers interact programmatically with AWS Systems
Manager.
Enables automation through scripts or code.
2. AWS Management Console
A web-based UI for administrators.
You can access Systems Manager, configure automation, run commands, and monitor resources.
3. AWS Command Line Interface (CLI)
A command-line tool to interact with AWS services.
You can execute Systems Manager commands directly from a terminal (useful for DevOps and
automation).
4. AWS Identity and Access Management (IAM)
Provides secure access control.
Ensures only authorized users or roles can run Systems Manager tasks.
Policies define which actions can be taken (e.g., who can run commands on instances).
5. AWS Systems Manager
The central service connecting everything.
Orchestrates management tasks like patching, updating, and configuration.
Communicates with resources (instances, containers) using Run Command and automation
documents.
AWS Systems
6. SSM Documents (Systems Manager Documents)
Manager
JSON/YAML documents that define the actions Systems Manager performs.
Example: Install a package, patch OS, start/stop services.
Reusable automation templates.
7. Run Command
A Systems Manager feature to remotely execute commands on multiple instances/containers at once.
No need to SSH into each machine.
8. AWS Region → VPC Subnet
Defines the AWS infrastructure boundary where resources (EC2 instances, containers) live.
Systems Manager connects securely to these resources inside a Virtual Private Cloud (VPC).
9. Instances (EC2)
Virtual machines running applications.
Systems Manager can patch, configure, or run scripts on them.
10. Containers
Lightweight application environments (like Docker).
Systems Manager can manage containerized workloads too (start, stop, configure, monitor).
AWS Systems Manager
How does Systems Manager work?
AWS Systems Manager
How does Systems Manager work?
[Link] Systems Manager – The AWS Console provides access to the Systems Manager. You can use the AWS
Command Line Interface, AWS Tools for Windows PowerShell, or the AWS SDK to manage resources
programmatically. You may use Systems Manager to configure, schedule, automate, and execute operations on
your AWS resources and managed nodes. AWS resources include users, groups, and roles in AWS Identity and
Access Management (IAM); AWS Lambda functions; Amazon EC2 Auto Scaling groups; and Amazon Simple
Storage Service (Amazon S3) buckets, to mention a few.
[Link] a Systems Manager capability – More than two dozen functions are included in Systems Manager to
assist you in performing activities on your resources. Only a handful of the features that administrators employ to
configure and manage their resources are shown in the illustration.
[Link] and processing – Systems Manager verifies configurations, including permissions, and makes
requests to the AWS Systems Manager agent (SSM Agent) running on your hybrid environment’s instances, edge
devices, or servers and VMs. The configuration changes given by SSM Agent are implemented.
[Link] – SSM Agent notifies the user, Systems Manager in the AWS Cloud, Systems Manager operations
management capabilities, and various AWS services, if configured, about the status of the configuration changes
and actions.
[Link] Manager operations management capabilities – In reaction to events or issues with your resources,
Systems Manager operations management features such as Explorer OpsCenter and Incident Manager aggregate
operations data or create artifacts such as operational work items (OpsItems) and incidents if enabled. These
features might assist you in investigating and troubleshooting issues
AWS Systems Manager
SSM Agent
• The AWS Systems Manager Agent (SSM Agent) is Amazon software that operates on Amazon
EC2 instances, edge devices, and on-premises servers and virtual computers (VMs).
• Systems Manager may update, manage, and configure these resources using the SSM Agent. The
agent receives requests from the AWS Cloud’s Systems Manager service and executes them as
stated in the request.
• The SSM Agent then uses the Amazon Message Delivery Service (service prefix: ec2messages) to
deliver status and execution information back to the Systems Manager service.
AWS Systems Manager
AWS Systems Manager features
Configuration Compliance
• AWS Systems Manager allows you to check for patch compliance and configuration
inconsistencies on your managed instances.
• You can collect and aggregate data from many AWS accounts and Regions, then drill
down into non-compliant resources.
• AWS Systems Manager shows statistics about patching and associations by default. You
can also personalise the service by creating your own compliance categories to meet
your specific needs.
AWS Systems Manager
AWS Systems Manager features
Configuration Compliance
AWS Systems Manager
AWS Systems Manager features
Automation:
• AWS Systems Manager enables you to automate common and repetitive IT operations and
management tasks across AWS resources in a safe and secure manner.
• You can use JSON documents to specify a specific list of tasks in Systems Manager, or you can
utilize community-published documents.
• These documents can be run immediately from the AWS Management Console, CLIs, and
SDKs, scheduled in a maintenance window, or triggered by Amazon CloudWatch Events based
on changes to AWS resources.
• You can keep track of how each step in the papers is being completed, as well as request
approvals for each step.
• You can also roll out updates in stages and have them stop when mistakes occur.
AWS Systems Manager
AWS Systems Manager features
Run Command:
• Use the Systems Manager Run Command to manage the configuration of your managed
instances at scale remotely and securely.
• Use Run Command to make on-demand changes to a target group of dozens or hundreds of
instances, such as updating software or running Linux shell scripts and Windows PowerShell
commands.
AWS Systems Manager
AWS Systems Manager features
Run Command:
AWS Systems Manager
AWS Systems Manager features
Session Manager:
• AWS Systems Manager allows you to manage your instances at scale safely and securely
without having to log into your servers, eliminating the need for bastion hosts, SSH, or
remote PowerShell.
• It provides a simple way to automate basic administration operations such as registry
modifications, user management, and software and patch deployments across groups of
instances.
• You may apply granular permissions to govern the tasks users can conduct on instances by
integrating with AWS Identity and Access Management (IAM).
• AWS CloudTrail records all actions performed with Systems Manager, allowing you to audit
changes across your environment.
AWS Systems Manager
AWS Systems Manager features
Session Manager:
• .
AWS Systems Manager
AWS Systems Manager features
Patch Manager:
• AWS Systems Manager allows you to choose and apply operating system and software
patches to large groups of Amazon EC2 or on-premises instances automatically.
• Patch baselines allow you to create rules to automatically approve or reject certain kinds of
patches, such as operating systems or high-severity fixes, and you can also specify a list of
patches that override these rules and are approved or refused automatically.
• You can also plan patch maintenance windows so that they are only applied at specific times.
• Systems Manager assists you in keeping your software up to date and compliant with your
regulations.
AWS Systems Manager
AWS Systems Manager features
Maintenance Windows:
• AWS Systems Manager allows you to schedule administrative and maintenance operations
across all of your instances.
• This means that you can install patches and updates or make other configuration changes at a
time that is convenient and safe for you, boosting the availability and reliability of your
services and applications
AWS Systems Manager
AWS Systems Manager features
Maintenance Windows:
AWS Systems Manager
AWS Systems Manager features
Distributor:
• AWS Systems Manager’s Distributor feature allows you to securely store and distribute
software packages around your organization.
• To control the lifespan of the packages running on your instances, you can utilize Distributor
in conjunction with current Systems Manager tools like Run Command and State Manager.
AWS Systems Manager
AWS Systems Manager features
State Manager:
• AWS Systems Manager enables configuration management, allowing you to keep your
Amazon EC2 or on-premises instances configured consistently.
• You can manage configuration parameters such as server configurations, anti-virus
definitions, firewall settings, and more with Systems Manager.
• You can leverage existing scripts, PowerShell modules, or Ansible playbooks directly from
GitHub or Amazon S3 buckets to set configuration policies for your servers using the AWS
Management Console.
• Systems Manager applies your configurations to all of your instances at the time and
frequency you specify.
• You may check the status of your instance configurations in Systems Manager at any time,
giving you on-demand visibility into your compliance status.
AWS Systems Manager
AWS Systems Manager features
Parameter Store:
• AWS Systems Manager acts as a single repository for all of your configuration data,
including plain-text data like database strings and secrets like passwords.
• This allows you to segregate your code from your secrets and configuration data. Parameters
can be labeled and arranged into hierarchies to make it easier to handle them.
• To save various values, you can use the same parameter name, “db-string,” but a different
hierarchical path, “dev/db-string” or “prod/db-string.”
• AWS Key Management Service (KMS) is linked with Systems Manager, allowing you to
automatically encrypt the data you save.
• You may also use AWS Identity and Access Management to control user and resource access
to parameters (IAM). Other AWS services, such as Amazon Elastic Container Service, AWS
Lambda, and AWS CloudFormation, can reference parameters
AWS Systems Manager
AWS Systems Manager features
Parameter Store:
AWS Cost Management
• AWS Cost Management is an important part of the effective use of cloud services in
order to help ensure organizations can monitor costs, optimize the use of resources, and
maintain financial accountability.
• The days of staff with a technical inclination who run and build clusters of servers are
long behind us, but simply using AWS has left most organizations with little knowledge
of how to manage costs on the AWS platform.
• The company offers several tools and best practices for AWS cost monitoring, analysis,
and managing spend.
• AWS Cost Management offers a full suite of ways to help set budgets and forecast costs,
including the use of discounted pricing models, RIs, and Savings Plans.
AWS Cost Management
AWS Billing and Cost Management provides a suite of features to help you set up your
billing, retrieve and pay invoices, and analyze, organize, plan, and optimize your costs.
Features of AWS Billing and Cost Management:
• Billing and payments
• Cost analysis
• Cost organization
• Budgeting and planning
• Savings and commitments
Billing and payments
Understand your monthly charges, view and pay invoices, and manage preferences
for billing, invoices, tax, and payments.
Bills page – Download invoices and view detailed monthly billing data to understand
how your charges were calculated.
Purchase orders – Create and manage your purchase orders to comply with your
organization’s unique procurement processes.
Payments – Understand your outstanding or past-due payment balance and payment
history.
Payment profiles – Set up multiple payment methods for different AWS service
providers or parts of your organization.
Credits – Review credit balances and choose where credits should be applied.
Billing preferences – Enable invoice delivery by email and your preferences for
credit sharing, alerts, and discount sharing.
Cost analysis
Analyze your costs, export detailed cost and usage data, and forecast your spending.
AWS Cost Explorer – Analyze your cost and usage data with visuals, filtering, and grouping. You can
forecast your costs and create custom reports.
Data exports – Create custom data exports from Billing and Cost Management datasets.
Cost Anomaly Detection – Set up automated alerts when AWS detects a cost anomaly to reduce
unexpected costs.
AWS Free Tier – Monitor current and forecasted usage of free tier services to avoid unexpected costs.
Split cost allocation data – Enable detailed cost and usage data for shared Amazon Elastic Container
Service (Amazon ECS) resources.
Cost Management preferences – Manage what data that member accounts can view, change account
data granularity, and configure cost optimization preferences.
Cost organization
Organize your costs across teams, applications, or end customers.
Cost categories – Map costs to teams, applications, or environments, and then view
costs along these dimensions in Cost Explorer and data exports. Define split charge rules
to allocate shared costs.
Cost allocation tags – Use resource tags to organize, and then view costs by cost
allocation tag in Cost Explorer and data exports.
Budgeting and planning
Estimate the cost of a planned workload, and create budgets to track and control
costs.
Budgets – Set custom budgets for cost and usage to govern costs across your
organization and receive alerts when costs exceed your defined thresholds.
Savings and commitments
Optimize resource usage and use flexible pricing models to lower your bill.
AWS Cost Optimization Hub – Identify savings opportunities with tailored
recommendations including deleting unused resources, rightsizing, Savings Plans, and
reservations.
Savings Plans – Reduce your bill compared to on-demand prices with flexible pricing
models. Manage your Savings Plans inventory, review purchase recommendations, and
analyze Savings Plan utilization and coverage.
Reservations – Reserve capacity at discounted rates for Amazon Elastic Compute Cloud
(Amazon EC2), Amazon Relational Database Service (Amazon RDS), Amazon Redshift,
Amazon DynamoDB, and more.
AWS pricing model
Three fundamental drivers of cost with AWS
99
How do you pay for AWS?
100
Pay for what you use
Pay only for the services that you consume,
with no large
upfront expenses.
On premises AWS
101
Pay less when you reserve
Invest in Reserved Instances (RIs):
Save up to 75 percent
Options:
All Upfront Reserved Instance EC2
(AURI) → largest instance
discount
Partial Upfront Reserved NURI PURI AURI
• As AWS grows:
• AWS focuses on lowering cost of doing business.
• This practice results in AWS passing savings from economies
of scale to you.
• Since 2006, AWS has lowered pricing 75 times (as of
September 2019).
• Future higher-performing resources replace current resources
for no extra charge.
104
Custom pricing
105
AWS Pricing calculator
• You can set a custom time period and determine whether you would like to
view your data at a monthly or daily level of granularity.
• With the filtering and grouping functionality, you can further analyze your
data using a variety of available dimensions. The AWS Cost and Usage
Report Tool enables you to identify opportunities for optimization by
understanding your cost and usage data trends and how you are using your
AWS implementation.
108
AWS Billing Dashboard
109
AWS Billing Dashboard
• The AWS Billing Dashboard lets you view the status of your month-to-date
AWS expenditure, identify the services that account for the majority of your
overall expenditure, and understand at a high level how costs are trending.
• One of the graphs that is located on the dashboard is the Spend Summary. The
Spend Summary shows you how much you spent last month, the estimated costs
of your AWS usage for the month to date, and a forecast for how much you are
likely to spend this month.
• Another graph is Month-to-Date Spend by Service, which shows the top services
that you use most and the proportion of costs that are attributed to that service
Monthly bills
111
Cost Explorer
112
Forecast and track costs
113
Cost and usage reporting
114
AWS Free Tier
The AWS Free Tier lets you try services for free for the specified
period.
➢ Always Free
➢ 12 Months Free
➢ Trials
AWS Budgets
• You can use AWS Budgets to track and take action on your AWS
costs and usage.
.
• Setting a monthly cost budget with a variable target amount, with each
subsequent month growing the budget target by 5 percent. Then, you can configure
your notifications for 80 percent of your budgeted amount and apply an action. For
example, you could automatically apply a custom IAM policy that denies you the
ability to provision additional resources within an account.
• Setting a monthly usage budget with a fixed usage amount and forecasted
notifications to help ensure that you are staying within the service limits for a
specific service. You can also be sure you are staying under a specific AWS Free
Tier offering.
• Setting a daily utilization or coverage budget to track your RI or Savings Plans.
You can choose to be notified through email and Amazon SNS topics when your
utilization drops below 80 percent
Budget Types
• AWS Budgets information is updated up to three times a day. Updates typically occur 8–12 hours
after the previous update. Budgets can track your unblended, amortized, and blended costs.
Budgets can include or exclude charges such as discounts, refunds, support fees, and taxes.
• You can create the following types of budgets:
• Cost budgets – Plan how much you want to spend on a service.
• Usage budgets – Plan how much you want to use one or more services.
• RI utilization budgets – Define a utilization threshold and receive alerts when your RI usage
falls below that threshold. This lets you see if your RIs are unused or under-utilized.
• RI coverage budgets – Define a coverage threshold and receive alerts when the number of
your instance hours that are covered by RIs fall below that threshold. This lets you see how
much of your instance usage is covered by a reservation.
• Savings Plans utilization budgets – Define a utilization threshold and receive alerts
when the usage of your Savings Plans falls below that threshold. This lets you see if
your Savings Plans are unused or under-utilized.
• Savings Plans coverage budgets – Define a coverage threshold and receive alerts
when your Savings Plans eligible usage that is covered by Savings Plans fall below
that threshold. This lets you see how much of your instance usage is covered by
Savings Plans.
• You can set up optional notifications that warn you if you exceed, or are forecasted to exceed, your
budgeted amount for cost or usage budgets. Or if you fall below your target utilization and coverage for RI
or Savings Plans budgets. You can have notifications sent to an Amazon SNS topic, to an email address, or
to both.
• If you use consolidated billing in an organization and you own the management account, you can use
IAM policies to control access to budgets by member accounts. By default, owners of member accounts can
create their own budgets but can't create or edit budgets for other users. You can create roles with
permissions that allow users to create, edit, delete, or read budgets in a specific account. However, we don't
support cross-account usage.
• A budget is only visible to users with access to the account that created the budget, and with access to
the budget itself. For example, a management account can create a budget that tracks a specific member
account's cost, but the member account can only view the same budget if they receive access to the
management account.
Budget Creation using budget template (simplified)
1. Sign in to the AWS Management Console and open the AWS Cost Management
console at [Link]
2. In the navigation pane, choose Budgets.
3. At the top of the page, choose Create budget.
4. Under Budget setup, choose Use a template (simplified).
5. Under Templates, choose a template that best matches your use case:
• Zero spend budget: A budget that notifies you after your spending exceeds AWS Free Tier
limits.
• Monthly cost budget: A monthly budget that notifies you if you exceed, or are forecasted to
exceed, the budget amount.
• Daily Savings Plans coverage budget: A coverage budget for your Savings Plans that
notifies you when you fall below the defined target. This helps you to identify your on
demand spend sooner so that you can consider purchasing a new commitment.
• Daily reservation utilization budget: A utilization budget for your Reserved Instances that
notifies you when you fall below the defined target. This helps you to identify when you're
not using some of your hourly commitment that you already purchased.
6. Update the details and settings for your specific template.
7. Choose Create budget.
Customizing a budget (advanced)
Customizing a budget (advanced) You can customize a budget to set parameters specific to your
use case. You can customize the time period, the start month, and specific accounts. Creating a
customized budget involves a 5-step workflow.
You can choose between four main budget types that track against the following:
• Cost (see Creating a cost budget)
• Usage (see Creating a usage budget)
• Savings Plans (see Creating a Savings Plans budget)
• Savings Plans utilization
• Savings Plans coverage
• Reservation (see Creating a reservation budget)
• Reservation utilization
• Reservation coverage
AWS Trusted Advisor
The dashboard gives you an overview of the completed checks and results per
category.
Green check: no problems
Orange triangle: recommended investigations
Red circle: recommended actions
AWS Trusted Advisor
127
Best Practices Of AWS Trusted Advisor At
No Charge
Service Limits Check – This check inspects your usage with regard to the most
important service limits for each AWS product. It alerts you when you are using more
than 80% of your allocation resources such as EC2 instances and EBS volumes.
Security Groups – Specific Ports Unrestricted Check – This check will look for and
notify you of overly permissive access to your EC2 instances and help you to avoid
malicious activities such as hacking, denial-of-service attacks, and loss of data.
IAM Use Check – This check alerts you if you are using account-level credentials to
control access to your AWS resources instead of following security best practices by
creating users, groups, and roles to control access to the resources.
128
Best Practices Of AWS Trusted Advisor At
No Charge
MFA on Root Account Check – This check recommends the use of multi-
factor authentication (MFA), to improve security by requiring additional
authentication data from a secondary device.
129
AWS Trusted Advisor
131
AWS Trusted Advisor Automation –
Scenario-1
132
AWS Trusted Advisor Automation –
Scenario-1
133
AWS Trusted Advisor
To sign in to the Trusted Advisor console