

# Working with Amazon EC2 instances for CodeDeploy
<a name="instances-ec2"></a>

An Amazon EC2 instance is a virtual computing environment that you create and configure using Amazon Elastic Compute Cloud. Amazon EC2 provides scalable computing capacity in the AWS Cloud. You can use Amazon EC2 to launch as many or as few virtual servers as you need for your CodeDeploy deployments.

For more information about Amazon EC2, see [*Amazon EC2 Getting Started Guide*](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/).

The instructions in this section show you how to create and configure Amazon EC2 instances for use in your CodeDeploy deployments.

**Topics**
+ [Create an Amazon EC2 instance for CodeDeploy](instances-ec2-create.md)
+ [Create an Amazon EC2 instance (CloudFormation template)](instances-ec2-create-cloudformation-template.md)
+ [Configure an Amazon EC2 instance](instances-ec2-configure.md)

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS CodeDeploy. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query codedeploy` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
