- Amazon EC2 Setup
- Amazon Machine Image (AMI)
- Amazon Key File - Authentication
- Security Group
- Elastic IP
If you are new in AWS and you want to deploy your first instance on AWS EC2 so i’m here to helping for deploying your project. Amazon Web Services is offering 12 months free trial for micro instance with 1024 MB RAM. In this post I will explain how to set up an Amazon instance with Ubuntu operating system and XAMPP server.
Every Student must use this services for deploying and test projects. It is free for 1 Year that can be very useful for college students that can’t purchase servers or AWS paid services for project testings.
First Instance on AWS EC2
Getting started with AWS EC2 (Elastic Compute Cloud) –
After Amazon console login you will see following screen, select EC2 from Compute category.
Choose your server Region. I have select Asia PAcific (Mumbai).
Click Launch Instance button.
Now choose OS for your web server, I suggest use Ubuntu. Please confirm, that should be listed in free tier.
Choose an Instance type. I will suggest to choose t2.micro. Click on Configure instance details
Here you can changes according to requirment otherwise click on Add storeg.
In this step you can Increase or Decrease storeg according to your need. By default stored is 8GB. Click on next
In this steps you can Add tags for your instance. After it Click on next : Configure Security Groups
Here you need to Configure Security Groups. You can choose as here. You can also rename this security Groups. After it Click on Review and Launch.
Here is Details of Your Instance Configuration. Click on Launch.
Creating Amazon Key File – Authentication -Most important part in this installation process.
In this steps you need to create a new key pair.
Give valid name and click to Download Key Pair. You will get an .pem file. After it Click on Launch Instance. Please keep safe this file.
Finally your Instance has Launched. Click on View Launch Log.
Here is Your Instance. I have renamed it from Vocational IT.
Elastic IP – Create Static IP Address
Basically, Amazon instance will provide you a dynamic public DNS name, this is not stable. So you need a static IP.
Go to Network & Security category and select Elastic IPs, click Allocate New Address.
Click on Allocate.
Here is Your IP Address is Allocated Successfully. Now you need to Associate Elastic IP Address.
Select your Instance and click on Associate.
Elastic IP Associated Successfully. You can also rename it.
Now go to Instance section and see your Instance Details.
Finally your Instance has been Configured Successfully. Now we will connect and access this Instance by Putty or BASH.