AWS Elastic Cloud Compute

AWS Elastic Cloud Compute

Everything you need to know about an AWS EC2 instance.

Praneeth Kondraju's photo
Praneeth Kondraju
·May 23, 2022·

3 min read

Play this article

Table of contents

  • AWS Elastic Cloud Compute Instance
  • How to Launch an EC2 Instance
  • Types of various EC2 Instance, and it's purpose

AWS Elastic Cloud Compute Instance

  • Elastic Cloud Compute is abbreviated as EC2.
  • It is an IaaS cloud offering by Amazon.
  • Using EC2 Instance, we can configure the machine from scratch, like a building a custom PC. But here it is done virtually by making few clicks.
  • EC2 Instance configurable components

    • Operating System(OS)

      • Example: Ubuntu, Windows, MAC.
    • Instance type

      • Here we define CPU computing hardware requirements.
        • vCPU
        • Memory
        • Instance Storage type, etc.
    • Instance configuration

      • No. of Instances
      • Network related configuration, etc.
    • Storage

      • Size
      • Volume type
      • Encryption, etc.
    • Security Group

      • In a nutshell, it is a set of firewall conditions used to control the Instance traffic.

How to Launch an EC2 Instance

  1. Prerequisite

    Amazon Web Services(AWS) account.

  2. Steps

    1. Login to your AWS account.

    2. Click on Search bar and type EC2. Select EC2.

      EC2_Access_Method2.png

    3. You will be landed into EC2 Dashboard page. Select Instances.

      Select_Instance_Method1.png

    4. Select Launch Instances.

      Select_Launch_Instances.png

    5. Based on opted user experience, creation of EC2 differs.

      a. If user opted for New Experience.

      • Scroll down the Launch an Instance page to navigate.

      • (optional) Adding tags. But adding appropriate tags is useful. New_EC2_Setup_Step1.png

      • Select your desired Operating System. New_EC2_Setup_Step2.png

      • Choose your Instance type. New_EC2_Setup_Step3.png

      • (Optional) Creating a Key pair. You can provide an existing Key pair, or you can create one if needed, or you can create a Key pair later. Key pair provides remote access to your EC2 instance using Terminal or Putty from your machine. New_EC2_Setup_Step4.png

      • Network Settings. You are good to proceeds with defaults, or you can build your requirement. New_EC2_Setup_Step5.png

      • Configure Storage. New_EC2_Setup_Step6.png

        • Advanced details. Good to go with defaults or can be tweaked per requirement. New_EC2_Setup_Step7.png

        • One step to launch your EC2 instance. Tip: Check all your configuration, before hitting Launch Instance button. New_EC2_Setup_Step8.png

        b. If user is in Old Experience.

        • Choose Operating System. Old_EC2_Setup_Step1.png

        • Choose Instance type. Old_EC2_Setup_Step2.png

        • Configure Instance details. Old_EC2_Setup_Step3.png

        • Add Storage. Old_EC2_Setup_Step4.png

        • (optional) Adding tags. But adding appropriate tags is useful. Old_EC2_Setup_Step5(1).png

        • Configure Security group. Old_EC2_Setup_Step6.png

        • Review your configuration and hit Launch. Old_EC2_Setup_Step7.png

        c. Voilà!!, you launched your EC2 instance.

Types of various EC2 Instance, and it's purpose

  1. General Purpose
    • This type of instance is an all round performer. It covers compute, memory and networking areas and can be used for different kinds of work loads.
    • Suitable for most of the use cases based on selected configuration.
    • Ex: Web Servers, development environments like development, testing, QA, etc.
  2. Compute Optimized
    • Compute Optimized instance is preferred for high performance workloads that require high amount of computational power for delivering the best performance.
    • Ex: Running batch jobs, High performance tasks, etc.
  3. Memory Optimized
    • Memory Optimized instance is used to for performance intended works.
    • Ex: Caching, Data analysis, etc.
  4. Accelerated Computing
    • Accelerated Computing instance offers GPU's. So, it enhances the computational tasks.
    • Ex: Machine Learning tasks, etc.
  5. Storage Optimized
    • Storage Optimized instance offers fast read/write speeds and is ideal for frequent data operations task.
    • Ex: Accessing/ Inserting data from/to Database, etc.

Did you find this article valuable?

Support Kubesimplify by becoming a sponsor. Any amount is appreciated!

See recent sponsors Learn more about Hashnode Sponsors
 
Share this