Requirements: AWS Account ISO image Putty(Linux) / Remote desktop sever connection(windows) Putty Gen Aim: To create an EC2 instance using AWS. Procedure: First Step is to create account in AWS. Then the next step is to create a Key-Pair. Click on the EC2 console and it will open the EC2 Dashboard. Choose Key Pairs and in the next tab select the 'Create Key Pair' option at the top. Once you have filled the key pair name and chose the other options click 'Create Key Pair'. And then your key pair will be created and a .ppk file (the file format you chose before) with the private key will be downloaded automatically. Then the next step is to create a Security Group. Let's add HTTP, HTTPS, SSH rules in Inbound rules and let the outbound rules as default. Now create security group. Now the pre-requisite setup is completed. Let's launch an instance now. Click on 'Launch Instance' on EC2 Dashboard. Now give a name to the server. Then select a Amazon Mach...
Create an EBS volume for the existing EC2 Machine in the same region. Requirement: EC2 Machine on a particular region. Previously on the lab exercise, I already created an AWS account and launched an EC2 machine. Now I am going to create an EBS volume and connect it to my EC2 machine. This is done to get extra storage for our instances. To make those EBS volumes usable in the instances, we need to mount it to a specific folder. Now let's see how to do that. Create an EBS Volume: Step - 1: Open AWS web console and go to the EC2 dashboard. Then select Volume option under Elastic Block Store option. Step - 2: By selecting 'Create Volume', create a new EBS volume. Step - 3: Input the details like Volume type, Size, Availability Zone as per your needs. Ensure that the availability zone is same as our EC2 instance's region. Then Create Volume. Step - 4: Once our Volume is created(it...
Comments
Post a Comment