Hi!
Create an instance of EC2 (Amazon Elastic Compute Cloud) allows execute instances of virtual machines, on the AWS infrastructure.
Some features of EC2 are Scalability, personalized configuration, Security, and pay-by-use.
Create an instance of EC2 (Amazon Elastic Compute Cloud) allows execute instances of virtual machines, on the AWS infrastructure.
Some features of EC2 are Scalability, personalized configuration, Security, and pay-by-use.
-
Create an EC2 and connect with SSH
- Go to the EC2 service.
- On the left menu, click on Instances.
- Add a new name to the instance
- Let Amazon Linux, everything that has the free tier label.
- Create a key pair.
- Add a name
- and let the RSA and .pem options be selected.
- Click on the Create key pair button.
- Save in a secure place on your laptop or PC.
-
Create a security group:
- Allow SSH traffic from
- Click Lunch instance.
- Check the instances.
- Click on the connect button.
- Select the SSH client tab
- Follow the steps. Note: if you are in Windows, use the git bash terminal if the connection with another terminal shows an unprotected private key file! message.
After connect:
-
Check the instances:
- If you want to check the instances from your CLI, type
aws ec2 describe-instances
-
Delete the instance:
- Go to your instance
- Choose Instance State
- Select Terminate Instance
See you next time!
Top comments (0)