---
sourceDocument: Xanadu IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/it-operations-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# AWS Enable EC2 Instance Monitoring action

# AWS Enable EC2 Instance Monitoring action {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Action that turns on monitoring for the selected Amazon Web Services (AWS) Virtual Machine (VM) instance.

## Roles and availability {#cal-aws-enable-ec2-instance-monitoring__section_ej4_1hh_gtb}

Subscription requirements
:   To use this action in custom flows, you must obtain an Integration Hub Enterprise subscription or an App Engine subscription. For more information, see [Request Integration Hub](https://www.servicenow.com/docs/access?context=request-ih-overview&version=xanadu&pubname=xanadu-integrate-applications&ft:locale=en-US).

Role requirements
:   This action requires roles granted by delegated development or assigned to
    the user. For more information, see [User access to Flow
    Designer](https://www.servicenow.com/docs/access?context=user-access-flow-designer&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US).

## Cloud permission {#cal-aws-enable-ec2-instance-monitoring__section_wpl_yyq_jtb}

To execute this action, the caller must have the ec2:MonitorInstances
cloud permission.

## Inputs {#cal-aws-enable-ec2-instance-monitoring__section-inputs}

Provide a value for each input that your action needs. To add
dynamic values, you can also select data pills using the pill picker.{#cal-aws-enable-ec2-instance-monitoring__inputs-description}

Instances
:   Data type: String

    AWS instance ID. Enter the
    comma-separated list of AWS
    instance IDs.

    Example: i-1234567890abcdef0,
    i-1234567761abcdek1

Credential Alias
:   Data type: Record

    Credential alias for the
    AWS credential.

Location
:   Data type: String

    Name of the datacenter.

Use MID
:   Data type: True/False

    Selection to indicate whether to
    use a MID Server to make the outbound
    calls.

MID Server
:   Data type: Record

    MID Server for
    making the outbound calls.

Gov Cloud
:   Data type: True/False

    Not supported.

## Outputs {#cal-aws-enable-ec2-instance-monitoring__section-outputs}

You can use these outputs as inputs for other
actions.{#cal-aws-enable-ec2-instance-monitoring__outputs-description}

Is Access Denied
    : Data type: True/False  
    Server authorization status of the call.

    * True: The server has authorized the call
    * False: The server didn't authorize the call
    {#cal-aws-enable-ec2-instance-monitoring__ul_p2l_lmr_2tb}

Error Message
:   Data type: String

    Error message returned for
    the failed call.

Result
    : Data type: True/False  
    Status of the action.

    * True: Successful
    * False: Failed
    {#cal-aws-enable-ec2-instance-monitoring__ul_lxb_4lr_2tb}

Error Code
:   Data type: String

    Client error code returned for
    the failed call.

