Aws: Elastic Compute Cloud(EC2)
Elastic Compute Cloud(EC2)

Aws: Elastic Compute Cloud(EC2)

EC2 provides resizable compute capacity as virtual machines in the cloud. 

There are different purchasing options for EC2 instances:

  • On-demand Instances
  • Reserved Instances
  • Spot Instances
  • Dedicated Hosts
  • Dedicated Instances
  • Capacity Reservations
  • Saving Plans

Storage used with EC2 instances is Elastic block storage(EBS). EBS have various types like SSD, HDD and Magnetic.

The Elastic IP address is provided for dynamic cloud computing which is a static IPv4.

Ec2 instances could be launched into private VPC created manually but it could also be launched into default VPC which includes default subnets and default internet gateways.

How to take Linux Ami on demand:

  • Login and access to AWS services
  • Choose AMI
  • Choose EC2 Instance Types
  • Configure Instance
  • Add Storage
  • Tag Instance
  • Configure Security Groups
  • Review Instances
  • Create a EIP and connect to your instance
  • On windows use putty & puttygen to connect AMI

At the end you can stop or terminate instance. EBS attached with instance will also be detached and deleted. If the option "Delete on termination" was clicked in Add Storage section while launching the Instance.

Security Groups attached with the instances would have to be deleted manually. First we have to delete the inbound/outbound rules defined for the groups then we can delete the security groups.

To view or add a comment, sign in

More articles by Sohaib Ismail

  • CI/CD, Jenkins

    CI/CD: CI and CD stand for continuous integration and continuous delivery/continuous deployment. In very simple terms…

  • Chef: Configuration Management Tool

    Chef: Chef Infra is a configuration management tool for defining infrastructure as code (IAC), making the process of…

    1 Comment
  • Git & GitHub

    Source Code Management: Source code management is the "version control system" of codes. It tracks the modifications in…

  • Linux

    Linux is a free, open source operating system, released under the GNU General Public License (GPL). Anyone can run…

  • Development & Operations (DevOps)

    "DevOps is a set of practices that combines software development and IT operations. It aims to shorten the systems…

  • AWS: Identity And Access Management

    IAM Is used to manage secure access to the AWS resources and services. Through IAM we can create Users, Groups…

Explore content categories