Amazon Elastic Compute Cloud (EC2) is the AWS service for running virtual servers, called instances. You pick an instance type, an Amazon Machine Image (AMI), networking and storage, then pay for the capacity you use. Many other AWS and DevOps workflows run on top of EC2.

With close to a hundred posts, the tag covers the full range from first steps to hands-on labs. Beginner guides show how to launch an instance, connect from Windows with PuTTY after converting a .pem key to .ppk, and choose between stopping and terminating an instance. Cost-focused posts explain how to buy Reserved Instances and confirm they're being applied. Terraform tutorials use EC2 as the working example for the init, plan and apply workflow, list variables and security groups, while other labs build an Elasticsearch cluster on EC2 or a Kubernetes ingress setup with Calico VXLAN on EC2 nodes.

For job seekers, there are AWS cloud and SysOps interview question sets and a career guide to the Associate Cloud Engineer role. The content suits beginners learning AWS, DevOps engineers automating infrastructure and anyone preparing for cloud interviews.

Start here

Latest Amazon EC2 articles

Wetty – How to Install & Access Wetty (Web-based SSH) on AWS EC2 linux to access using browser

Wetty is a web-based terminal. It runs a small Node.js server that opens an SSH session and streams it to your browser over WebSockets, so you can…

Read More

Kubernetes Ingress Controller using Path-Based Routing: Complete Hands-On Lab with Calico VXLAN

Scope: Self-managed Kubernetes on two AWS EC2 Ubuntu nodes; install the community ingress-nginx v1.15.1 bare-metal/NodePort manifest, repair cross-node Calico networking, deploy two NGINX versions behind ClusterIP Services, configure path-based routing…

Read More

Provision an AWS EC2 Instance with Chef (Legacy ChefDK Workflow)

A practical, step-by-step walkthrough for provisioning an AWS EC2 VM using the classic ChefDK and chef-provisioning approach. Includes workflow, commands, recipe examples, and validation checks for legacy environments.

Read More

EC2 Boot from EBS Explained: Architecture, Trade-offs, and an AWS CLI Workflow

Booting Amazon EC2 instances from Amazon EBS was a major shift from ephemeral root disks to persistent root volumes. This guide explains what changed, why it mattered, and how to use the model safely in modern operations.

Read More

Deploying Java EE on Amazon EC2 with EC2Deploy: Workflow, Script, and Modern Lessons

This revised guide breaks down the original EC2Deploy approach for provisioning EC2 instances, deploying Java EE apps, and running JMeter tests. It also maps the same deployment pattern to modern DevOps practices.

Read More

EC2Deploy and the Cloud Tools Maven Plugin: Architecture, Goals, and Deployment Workflow

This revised guide explains what the 2010 EC2Deploy and Cloud Tools release actually introduced, how its components fit together, and how the Maven goals map to deployment operations on EC2. It also covers what modern teams should verify before relying on this legacy toolchain.

Read More

Cloud Tools Adds Amazon EBS Support: Durable EC2 Storage for Database Workloads

This historical update covers when Cloud Tools introduced Amazon EBS support for EC2 applications, including database-backed deployments. It explains the supported storage modes, the backup/restore flow, and practical command-level equivalents.

Read More

EC2 Key Pairs vs AWS Credentials: Practical Fixes for SSH and Security Group Setup

New EC2 users often confuse AWS API credentials with EC2 SSH key pairs, then get blocked by security group rules. This guide separates each concept and shows repeatable CLI and console steps to get instance access working safely.

Read More

Associate Cloud Engineer: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path

The Associate Cloud Engineer supports the build, operation, and continuous improvement of cloud infrastructure and platform services that enable software teams to ship reliable products quickly and securely. This role executes well-defined engineering tasks—often via Infrastructure as Code (IaC), automation scripts, and standard operating procedures—under the guidance of senior engineers and established architecture patterns.

Read More

DOTNET: RabbitMQ with .net Demo and Lab Example

We’ll run RabbitMQ in Docker on an AWS EC2 instance, and use your Windows laptop for both the producer and consumer. I’ll walk you through: 1. Provision…

Read More

Ansible: Dynamic Ansible Inventory Script for AWS EC2 Public IPs

Below is a simple dynamic inventory Bash script for Ansible that queries all EC2 instances in your AWS account, gets their public IPs, and outputs a valid…

Read More

Data Center Rack vs AWS Dedicated Host

Physical Data Center Rack vs AWS Dedicated Host: Comparison Choosing between purchasing a rack in a traditional data center for your own physical servers or using AWS…

Read More

AWS Tutorials: AWS Systems Manager (SSM)

Introduction to AWS Systems Manager (SSM) AWS Systems Manager (SSM) is a comprehensive management service designed to help you automate and manage your EC2 instances, on-premises servers,…

Read More

AWS Tutorials: EBS – Steps to Increase the Disk Size on a Running EC2 Instance:

you can increase the disk size of an Amazon EC2 instance while it is running. Amazon allows you to modify the size of an Elastic Block Store…

Read More

AWS Storage: FAQ

Can u attach Aws vm or you can’t attach disks to a running VM? Yes, you can attach EBS volumes to running EC2 instances in AWS. This…

Read More

Terraform Error Handing with Try Catch

The code could be improved by adding some error handling. For example, you could check to make sure that the PEM file exists and that the password…

Read More

Terrafrom Tutorials – remote-exec provisioner using AWS & Azure providers

the remote-exec provisioner in Terraform is used to execute commands remotely on a target resource after it’s been created. This is often used for post-deployment configuration or…

Read More

Secure Connectivity from Public to Private: Introducing EC2 Instance Connect Endpoint

No more Bastion hosts!! AWS announces EC2 Instance Connect Endpoint, a new feature that allows you to connect securely to your instances and other VPC resources from…

Read More

Design Application Runtime in AWS Cloud

List of AWS services Reference Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry…

Read More

AWS Tutorials: AWS CodeBuild – Buildspec code for creating AMI from running instances

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Aws: user data commands run in each ec2 instance in sequential not parallel

AWS Approach: aws ec2 instance user data to make sure commands run in each ec2 instance in sequential not parallel Approach # 1 To ensure that commands…

Read More

Top 30 SysOps Interview Questions and Answers

If you’re on the hunt for a SysOps role, you’ll likely be asked a variety of questions during the interview process. In this blog post, we’ve compiled…

Read More

AWS Tutorials: How to activate AWS EC2 Session Manager?

What is AWS Session Manager? AWS Session Manager is a managed service provided by Amazon Web Services (AWS) that enables secure and seamless access to instances in…

Read More

AWS Tutorials: How to create AWS ec2 Instance?

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Terraform Assignment and Excercise

Terraform Assignment: Getting Started Assignment 1 Create a new directory and write a terraform code which would create Ec2 instance and use Existing Security Group and Key….

Read More

Terraform Tutorials: Basic Workflow Getting Started Guide

Terraform workflow Step – 1 – Install terraform Step – 2 – Decide a providers name which you want to work with? Step – 3 – Create…

Read More

To become a DevOps Engineer on AWS, you should learn the following:

Jami RajMotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage…

Read More

Hashicorp Packer Example Program: AWS AMI

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Chef Tutorials: Test Kitchen – Example of kitchen.yml on AWS Ec2

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Chef Tutorials: Test Kitchen – Example of .kitchen.yml with aws ec2 on Windows

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Amazon EC2: frequently asked questions

What is the difference between stopping and terminating an EC2 instance?

A stopped instance can be started again, and its EBS volumes are kept, though you still pay for that storage. A terminated instance is permanently deleted, and its root EBS volume is removed by default.

How do I connect to a Linux EC2 instance?

Use SSH with the key pair chosen at launch, for example ssh -i key.pem ec2-user@<public-ip>, with the username depending on the AMI. On Windows you can use PuTTY after converting the .pem key to .ppk with PuTTYgen.

What are EC2 Reserved Instances?

Reserved Instances are a billing commitment for a one- or three-year term in exchange for a lower rate than On-Demand. The discount is applied automatically to running instances that match the reservation's attributes.

What is an AMI?

An Amazon Machine Image is a template containing the operating system and software used to launch an instance. You can use AWS-provided images, Marketplace images or build your own from a configured instance.