- Go to the AWS Management Console and sign in to your account.
- In the navigation pane, choose Services > EC2.
- In the EC2 console, choose Launch Instance.
- In the Choose an AMI step, select the Amazon Machine Image (AMI) that you want to use for your instance.
- In the Choose an Instance Type step, select the instance type that you want to use for your instance.
- In the Configure Instance Details step, configure the following settings:
- Name - Enter a name for your instance.
- VPC - Select the VPC that you want to launch your instance in.
- Subnet - Select the subnet that you want to launch your instance in.
- Security Group - Select the security group that you want to use for your instance.
- Tags - (Optional) Enter tags for your instance.
- Key Pair: Select an existing key pair or create a new one. You will need to use the key pair to connect to your instance after it is launched.
- In the Add Storage step, add any additional storage that you want to attach to your instance.
- In the Add Tags step, (Optional) add any additional tags to your instance.
- In the Configure Security Group step, configure the security group for your instance.
- In the Review and Launch step, review the settings for your instance and then choose Launch
Here are some additional details about each step:
- Amazon Machine Image (AMI): An AMI is a pre-configured operating system and software environment that you can use to launch an instance.
- Instance Type: An instance type defines the hardware configuration of your instance, such as the number of CPU cores, the amount of memory, and the storage capacity.
- Instance Details: You can configure the instance name, the VPC, the subnet, and the security groups for your instance.
- Storage: You can add storage to your instance by attaching an Amazon EBS volume or by using a RAID configuration.
- Tags: You can add tags to your instance to help you organize and manage your resources.
- Security Group: A security group controls the network traffic that is allowed to reach your instance.
- Key Pair: A key pair is a set of public and private keys that you use to securely connect to your instance.
Once you have launched your instance, it will take a few minutes for it to become available. Once it is available, you can connect to it using a SSH client.