docs.aws.amazon.com Open in urlscan Pro
176.32.98.189  Public Scan

URL: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html
Submission: On August 25 via api from US

Form analysis 0 forms found in the DOM

Text Content

SELECT YOUR COOKIE PREFERENCES

We use cookies and similar tools to enhance your experience, provide our
services, deliver relevant advertising, and make improvements. Approved third
parties also use these tools to help us deliver advertising and provide certain
site features.

CustomizeAccept all


CUSTOMIZE COOKIE PREFERENCES

We use cookies and similar tools (collectively, "cookies") for the following
purposes.


ESSENTIAL

Essential cookies are necessary to provide our site and services and cannot be
deactivated. They are usually set in response to your actions on the site, such
as setting your privacy preferences, signing in, or filling in forms.




PERFORMANCE

Performance cookies provide anonymous statistics about how customers navigate
our site so we can improve site experience and performance. Approved third
parties may perform analytics on our behalf, but they cannot use the data for
their own purposes.

Allow performance category
Allowed


FUNCTIONAL

Functional cookies help us provide useful site features, remember your
preferences, and display relevant content. Approved third parties may set these
cookies to provide certain site features. If you do not allow these cookies,
then some or all of these services may not function properly.

Allow functional category
Allowed


ADVERTISING

Advertising cookies may be set through our site by us or our advertising
partners and help us deliver relevant marketing content. If you do not allow
these cookies, you will experience less relevant advertising.

Allow advertising category
Allowed

Blocking some types of cookies may impact your experience of our sites. You may
review and change your choices at any time by clicking Cookie preferences in the
footer of this site. We and selected third-parties use cookies or similar
technologies as specified in the AWS Cookie Notice

.

CancelSave preferences


English

Sign In to the Console
 1. AWS
 2. ...
 3. Documentation
 4. Amazon EC2
 5. User Guide for Linux Instances


Feedback
Preferences
Amazon Elastic Compute Cloud
User Guide for Linux Instances
 * What is Amazon EC2?
 * Set up
 * Get started tutorial
 * Best practices
 * Tutorials
    * Install LAMP on Amazon Linux 2
    * Configure SSL/TLS on Amazon Linux 2
    * Host a WordPress blog on Amazon Linux 2
    * Install LAMP on the Amazon Linux AMI
    * Configure SSL/TLS with the Amazon Linux AMI

 * Amazon Machine Images
    * AMI types
    * Virtualization types
    * Boot modes
    * Find a Linux AMI
    * Shared AMIs
       * Find shared AMIs
       * Make an AMI public
       * Share an AMI with specific AWS accounts
       * Use bookmarks
       * Guidelines for shared Linux AMIs
   
    * Paid AMIs
    * AMI lifecycle
       * Create an AMI
          * Create an Amazon EBS-backed Linux AMI
          * Create an instance store-backed Linux AMI
             * Set up the AMI tools
             * Create an AMI from an instance store-backed instance
             * Convert to an Amazon EBS-Backed AMI
             * AMI tools reference
      
       * Copy an AMI
       * Store and restore an AMI
       * Deprecate an AMI
       * Deregister your Linux AMI
       * Automate the EBS-backed AMI lifecycle
   
    * Use encryption with EBS-backed AMIs
    * Understand AMI billing
       * AMI billing fields
       * Find AMI billing information
       * Verify AMI charges on your bill
   
    * Amazon Linux
       * Run Amazon Linux 2 on premises
       * Kernel Live Patching
   
    * User provided kernels
    * Configure the MATE desktop connection

 * Instances
    * Instances and AMIs
    * Instance types
       * General purpose
          * Burstable performance instances
             * Key concepts
             * Unlimited mode
                * Concepts
                * Examples
            
             * Standard mode
                * Concepts
                * Examples
            
             * Work with burstable performance instances
             * Monitor your CPU credits
         
          * Mac instances
      
       * Compute optimized
       * Memory optimized
       * Storage optimized
       * Accelerated computing
          * Install NVIDIA drivers
          * Install AMD drivers
          * Activate NVIDIA GRID Virtual Applications
          * Optimize GPU settings
      
       * Find an instance type
       * Change the instance type
          * Requirements
          * Compatibility for resizing instances
          * Resize an Amazon EBS–backed instance
          * Migrate an instance store-backed instance
          * Migrate to a new instance configuration
      
       * Get recommendations
   
    * Instance purchasing options
       * On-Demand Instances
       * Reserved Instances
          * Regional and zonal Reserved Instances (scope)
          * Types of Reserved Instances (offering classes)
          * How Reserved Instances are applied
          * Use your Reserved Instances
          * How you are billed
          * Buying Reserved Instances
          * Sell in the Reserved Instance Marketplace
          * Modify Reserved Instances
          * Exchange Convertible Reserved Instances
      
       * Scheduled Instances
       * Spot Instances
          * Best practices
          * How Spot Instances work
          * Spot Instance pricing history
          * Savings
          * Spot Instance requests
             * Example launch specifications
         
          * Spot request status
          * Rebalance recommendations
          * Spot Instance interruptions
          * Spot Instance data feed
          * Spot Instance limits
          * Burstable performance instances
      
       * Dedicated Hosts
          * Work with Dedicated Hosts
          * Work with shared Dedicated Hosts
          * Host recovery
          * Track configuration changes
      
       * Dedicated Instances
       * On-Demand Capacity Reservations
          * Capacity Reservation pricing and billing
          * Work with Capacity Reservations
          * Capacity Reservations in Local Zones
          * Capacity Reservations in Wavelength Zones
          * Capacity Reservations on AWS Outposts
          * Work with shared Capacity Reservations
          * CloudWatch metrics
   
    * Instance lifecycle
       * Launch
          * Launch using the launch instance wizard
          * Launch using a launch template
          * Launch an instance from an existing instance
          * Use an AWS Marketplace instance
      
       * Connect
          * Prerequisites for connecting
          * Connect using SSH
          * Connect using EC2 Instance Connect
             * Set up EC2 Instance Connect
             * Connect using EC2 Instance Connect
             * Uninstall EC2 Instance Connect
         
          * Connect using PuTTY
          * Connect using WSL
          * Connect using Session Manager
      
       * Stop and start
       * Hibernate
       * Reboot
       * Retire
       * Terminate
       * Recover
   
    * Configure instances
       * Manage software
          * Update software
          * Add repositories
          * Find software packages
          * Install software
          * Prepare to compile software
      
       * Manage users
       * Processor state control
       * Set the time
       * Optimize CPU options
       * Change the hostname
       * Set up dynamic DNS
       * Run commands at launch
       * Instance metadata and user data
          * Use IMDSv2
          * Configure the instance metadata options
          * Retrieve instance metadata
          * Work with instance user data
          * Retrieve dynamic data
          * Instance metadata categories
          * Example: AMI launch index value
          * Instance identity documents
             * Verify using the PKCS7 signature
             * Verify using the base64-encoded signature
             * Verify using the RSA-2048 signature
   
    * Elastic Inference
    * Identify instances

 * Fleets
    * EC2 Fleet
       * EC2 Fleet request types
          * EC2 Fleet 'instant' type
      
       * EC2 Fleet configuration strategies
       * Work with EC2 Fleets
   
    * Spot Fleet
       * How Spot Fleet works
       * Spot Fleet requests
       * CloudWatch metrics for Spot Fleet
       * Automatic scaling for Spot Fleet
          * Target tracking scaling policies
          * Step scaling policies
          * Scheduled scaling
   
    * Monitor fleet events
       * EC2 Fleet event types
       * Spot Fleet event types
       * Create EventBridge rules
          * For EC2 Fleet events
          * For Spot Fleet events
   
    * Tutorials
       * Tutorial: Use EC2 Fleet with instance weighting
       * Tutorial: Use EC2 Fleet with On-Demand as the primary capacity
       * Tutorial: Use Spot Fleet with instance weighting
   
    * Example configurations
       * EC2 Fleet example configurations
       * Spot Fleet example configurations
   
    * Fleet quotas

 * Monitor
    * Automated and manual monitoring
    * Best practices for monitoring
    * Monitor the status of your instances
       * Instance status checks
       * Scheduled events
          * Define event windows for scheduled events
   
    * Monitor your instances using CloudWatch
       * Enable detailed monitoring
       * List available metrics
       * Get statistics for metrics
          * Get statistics for a specific instance
          * Aggregate statistics across instances
          * Aggregate statistics by Auto Scaling group
          * Aggregate statistics by AMI
      
       * Graph metrics
       * Create an alarm
       * Create alarms that stop, terminate, reboot, or recover an instance
   
    * Automate Amazon EC2 with EventBridge
    * Monitor memory and disk metrics
       * Deprecated: Collect metrics using the CloudWatch monitoring scripts
   
    * Log API calls with AWS CloudTrail

 * Networking
    * Regions and Zones
    * Instance IP addressing
       * Multiple IP addresses
   
    * Bring your own IP addresses
    * Assigning prefixes
       * Work with prefixes
   
    * Elastic IP addresses
    * Network interfaces
       * Scenarios for network interfaces
       * Best practices for configuring network interfaces
       * Requester-managed network interfaces
   
    * Network bandwidth
    * Enhanced networking
       * Enhanced networking: ENA
       * Enhanced networking: Intel 82599 VF
       * Operating system optimizations
       * Network performance metrics
       * Troubleshoot ENA
   
    * Elastic Fabric Adapter
       * Get started with EFA and MPI
       * Get started with EFA and NCCL
          * Use a base AMI
          * Use an AWS Deep Learning AMI
      
       * Work with EFA
       * Monitor an EFA
       * Verify the EFA installer using a checksum
   
    * Placement groups
    * Network MTU
    * Virtual private clouds
    * EC2-Classic
       * ClassicLink
       * Migrate from EC2-Classic to a VPC

 * Security
    * Infrastructure security
    * Interface VPC endpoints
    * Resilience
    * Data protection
    * Identity and access management
       * IAM policies
          * Policy structure
          * Tag resources during creation
          * Control access to EC2 resources using resource tags
          * Example policies for CLI or SDK
          * Example policies for the console
      
       * AWS managed policies
       * IAM roles
       * Network access
   
    * Key pairs
       * Connect to your Linux instance if you lose your private key
   
    * Security groups
       * Security group rules
       * Connection tracking
       * Default and custom security groups
       * Work with security groups
       * Security group rules for different use cases
   
    * Update management
    * Compliance validation

 * Storage
    * Amazon EBS
       * EBS volumes
          * EBS volume types
          * Size and configuration constraints
          * Create a volume
          * Attach a volume to an instance
          * Attach a volume to multiple instances
          * Make a volume available for use
          * View volume details
          * Replace a volume
          * Monitor the status of your volumes
          * Detach a volume from an instance
          * Delete a volume
      
       * EBS snapshots
          * Create snapshots
          * Delete a snapshot
          * Copy a snapshot
          * View snapshot information
          * Share a snapshot
          * Local snapshots on Outposts
          * Access a snapshot
             * Log API calls with AWS CloudTrail
             * Interface VPC endpoints
             * Idempotency for StartSnapshot API
         
          * Automate the snapshot lifecycle
      
       * Amazon Data Lifecycle Manager
          * Automate snapshot lifecycles
          * Automate AMI lifecycles
          * Automate cross-account snapshot copies
          * View, modify, and delete lifecycle policies
          * AWS Identity and Access Management
             * AWS managed policies
             * IAM service roles
             * Permissions for IAM users
             * Permissions for encryption
         
          * Monitor the lifecycle of snapshots and AMIs
             * Monitor your policies using CloudWatch Events
             * Monitor your policies using Amazon CloudWatch
      
       * EBS data services
          * Elastic volumes
             * Requirements
             * Request volume modifications
             * Monitor modifications
             * Extend a file system
         
          * EBS encryption
          * Fast snapshot restore
      
       * EBS volumes and NVMe
       * EBS optimization
       * EBS performance
          * I/O characteristics and monitoring
          * Initialize volumes
          * RAID configuration
          * Benchmark EBS volumes
      
       * EBS CloudWatch metrics
       * EBS CloudWatch events
       * EBS quotas
   
    * Instance store
       * Add instance store volumes
       * SSD instance store volumes
       * Instance store swap volumes
       * Optimize disk performance
   
    * File storage
       * Amazon S3
       * Amazon EFS
   
    * Instance volume limits
    * Root device volume
    * Device names
    * Block device mappings

 * Resources and tags
    * Resource locations
    * Resource IDs
    * List and filter your resources
    * Tag your resources
    * Service quotas
    * Usage reports

 * Troubleshoot
    * Troubleshoot launch issues
    * Connect to your instance
    * Stop your instance
    * Terminate your instance
    * Failed status checks
    * Troubleshoot an unreachable instance
    * Boot from the wrong volume
    * EC2Rescue for Linux
       * Install EC2Rescue for Linux
       * (Optional) Verify the signature of EC2Rescue for Linux
       * Work with EC2Rescue for Linux
       * Develop EC2Rescue modules
   
    * EC2 Serial Console
       * Configure access to the EC2 Serial Console
       * Connect to the EC2 Serial Console
       * Terminate an EC2 Serial Console session
       * Troubleshoot your instance using the EC2 Serial Console
          * Troubleshoot your Linux instance using GRUB
          * Troubleshoot your Linux instance using SysRq
   
    * Send a diagnostic interrupt

 * Document history


Enable or turn off detailed monitoring for your instances - Amazon Elastic
Compute Cloud
AWSDocumentationAmazon EC2User Guide for Linux Instances
Required IAM permissionsEnable detailed monitoringTurn off detailed monitoring


ENABLE OR TURN OFF DETAILED MONITORING FOR YOUR INSTANCES

PDF
Kindle
RSS

By default, your instance is enabled for basic monitoring. You can optionally
enable detailed monitoring. After you enable detailed monitoring, the Amazon EC2
console displays monitoring graphs with a 1-minute period for the instance.

The following describes the data interval and charge for basic and detailed
monitoring for instances.

Monitoring type Description Charges Basic monitoring Data is available
automatically in 5-minute periods. No charge Detailed monitoring Data is
available in 1-minute periods. To get this level of data, you must specifically
enable it for the instance. For the instances where you've enabled detailed
monitoring, you can also get aggregated data across groups of similar instances.
You are charged per metric that is sent to CloudWatch. You are not charged for
data storage. For more information, see Paid tier and Example 1 - EC2 Detailed
Monitoring on the Amazon CloudWatch pricing page.

Topics

 * Required IAM permissions
 * Enable detailed monitoring
 * Turn off detailed monitoring


REQUIRED IAM PERMISSIONS

To enable detailed monitoring for an instance, your IAM user must have
permission to use the MonitorInstances API action. To turn off detailed
monitoring for an instance, your IAM user must have permission to use the
UnmonitorInstances API action.


ENABLE DETAILED MONITORING

You can enable detailed monitoring on an instance as you launch it or after the
instance is running or stopped. Enabling detailed monitoring on an instance does
not affect the monitoring of the EBS volumes attached to the instance. For more
information, see Amazon CloudWatch metrics for Amazon EBS.

anchoranchoranchor
 * New console
 * Old console
 * AWS CLI

To enable detailed monitoring for an existing instance

 1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

 2. In the navigation pane, choose Instances.

 3. Select the instance and choose Actions, Monitoring, Manage detailed
    monitoring.

 4. On the Detailed monitoring detail page, for Detailed monitoring, select the
    Enable check box.

 5. Choose Save.

To enable detailed monitoring when launching an instance

When launching an instance using the AWS Management Console, select the
Monitoring check box on the Configure Instance Details page.





TURN OFF DETAILED MONITORING

You can turn off detailed monitoring on an instance as you launch it or after
the instance is running or stopped.

anchoranchoranchor
 * New console
 * Old console
 * AWS CLI

To turn off detailed monitoring

 1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

 2. In the navigation pane, choose Instances.

 3. Select the instance and choose Actions, Monitoring, Manage detailed
    monitoring.

 4. On the Detailed monitoring detail page, for Detailed monitoring, clear the
    Enable check box.

 5. Choose Save.



© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thanks for your vote. To provide details, send feedback.

This page is helpful.

Thanks for your vote. To provide details, send feedback.

This page is not helpful.


Javascript is disabled or is unavailable in your browser.

To use the Amazon Web Services Documentation, Javascript must be enabled. Please
refer to your browser's Help pages for instructions.

Document Conventions
Monitor your instances using CloudWatch
List available metrics
Did this page help you?
Yes No

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of
it.

Feedback




Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

Feedback




Provide feedback

Edit this page on GitHub
Previous topic: Monitor your instances using CloudWatch

Next topic: List available metrics
Need help?
   
 * Try the forums
   
   
 * Connect with an AWS IQ expert
   

Privacy
Site terms
Cookie preferences
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of
it.

Feedback

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

Feedback


On this page
 * Required IAM permissions
 * Enable detailed monitoring
 * Turn off detailed monitoring