ec2

EC2

Compute & WebAWS
General

General information about the service.

Description

Amazon Elastic Compute Cloud provides resizable compute capacity in the cloud as virtual servers.

Service Namespace

AWS::EC2::Instance

ARN Pattern

arn:aws:ec2:{region}:{account}:instance/{instance-id}

References

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

ec2-

Length

1-255

Valid Characters

Letters, numbers, and hyphens

Scope

region

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "aws_instance" "main" {
2 ami = var.ami_id
3 instance_type = "t3.micro"
4
5 tags = {
6 Name = "ec2-${var.environment}"
7 }
8}
Utilities

Utilities to support app deployment or configuration.