--- title: AWS EC2 description: '' slug: /help/docs/integrations/outbound/integrations-via-api/aws-ec2/ canonical: https://www.sumologic.com/help/docs/integrations/outbound/integrations-via-api/aws-ec2/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; aws ***Version: 1.7.0 Updated: December 3, 2026*** Using the integration with [EC2](https://docs.aws.amazon.com/ec2/), you can enrich incidents with specific EC2 data, create and delete snapshots, work with elastic addresses and instances, and manipulate security groups. ## Actions * **Authorize Security Group Ingress Rule** (*Containment*) - Adds the specified ingress rules to a security group. * **Create Snapshot** (*Containment*) - Creates a new snapshot. * **Delete Security Group** (*Containment*) - Delete a security group. * **Delete Snapshot** (*Containment*) - Deletes an existing snapshot. * **Describe Addresses** (*Enrichment*) - Describes the specified Elastic IP addresses or all Elastic IP addresses. * **Describe Instances** (*Enrichment*) - Describes the specified instances or all of AWS account's instances. * **Describe Instances V2** (*Enrichment*) - Describes the specified instances or all of AWS account's instances with pagination. * **Describe Key Pairs** (*Enrichment*) - Describes the specified key pairs or all key pairs. * **Describe Regions** (*Enrichment*) - Describes the Regions that are enabled for an account, or all Regions. * **Describe Subnets** (*Enrichment*) - Describes one or more subnets. * **Describe Security Groups** (*Enrichment*) - Describes the specified security groups or all security groups. * **Describe Snapshots** (*Enrichment*) - Describes a specified EBS snapshots or all of the EBS snapshots available. * **Describe Volumes** (*Enrichment*) - Describes the specified EBS volumes or all EBS volumes. * **Describe VPCs** (*Enrichment*) - Describes one or more VPCs. * **Disassociate Address** (*Containment*) - Disassociates an Elastic IP address from an instance or network interface it's associated with. * **Get Password Data** (*Enrichment*) - Retrieves the encrypted administrator password for a running Windows instance. * **Monitor Instance** (*Containment*) - Monitor a specific instance. * **Release Address** (*Containment*) - Releases the specified Elastic IP address. * **Reboot Instances** (*Containment*) - Reboot instances. * **Revoke Security Group Ingress Rule** (*Containment*) - Removes the specified ingress rules from a security group. * **Start Instance** (*Containment*) - Start an instance. * **Stop Instance** (*Containment*) - Stop an instance. * **Terminate Instance** (*Containment*) - Terminate an instance. * **Unmonitor Instances** (*Containment*) - Discontinue monitoring of a specified instances. **Supported Versions** * October 2019 ## External Libraries * [AWS EC2](https://github.com/boto/boto3/blob/develop/LICENSE) ## Configure AWS EC2 in Automation Service and Cloud SOAR import IntegrationsAuth from '../../../reuse/integrations-authentication.md'; import IntegrationsAuthAWS from '../../../reuse/integrations-authentication-aws.md'; import IAMConfiguration from '../../../reuse/automation-service/aws/iam-configuration.md'; import AWSRegions from '../../../reuse/automation-service/aws/region.md'; import AWSAccesskey from '../../../reuse/automation-service/aws/access-key.md'; import AWSSecret from '../../../reuse/automation-service/aws/secret.md'; import AWSIAMRole from '../../../reuse/automation-service/aws/iam-role.md'; import IntegrationCertificate from '../../../reuse/automation-service/integration-certificate.md'; import IntegrationEngine from '../../../reuse/automation-service/integration-engine.md'; import IntegrationLabel from '../../../reuse/automation-service/integration-label.md'; import IntegrationProxy from '../../../reuse/automation-service/integration-proxy.md'; * * * * * * * * **Timeout (seconds)**. (Optional) Enter the maximum time, in seconds, to wait for AWS API calls. If empty, the default is `180`. AWS EC2 configuration For information about AWS EC2, see [EC2 documentation](https://docs.aws.amazon.com/ec2/). ### AWS IAM role-based access ## Pagination The **Describe Instances**, **Describe Security Groups**, **Describe Snapshots**, **Describe Subnets**, **Describe VPCs**, and **Describe Volumes** actions include an optional **Fetch All Pages** checkbox. When you select it, the action retrieves all pages of results and merges them into one response, and **Max Results** sets the page size. If you provide a **Next Token**, fetching starts from that token. If you leave the checkbox cleared, the action returns a single page. AWS does not allow **Max Results** together with resource IDs in the same request. ## Dry run When you select **Dry Run** in an action, AWS validates your permissions without making the change. A successful dry run returns the output field `DryRun` set to `true`, along with a `Message` field containing the AWS response, instead of returning an error. AWS errors include the error code and message, and permission errors suggest checking the IAM permissions and credentials configured for the integration. ## Required Permissions ``` ec2:AuthorizeSecurityGroupIngress ec2:CreateSnapshot ec2:DeleteSecurityGroup ec2:DeleteSnapshot ec2:DescribeAddresses ec2:DescribeInstances ec2:DescribeKeyPairs ec2:DescribeRegions ec2:DescribeSubnets ec2:DescribeSecurityGroups ec2:DescribeSnapshots ec2:DescribeVolumes ec2:DescribeVpcs ec2:DisassociateAddress ec2:GetPasswordData ec2:MonitorInstances ec2:ReleaseAddress ec2:RebootInstances ec2:RevokeSecurityGroupIngress ec2:StartInstances ec2:StopInstances ec2:TerminateInstances ec2:UnmonitorInstances ``` ## Limitations Local [Automation Bridge](/docs/platform-services/automation-service/automation-service-bridge/) is not supported in this version. ## Change Log | Version | Date | Description | |:--|:------------------|:--| | v1.7.0 | December 3, 2026 |
  • Added an optional **Fetch All Pages** checkbox to the **Describe Instances**, **Describe Security Groups**, **Describe Snapshots**, **Describe Subnets**, **Describe VPCs**, and **Describe Volumes** actions.
  • Added a configurable **Timeout (seconds)** field to the integration configuration. The default is 180 seconds.
  • Improved error handling. A successful dry run is now treated as success, and AWS errors are clearer.
  • Fixed **Dry Run** in the **Release Address** and **Disassociate Address** actions.
  • Fixed tagging in the **Create Snapshot** action.
| | v1.6 | July 29, 2025 | Added support for IAM role authentication. Users can now authenticate using an AWS IAM Role in addition to access key–based authentication. | | v1.5 | February 04, 2025 | Added a new action: **Describe Instances V2**. | | v1.4 | July 04, 2024 | Updated the **Describe Instances** action to resolve a bug related to the Instance ID field. | | v1.3 | January 16, 2024 | Updated the **Stop Instance** action to resolve a bug related to checkbox fields. | | v1.2 | June 15, 2023 | Updated the integration with Environmental Variables. | | | March 10, 2022 | Updated the logo in AWS EC2 integration. | | | October 9, 2019 | Initial release of the AWS EC2 integration. |