From Cloud Basics to Server Essentials in Cloud Infrastructure: Understanding Servers and Launching an AWS EC2 Instance

From Cloud Basics to Server Essentials in Cloud Infrastructure: Understanding Servers and Launching an AWS EC2 Instance

In my last article, From Cloud Basics to AWS Mastery: Discovering the Cloud Giant, we delved into the fundamentals of cloud technology and explored AWS’s essential services that power global business. Today, we’re taking a step further by examining one of the cloud’s core components: the server. Understanding what a server is, where it’s located, and how to set one up on AWS will bring you closer to mastering cloud infrastructure.



Article content

What is a Server?

In simplest terms, a server is a powerful computer that provides data, applications, or services to other computers over a network. Think of a server as a “digital chef” that fulfills client “orders” by processing requests and serving up the needed information. Here’s a breakdown:

  • Client (Customer): The device or application making a request, such as a laptop or smartphone.
  • Server (Chef): The system that processes requests and sends data or performs actions in response.
  • Request and Response (Order): The specific data or function the client needs from the server.

Where Are Servers Located?


Article content

Servers are typically housed in data centers—specialized facilities that provide security, cooling, and power for hundreds or thousands of servers. AWS operates these data centers globally in regions and availability zones, allowing users to choose optimal locations to meet performance needs and regulatory standards. Each AWS Region represents a geographic area, ensuring that data and services are close to end-users and redundantly supported.


Article content
Article content

Physical Servers vs. Cloud Servers


Article content

Traditionally, companies owned physical servers on-site. Now, cloud servers—virtual servers hosted on cloud infrastructure by providers like AWS—have gained popularity for their flexibility and scalability. Here’s how they differ:

  • Physical Server: A dedicated, on-premises machine requiring setup, power, and maintenance.
  • Cloud Server (EC2 Instance): A virtual server hosted by AWS that can be launched and scaled with ease, offering on-demand flexibility without the overhead of physical maintenance.

Article content

Key Differences:

  • Scalability: Cloud servers adjust based on demand, while physical servers are limited by their hardware.
  • Cost Efficiency: Physical servers incur upfront and maintenance costs, whereas cloud servers operate on a pay-as-you-go model.
  • Global Accessibility: Cloud servers can be accessed from anywhere with an internet connection, while physical servers often need on-site access.

Article content

Launching an EC2 Instance on AWS: Setting Up Your Cloud Server

Amazon EC2 (Elastic Compute Cloud) enables you to create and manage virtual servers quickly. Here’s a simple guide to launching your own EC2 instance on AWS. There are 7 steps to create an EC2 Instance(server)

1. Name & Tags

  • Visit AWS Management Console and log in.
  • New users can create a free account for limited free access to AWS services.
  • In the AWS Console, search for “EC2” and select it to open the EC2 Dashboard.
  • launch an instance
  • Tags: To Identify Servers
  • Example, Name : Web server, Client: LinkedIn Environment : Production

2. Amazon Machine Image(AMI)

  • Click Launch Instance and choose an Amazon Machine Image (AMI), which defines the OS and software configuration (e.g., Amazon Linux or Ubuntu).
  • Type of OS should be selected here.

3. Select an Instance Type

  • Choose an instance type based on your needs. CPU & RAM should be selected here.
  • For example, t2.micro is free-tier eligible and suitable for testing or light usage.

4. Set Up a Key Pair for Secure Access

Article content

  • AWS will prompt you to create a new key pair or use an existing one. This key file (.pem format) will allow you to safe and securely access your instance. When we generate a key-pair, two types of keys will be generated. one is public and the other is private key.
  • Public key stored by AWS in server, private key is stored by user. When both the keys matches then secure connection will be established.
  • There are 2 types of key-pair : 1. Privacy Enhance Mail(PEM) 2. Putty Private Key(PPK)

5. Configure Network & Security Group (Firewall)

Article content

  • Set up a Security group to control traffic to your instance. Allow SSH (port 22) for Linux access, and add HTTP (port 80) and HTTPS (port 443) for web applications.
  • Here Virtual Private Cloud concept comes into picture, Which is used to Isolate servers, Responsible for networks and Creates our own network

Article content

6. Storage configuration

  • Here Elastic Block Storage volume should be selected, EBS is one of the Service provided by AWS for the storage of server.

7. Connect to Your Instance

  • Once your instance is running, select it in the EC2 Dashboard and click Connect.
  • Follow AWS’s instructions to connect via SSH or your preferred connection method


From understanding servers to launching your own EC2 instance, each layer of cloud infrastructure brings us closer to harnessing the power of AWS. By gaining familiarity with these foundational elements, you’re building the expertise needed to navigate the cloud with confidence

What’s Next?

As AWS continues to push the boundaries of cloud technology, understanding the underlying systems that power cloud infrastructure becomes even more valuable. In the next article, we’ll take a deep dive into Linux—the operating system that drives many of AWS’s services, supports the modern cloud and empowers AWS’s vast network of services.

Whether you’re a cloud enthusiast or just beginning, a solid grasp of Linux can unlock new possibilities and enhance your cloud journey. Stay tuned as we dive into Linux essentials and uncover how it supports modern cloud computing!

Cloud sync is in progress....See you soon :)        

To view or add a comment, sign in

More articles by Ashish Kumar Nerella

Others also viewed

Explore content categories