Deep Dive into Amazon EC2

Last updated on Dec 10 2021
Padmanabham Suresh

Table of Contents

Deep Dive into Amazon EC2

Amazon EC2 (Elastic Compute Cloud) is a web service interface that provides resizable compute capacity in the AWS cloud. It is designed for developers to have complete control over web-scaling and computing resources.

EC2 instances can be resized and the number of instances scaled up or down as per our requirement. These instances can be launched in one or more geographical locations or regions, and Availability Zones (AZs). Each region comprises of several AZs at distinct locations, connected by low latency networks in the same region.

d1 3

EC2 Components

In AWS EC2, the users must be aware about the EC2 components, their operating systems support, security measures, pricing structures, etc.

Operating System Support

Amazon EC2 supports multiple OS in which we need to pay additional licensing fees like: Red Hat Enterprise, SUSE Enterprise and Oracle Enterprise Linux, UNIX, Windows Server, etc. These OS needs to be implemented in conjunction with Amazon Virtual Private Cloud (VPC).

Security

Users have complete control over the visibility of their AWS account. In AWS EC2, the security systems allow create groups and place running instances into it as per the requirement. You can specify the groups with which other groups may communicate, as well as the groups with which IP subnets on the Internet may talk.

Pricing

AWS offers a variety of pricing options, depending on the type of resources, types of applications and database. It allows the users to configure their resources and compute the charges accordingly.

Fault tolerance

Amazon EC2 allows the users to access its resources to design fault-tolerant applications. EC2 also comprises geographic regions and isolated locations known as availability zones for fault tolerance and stability. It doesn’t share the exact locations of regional data centers for security reasons.

When the users launch an instance, they must select an AMI that’s in the same region where the instance will run. Instances are distributed across multiple availability zones to provide continuous services in failures, and Elastic IP (EIPs) addresses are used to quickly map failed instance addresses to concurrent running instances in other zones to avoid delay in services.

Migration

This service allows the users to move existing applications into EC2. It costs $80.00 per storage device and $2.49 per hour for data loading. This service suits those users having large amount of data to move.

Features of EC2

Here is a list of some of the prominent features of EC2 −

  • Reliable − Amazon EC2 offers a highly reliable environment where replacement of instances is rapidly possible. Service Level Agreement commitment is 99.9% availability for each Amazon EC2 region.
  • Designed for Amazon Web Services − Amazon EC2 works fine with Amazon services like Amazon S3, Amazon RDS, Amazon DynamoDB, and Amazon SQS. It provides a complete solution for computing, query processing, and storage across a wide range of applications.
  • Secure − Amazon EC2 works in Amazon Virtual Private Cloud to provide a secure and robust network to resources.
  • Flexible Tools − Amazon EC2 provides the tools for developers and system administrators to build failure applications and isolate themselves from common failure situations.
  • Inexpensive − Amazon EC2 wants us to pay only for the resources that we use. It includes multiple purchase plans such as On-Demand Instances, Reserved Instances, Spot Instances, etc. which we can choose as per our requirement.

How to Use AWS EC2

Step 1 − Sign-in to AWS account and open IAM console by using the following link https://console.aws.amazon.com/iam/.

Step 2 − In the navigation Panel, create/view groups and follow the instructions.

Step 3 − Create IAM user. Choose users in the navigation pane. Then create new users and add users to the groups.

Step 4 − Create a Virtual Private Cloud using the following instructions.

  • Open the Amazon VPC console by using the following link − https://console.aws.amazon.com/vpc/
  • Select VPC from the navigation panel. Then select the same region in which we have created key-pair.
  • Select start VPC wizard on VPC dashboard.
  • Select VPC configuration page and make sure that VPC with single subnet is selected. The choose Select.
  • VPC with a single public subnet page will open. Enter the VPC name in the name field and leave other configurations as default.
  • Select create VPC, then select Ok.

Step 5 − Create WebServerSG security groups and add rules using the following instructions.

  • On the VPC console, select Security groups in the navigation panel.
  • Select create security group and fill the required details like group name, name tag, etc.
  • Select your VPC ID from the menu. Then select yes, create button.
  • Now a group is created. Select the edit option in the inbound rules tab to create rules.

Step 6 − Launch EC2 instance into VPC using the following instructions.

  • Open EC2 console by using the following link − https://console.aws.amazon.com/ec2/
  • Select launch instance option in the dashboard.
  • A new page will open. Choose Instance Type and provide the configuration. Then select Next: Configure Instance Details.
  • A new page will open. Select VPC from the network list. Select subnet from the subnet list and leave the other settings as default.
  • Click Next until the Tag Instances page appears.

Step 7 − On the Tag Instances page, provide a tag with a name to the instances. Select Next: Configure Security Group.

Step 8 − On the Configure Security Group page, choose the Select an existing security group option. Select the WebServerSG group that we created previously, and then choose Review and Launch.

Step 9 − Check Instance details on Review Instance Launch page then click the Launch button.

Step 10 − A pop up dialog box will open. Select an existing key pair or create a new key pair. Then select the acknowledgement check box and click the Launch Instances button.

 

So, this brings us to the end of blog. This Tecklearn ‘Deep Dive into Amazon EC2’ helps you with commonly asked questions if you are looking out for a job in AWS and Cloud Computing. If you wish to learn AWS and build a career in Cloud Computing domain, then check out our interactive, AWS Solutions Architect Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:

https://www.tecklearn.com/course/aws-solutions-architect-certification-training/

AWS Solutions Architect Certification Training

About the Course

Tecklearn’s AWS Architect Certification Training is curated by industry professionals as per the industry requirements and demands. The entire AWS training course is in line with the AWS Certified Solutions Architect exam. You will learn various aspects of AWS like Elastic Cloud Compute, Simple Storage Service, Virtual Private Cloud, Aurora database service, Load Balancing, Auto Scaling and more by working on hands-on projects and case studies. You will master AWS architectural principles and services such as IAM, VPC, EC2, EBS and elevate your career to the cloud, and beyond with this AWS solutions architect course.

Why Should you take AWS Architect Certification Training?

  • The Average salary of an AWS Certified Solutions Architect is $129k per annum – Indeed.com
  • AWS market is expected to reach $236 Billion by 2020 at a CAGR of 22% – Forrester
  • Netflix, Twitter, LinkedIn, Facebook, BBC, Baidu, ESPN & other MNCs worldwide use Amazon AWS Cloud

What you will Learn in this Course?

Overview of Cloud Computing and AWS

  • What is Cloud Computing
  • Definition of Cloud Computing
  • On Premises Vs Service Models
  • Advantages and Disadvantages of Cloud Computing
  • Cloud Computing Providers
  • Why AWS
  • What is AWS
  • AWS Benefits
  • AWS Services
  • Traditional Vs AWS Components
  • AWS Global Infrastructure
  • AWS Availability Zone
  • AWS Edge Locations
  • How to Access the AWS Services
  • AWS architecture
  • AWS Management Console
  • AWS offerings Listing (EC2, VPC, AMI, EBS, ELB, Backup)

Amazon Elastic Compute Cloud (EC2)

  • Overview of EC2
  • Elastic IP Vs Public IP
  • Launching of AWS EC2 instance demo
  • How to access EC2
  • EC2 Purchasing Options
  • Amazon Machine Images (AMI)
  • EC2 Storage for the Root Device
  • EC2 Creating AMI
  • EC2 Instance Types
  • Auto Scaling
  • Cost of EC2
  • Best Practices of EC2
  • EC2 Resizing
  • Placement Groups
  • Amazon Backup and various Concepts
  • EC2 Demo
  • Hands On

Networking and Monitoring Services: Amazon Virtual Public Cloud

  • Virtual Private Cloud (VPC) and its benefits
  • Default and Non-Default VPC
  • IP Address
  • CIDR – Classless Inter-domain Routing
  • Subnet: Subnet Mask and Subnet Mask Classes
  • Private and Public Subnet
  • IPv4 v/s IPv6 – As in AWS Infrastructure
  • Internet Gateway and Route Tables
  • Security Group with VPC
  • Access Control List, NACL and Security Group
  • NAT Devices: NAT Gateway and NAT Instance
  • Flow Logs
  • VPC Peering and its working
  • VPN and Direct Connect
  • VPC Limitations
  • Need for Monitoring Services
  • AWS CloudWatch and it’s working
  • AWS Command Line Interface
  • Use Cases
  • Hands On

Amazon Storage Services: Elastic Block Storage

  • What is Storage Services
  • What is Elastic Block Storage (EBS)
  • Persistent Storage
  • EBC Features
  • EBS Benefits
  • EBS Types
  • EBS Pricing
  • EBS Life Cycle
  • EBS Snapshot
  • EBS General Purposed SSD
  • EBS Provisioned IOPS SSD
  • EBS Throughput Optimized HDD
  • EBS Cold HDD
  • EBS Comparison
  • EBS Previous Generation Volumes
  • EBS How Incremental Snapshots Work
  • EBS Deleting an Amazon EBS Snapshot
  • EBS Summary
  • Hands On

Amazon Storage Services: Simple Storage Services (S3)

  • What is Amazon AWS S3
  • Simple Storage Services (S3) Advantages
  • S3 Buckets, Objects, Keys and Endpoints
  • S3 Data Consistency Model
  • S3 Transfer Acceleration
  • S3 Storage Types
  • S3 Versioning
  • S3 Life Cycle Management
  • S3 Data Protection
  • S3 Cross-Region Replication
  • S3 Hosting a Static Website
  • Hands On

Amazon Storage Services

  • Amazon Glacier Storage
  • Amazon Storage Gateway
  • Amazon Snowball (Data Import /Export)
  • Billing with Amazon CloudWatch
  • Hands On

AWS Database Services: Relational Database Service (RDS)

  • Overview of Databases and Relational Database Service (RDS)
  • What is Amazon RDS
  • AWS RDS Components
  • AWS RDS: Interface
  • AWS RDS: Charges
  • AWS RDS Multi-AZ: Benefits
  • AWS RDS Multi-AZ: Failover Process
  • NoSQL Database: Amazon DynamoDB
  • Overview of DynamoDB
  • DynamoDB Benefits
  • Hands On

AWS Database Services Continued

  • Data Warehouse: Amazon Redshift
  • Overview of Amazon Redshift
  • Redshift Architecture
  • Amazon Redshift features
  • In Memory Cache: Amazon ElasticCache
  • Redis Vs MemCache
  • Amazon ElasticCache Cluster
  • Database Migration: AWS Database Migration Service

Load Balancing in AWS

  • What is Fault Tolerant System
  • Features of Elastic Load Balancing
  • What is AWS ELB (Elastic Load Balancer)
  • Types of Load Balancer: Classic, Application and Network
  • Classic Load Balancer: Features, Health Check Configuration, Cross-Zone, Connection Draining, Sticky Sessions, Access Logs, Limitation
  • Application Load Balancer: Features, Application Flow, Limitation
  • Network Load Balancer
  • Access Elastic Load Balancing: AWS Management Console, AWS CLI, AWS SDKs, HTTPS Query API

Amazon Route 53

  • What is Amazon Route 53
  • Domain Name Registration
  • Routing Internet Traffic to Resources
  • Automated check of the health of Resources + Data Pipeline

AWS Identity and Access Management (IAM) – Control user access

  • Authentication (Who can use) and Authorization (Level of Access)
  • IAM Policies – JSON Structure
  • Users, Groups and their Roles
  • AWS IAM Features
  • User Sign-in to Account
  • Switch Role
  • Role to EC2 Instance
  • Password Policy
  • How to Access AWS
  • Multi-Factor Authentication (MFA)
  • Permissions and Permission Types
  • Policies Structure
  • User Based Policies
  • Resource Based Policies
  • Resource Based Permission
  • Policies Types
  • Request Flow
  • Limitations
  • IAM HTTPS API
  • Logging IAM Events with AWS CloudTail
  • Hands On

Amazon CloudWatch

  • What is Amazon CloudWatch
  • Features and Benefits
  • CloudWatch Architecture
  • Hands On

AWS Auto Scaling

  • What is AWS Auto Scaling
  • Auto Scaling Components
  • Auto Scaling Group
  • Auto Scaling Launch Configuration
  • Auto Scaling Benefits
  • Auto Scaling Lifecycle
  • Auto Scaling Plans
  • Manual Scaling
  • Schedule Scaling
  • Dynamic Scaling
  • Auto Scaling Step Adjustment
  • Auto Scaling Termination Policy
  • Default Termination Policy
  • Health Check
  • Hands On

Amazon Application Services

  • Elastic BeanStalk
  • Simple Email Services (SES)
  • Simple Queue Service (SQS)
  • Simple Notification Services (SNS)
  • AWS Lambda
  • Introduction to Elastic OpWorks
  • Hands On

About AWS Solution Architect Associate Exam

Got a question for us? Please mention it in the comments section and we will get back to you.

 

0 responses on "Deep Dive into Amazon EC2"

Leave a Message

Your email address will not be published. Required fields are marked *