

# Create Amazon EC2 resources using the AWS CLI
<a name="ec2-aws-cli"></a>

You can create and manage your Amazon EC2 resources using the AWS Command Line Interface (AWS CLI) in a command-line shell. The AWS CLI provides direct access to the APIs for AWS services, such as Amazon EC2.

For syntax and examples for the commands for Amazon EC2, see [ec2](https://docs.aws.amazon.com/cli/latest/reference/ec2/) in the *AWS CLI Command Reference*. You can also find these examples in [aws-cli/awscli/examples/ec2](https://github.com/aws/aws-cli/tree/develop/awscli/examples/ec2) on github.

## Learn more about the AWS CLI
<a name="learn-more-cli"></a>

To learn more about the AWS CLI, see the following resources:
+ [AWS Command Line Interface](https://aws.amazon.com/cli/)
+ [AWS Command Line Interface User Guide for Version 2](https://docs.aws.amazon.com/cli/latest/userguide/)
+ [AWS Command Line Interface User Guide for Version 1](https://docs.aws.amazon.com/cli/v1/userguide/)