AWS VM Creation
AWS VM Creation
AWS VM Creation
account:
1. In the "Choose an Amazon Machine Image (AMI)" step, you can select an AMI from
the list. You can use the default "Amazon Linux 2 AMI" for this example.
1. In the "Choose an Instance Type" step, select an instance type. The "t2.micro"
instance type is eligible for the AWS Free Tier.
1. In the "Configure Instance Details" step, you can keep the default settings for now. If
you have specific requirements, you can adjust settings like the number of instances,
network settings, etc.
1. In the "Add Storage" step, specify the amount of storage you need. The default
settings are typically sufficient for basic usage.
1. In the "Configure Security Group" step, create a new security group or use an existing
one. Security groups act as firewalls, and you need to configure rules for inbound
and outbound traffic. For simplicity, you can create a new security group with SSH
(port 22) open for inbound traffic.
1. Review all your configuration settings in the "Review Instance Launch" step. Ensure
everything is set up as you want it.
1. After signing in, click on the "Services" dropdown in the top left corner.
2. Under "Networking & Content Delivery," click on "EC2."
1. Launch EC2 instances that you want to load balance. Follow the steps mentioned
earlier to create EC2 instances.
1. In the EC2 Dashboard, under "Network & Security," click on "Security Groups."
2. Create a security group that allows traffic between the instances and the load
balancer. For simplicity, you can allow all traffic within the security group.
1. In the "Configure Security Settings" section, you can leave the default settings for
now (SSL/TLS settings are optional for HTTPS).
1. Configure health checks in the "Health checks" section. Adjust settings as needed
based on your application.
1. Once the load balancer is created, go to the "Load Balancers" section in the EC2
Dashboard.
2. Select your load balancer and find the "DNS name" in the description. This is the
address you'll use to access your application.