Explain the launch of instance in Amazon EC2

This recipe explains what the launch of instance in Amazon EC2

Recipe Objective - Explain the launch of instance in Amazon EC2?

The Amazon Elastic Compute Cloud or Amazon EC2 is widely used and is defined as the service that offers the broadest and deepest compute platform with over 475 instances and giving the choice of the latest processor, storage, operating system, networking and purchase model to help users best match the needs of users workload. The Amazon Elastic Compute Cloud (EC2) is part of Amazon Web Services (AWS) which allows users to rent virtual computers on which to run their computer applications. Amazon Web Services EC2 encourages the scalable deployment of the applications by providing the web service through which the user can boot an Amazon Machine Image (AMI) to configure the virtual machine, which the company Amazon claims as to the "instance", containing any software desired. On Amazon Web Services, a user further can create, launch, and terminate server instances as needed and pay by the second for active servers – hence it is known by the term "elastic". The EC2 provides users with control over the geographical location of the instances which allows for latency optimization and high levels of redundancy. The EC2 used the Xen virtualization initially exclusively. Further, Amazon announced the new C5 family of instances that were based on a custom architecture around the KVM hypervisor, called Nitro in 2017. Also, Each virtual machine, called the "instance", functions as the virtual private server. Also, the Amazon sizes instances based on the "Elastic Compute Units" and the performance of otherwise identical virtual machines may vary. Further, the AWS announced a bare-metal instance type offering marking the remarkable departure from exclusively offering virtualized instance types in the same year of 2017.

Build a Real-Time Dashboard with Spark, Grafana and Influxdb

Instances are categorized into three types:

  • On-Demand Instances: No long term commitments in case of the On-Demand Instances. When using the compute capacity used per hour, AWS EC2 charges. Further companies can increase or decrease the capacity depending on the demand of the application and will have to only pay for the specified hourly rate of the instance chosen. Further, the benefits of using On-Demand instance is that it saves users from the cost of managing, planning, and purchasing hardware and converts the large fixed costs into the smaller variable costs. It further eliminates the need for the “safety net” capacity to handle sudden traffic spikes.
  • Reserved Instances(RI): There is flexibility to change the operating system types and tenancies in the Reserved Instances. Reserved Instances has an optional capacity reservation for the EC2 instances. Further, Amazon Web Services Billing applies the discounted rates of RIs when the attributes of EC2 instance’s usage match that of an active Reserved Instances. The AWS EC2 reserves the capacity matching the attributes of Reserved Instances if an Availability Zone (AZ) is specified. Further, the running instances automatically utilize the capacity reservation of RI which matches its attributes.

System Requirements

  • Any Operating System(Mac, Windows, Linux)

This recipe explains Amazon Web Services EC2 and the launching of instance in Amazon EC2.

Launching of instance in Amazon EC2

    • Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ and Choose the Launch Instance.

Amazon EC2 console can be opened using the link and further choose the Launch instance option.

    • Choose the Amazon Machine Image (AMI) and at the top of the list, find the Amazon Linux 2 AMI and choose Select.

Amazon EC2 provides an option to choose the Amazon Machine Image and further find the Amazon Linux 2 AMI and further select.

    • Choose the Instance Type and choose Next & Configure the Instance Details.

Amazon EC2 offers an option of choosing the Instance type and further choosing the next and configuring option for instance details.

    • Configure the Instance Details

Amazon EC2 offers to configure the instance details.

    • Choose Next: Add Storage and further Choose Next: Add Tags.

Amazon EC2 offers the option of choosing the Next option to add storage and further choosing the next option to add tags.

    • Choose the Next: Configure Security Group after naming the instance.

Amazon EC2 offers the option of choosing the Next option to configure the security group after naming the instance.

    • Choose the security group with the default setting to make sure that it can access the EFS file system and Configure Security Group, set Assign a security group to Select an existing security group.

Amazon EC2 offers an option to choose the security group with the default setting to access the EFS file system and further configure the security group.

    • Choose the Review and Launch option

Amazon EC2 offers the option to choose the review and launch option.

    • Choose the launch option after selecting the key pair checkbox.

Finally, Amazon EC2 offers a launch option after selecting the key pair checkbox.

What Users are saying..

profile image

Ed Godalle

Director Data Analytics at EY / EY Tech
linkedin profile url

I am the Director of Data Analytics with over 10+ years of IT experience. I have a background in SQL, Python, and Big Data working with Accenture, IBM, and Infosys. I am looking to enhance my skills... Read More

Relevant Projects

Build an AWS ETL Data Pipeline in Python on YouTube Data
AWS Project - Learn how to build ETL Data Pipeline in Python on YouTube Data using Athena, Glue and Lambda

Getting Started with Azure Purview for Data Governance
In this Microsoft Azure Purview Project, you will learn how to consume the ingested data and perform analysis to find insights.

Hands-On Real Time PySpark Project for Beginners
In this PySpark project, you will learn about fundamental Spark architectural concepts like Spark Sessions, Transformation, Actions, and Optimization Techniques using PySpark

PySpark Project-Build a Data Pipeline using Hive and Cassandra
In this PySpark ETL Project, you will learn to build a data pipeline and perform ETL operations by integrating PySpark with Hive and Cassandra

Build a Data Pipeline in AWS using NiFi, Spark, and ELK Stack
In this AWS Project, you will learn how to build a data pipeline Apache NiFi, Apache Spark, AWS S3, Amazon EMR cluster, Amazon OpenSearch, Logstash and Kibana.

Big Data Project for Solving Small File Problem in Hadoop Spark
This big data project focuses on solving the small file problem to optimize data processing efficiency by leveraging Apache Hadoop and Spark within AWS EMR by implementing and demonstrating effective techniques for handling large numbers of small files.

Web Server Log Processing using Hadoop in Azure
In this big data project, you will use Hadoop, Flume, Spark and Hive to process the Web Server logs dataset to glean more insights on the log data.

Snowflake Real Time Data Warehouse Project for Beginners-1
In this Snowflake Data Warehousing Project, you will learn to implement the Snowflake architecture and build a data warehouse in the cloud to deliver business value.

Log Analytics Project with Spark Streaming and Kafka
In this spark project, you will use the real-world production logs from NASA Kennedy Space Center WWW server in Florida to perform scalable log analytics with Apache Spark, Python, and Kafka.

Graph Database Modelling using AWS Neptune and Gremlin
In this data analytics project, you will use AWS Neptune graph database and Gremlin query language to analyse various performance metrics of flights.