Skip to main content

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. :)

Comments

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

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

    ReplyDelete
  3. You can utilize Fulfillment by Amazon to convey things you are selling on Amazon itself or things you are selling somewhere else.mytv enter code

    ReplyDelete
  4. Then, at that point they let any Tom, Dick or Harriet share them free of charge. mytv enter code

    ReplyDelete
  5. If you are looking for a web hosting provider to host your website or blog, there are several features that you should consider before purchasing the cheapest package you can find. Not all web hosting providers offer the same services for comparable prices. You need to carefully scan each offer and look for the features that you require to host your website. https://hostinglelo.in/

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Speedup your WordPress site with Amazon CloudFront.

Introduction A WordPress performance is quite excellent . The number of WordPress plugins to handle performance is such evidence. But the easiest way to improve your user experience is to accelerate the entire WordPress website using CloudFront. This will help you not only improve site response time reduces the necessary infrastructure, reducing the load on the Web server, so you can reduce the total cost of the infrastructure works WordPress. CloudFront is actually a site can greatly help your site to respond to unexpected load when gained popularity. Today this post is to clarify the method of providing a reasonable standard configuration on the WordPress website or blog. How does CloudFront help? Amazon CloudFront is to improve the user's experience accessing the Web site in several ways: 1.  Anycast DNS is to ensure that customers are routed to the nearest edge location. 2.  The cached content is available to users at the edge position (i

Linux System : Free Employee Monitoring with Automatic Screenshots

Introduction :   A utomatic screen-shots  of Linux system directly import  on your web server with Linux samba server service and scrot command. 1)  Setup web panel UI on your web server :   Get web panel PHP/HTML code from Github URL: https://github.com/raj412/Employee-Monitoring-for-Linux-System It’s work in Linux server LAMP environment(no need database for this configuration ) Defult login username password is admin/1234. You can change username/passwrod from login.php file in line number #6 Login Page : Dashboard : Screenshot Page : 2)  Samba server configuration on web server : I.  Install Samba on your server where you setup Linux screenshot log system web panel. sudo apt-get update sudo apt-get install samba II.  Set a password for your user in Samba sudo smbpasswd -a <user_name> III.  Share gallery-images folder from you web panel. This is my web panel gallery-images p

How to control high traffic load on Apache servers : optimization performance of APACHE2 & PHP-FPM

Everyone handle high traffic loads  on Apache server. During down-time they forget to check server memory . Apache not used lot of memory  still server not responding. All time we restart Apache service and all things will start working good. I also faced same issue numerous time and all-time  used same solution : Restart Apache. After lots of research and reading found one solution. In this blog you see step-by-step guide to apache2 performance settings. System environment: Intel(R) Xeon(R) CPU 3.10GHz, 4 cores | 8GB RAM Ubuntu 16.04 Apache2 version using mpm_event PHP FPM (5.6,7.1) First,  Calculate process size : Download : python script file “ps_mem.py” from Github Open this and ps_mem.py file upload on you server :  https://github.com/raj412/ps_mem chmod a+x ps_mem.py sudo python ps_mem.py Output like this:  See here : 12 Apache processes, consuming a total of  35.7MiB, so each Apache process is using roughly 3MiB of RAM. The 42 php-fpm process u