How To Install PHP 7.4 and PHP 7.3 ON Ubuntu 18.04/19.04/16.04

banner image

Amazon Cloud Linux Server EC2 Instance Launch steps


Introduction:

Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster.

In this blog, You can learn how we can Launch EC2 instance in AWS

Start with log into the AWS Management ConsoleOpen the Amazon EC2 console by choosing EC2 under Compute.


1) Launch an Amazon EC2 instance.

In the Amazon EC2 Dashboard, choose "Launch Instance" to create and configure your virtual machine.



2) Configure your instance.

Here, you have the option to configure your instance features.
Check some guidelines on setting up your first instance.

Choose an Amazon Machine Image (AMI):

An AMI is a template that contains the software configuration (operating system, application server, and applications) required to launch your instance. You can select an AMI provided by AWS, our user community, or the AWS Marketplace; or you can select one of your own AMIs.

In step 1 of the wizard.
we recommend the Amazon Linux AMI (free-tier eligible). and you can select any Image like Ubuntu Server, Red Hat Enterprise Linux, Microsoft Windows Server, Cent OS.



Choose an instance type:
Amazon EC2 provides a wide selection of instance types optimized to fit different use cases. Instances are virtual servers that can run applications. They have varying combinations of CPU, memory, storage, and networking capacity, and give you the flexibility to choose the appropriate mix of resources for your applications

In step 2 of the wizard.
Recommend amazon ec2 micro : t2.micro (free-tier eligible).



In Step 3: Configure Instance Details.
Configure the instance to suit your requirements. You can launch multiple instances from the same AMI, request Spot instances to take advantage of the lower pricing, assign an access management role to the instance, and more.

In Step 4: Add Storage.
 Your instance will be launched with the following storage device settings. You can attach additional EBS volumes and instance store volumes to your instance, or edit the settings of the root volume. You can also attach additional EBS volumes after launching an instance, but not instance store volumes.



Step 5: Add Tags.
A tag consists of a case-sensitive key-value pair. For example, you could define a tag with key = Name and value = Webserver. A copy of a tag can be applied to volumes, instances or both.



Security group:
A security group is a set of firewall rules that control the traffic for your instance. On this page, you can add rules to allow specific traffic to reach your instance. For example, if you want to set up a web server and allow Internet traffic to reach your instance, add rules that allow unrestricted access to the HTTP and HTTPS ports.

In step 6.
you have the option to configure your virtual firewall.



Before Launch instance check In step 7, review your instance configuration then choose "Launch".

Create a key pair: 
Select "Create a new key pair" and assign a name. The key pair file (.pem) will download automatically - save this in a safe place as we will later use this file to log in to the instance.

Finally, choose "Launch Instances" to complete the set up.
Note: It may take a few minutes to initialize your instance.

3) Connect to your instance

After you launch your instance, you can connect to it and use it the way that you'd use a computer sitting in front of you.



To connect from the console, follow the steps below:

Select the EC2 instance you created and choose "Connect".
Select "A Java SSH client directly from my browser". Ensure Java is installed and enabled.

Enter the Private key path (example:C:\KeyPairs\my-key-pair.pem).

Choose "Launch SSH Client".

Note: You can also connect via SSH or PuTTY.

4) Terminate instances

Amazon EC2 is free to start (learn more), but you should terminate your instances to prevent additional charges.



The EC2 instance and the data associated will be deleted.

Select the EC2 instance, choose "Actions", select "Instance State", and "Terminate".

Thanks for being here. Comment below if you have any query. :)

Amazon Cloud Linux Server EC2 Instance Launch steps Amazon Cloud Linux Server EC2 Instance Launch steps Reviewed by Raj on November 27, 2018 Rating: 5

2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete

Powered by Blogger.