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

Apt-fast for Increasing Download Speed while Installing and Updating Packages Ubuntu/Debian [Beginners Guide]

Have you ever experienced slow download speed when downloading or updating packages in Ubuntu even when your network connection is running fine? You encounter this issue especially when updating and installing packages for the first time after installing a new Ubuntu/Debian OS. However, there is a way to get around this by speeding up the download speed using apt-fast command in Linux. Apt-fast is a shell script wrapper for “apt-get” and “aptitude” that uses the power of either  axel  or  aria 2  download managers to accelerate the download process. It improves download performance by downloading packages simultaneously in parallel with multiple packages per connection. In this article, we will walk through some steps to install apt-fast in order to accelerate the update and downloading process in Ubuntu. We will use Ubuntu 18.04 LTS for describing the procedure mentioned in this article.   Step 1: Installing prerequisites We need to install...

What is a CDN ? How Does a content delivery network Work?

I ntroduction. Latest Web sites and applications often need to provide   amount of static content to end users. This content includes images, style sheets, JavaScript, and video. The increase in the number of static assets and the increase grows the bandwidth usage increases page load time decreased, depending on the size of the user's search experience, and reduce the usable capacity of the server. Dramatically improving performance, reducing the page load time   reduce the bandwidth and infrastructure costs, you can implement a content delivery network,  And  CDN cache these assets at a set of servers that are geographically distributed. What is a CDN? Content delivery network is a group of servers distributed geographically optimized to provide static content to end users. While this static content can be almost any type of data, CDNs are most commonly used to deliver web pages and related files, streaming video and audio, and large softwar...

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

How to Install PHP 7.4 / PHP 7.3 on Ubuntu?. This guide will help you Install PHP 7.4 / PHP 7.3 on Ubuntu 18 / Ubuntu 16 /  Ubuntu 19 . PHP is an open-source server-side scripting language which has been widely adopted for the creation of dynamic web pages. PHP is secure, fast, simple, efficient, flexible and a loosely typed scripting language. The PHP release 7.4.0 has been made available for the general public and for use in Production environments. How to install PHP 7.4 on Ubuntu 18.04 / Ubuntu 19.04 / Ubuntu 16.04 Step 1: Add PHP 7.4 PPA Repository We’ll add ppa:ondrej/php PPA repository which has the latest build packages of PHP. sudo apt-get update sudo apt -y install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update Step 2: Install PHP 7.4 on Ubuntu 18/ Ubuntu 19/ Ubuntu 16 Install PHP 7.4 on Ubuntu 18.04/19.04/16.04 using the command: sudo apt -y install php7.4 Check version inst...