What is AWS?

What is AWS?

Amazon net Services (AWS) may be a cloud computing platform that provides mixture of infrastructure as a service (IaaS), platform as a service (PaaS) and code as a service (SaaS). To be additional specific, it’s an outsized bundle of cloud based mostly services.

Global Infrastructure

  • Regions (us-east-1 …) are geolocation or physical location around the world.
  • Availability Zones are physical data center (us-east-1a …) within the Regions.
  • Edge location is a small setup in different locations, that means instead of getting the content from the source, it just routes to the nearest edge location and delivers the requested content.


Domain Name System (DNS) is an internet address book, where you can translate into an IP address like


Content Delivery Network (CDN) is a geographically distributed network of proxy servers which cache the content, such as videos, files, images or etc.


It collects monitoring and operational data in the form of logs, metrics, events, and all resources visualize on the dashboard.


It provides event history of your AWS account activity including Console, CLI, SDKs, and APIs.


Elastic Internet Protocol (EIP) is reserved public IP address that you can assign to any EC2? instance. EIP remains same if you stop, restart or shutdown the instance. Each AWS account can have up to five EIPs.


Elastic Compute Cloud (EC2) is a virtual machine or server that runs your applications in the cloud.


Amazon Machine Image (AMI) is a template that contains software configuration (for example, an OS, Web Server, and Web Applications) to launch an instance.


Auto Scaling Group (ASG) contains collection of EC2? instances and scales resources to meet traffic demands. If an instance becomes unhealthy, the group terminates the unhealthy instance and launches another instance to replace it.


Simple Storage Service (S3) stores and retrieves any amount of data (files, images, videos and etc). Each AWS account can create 100 buckets max.


Amazon Glacier is a storage service where S3 data can be archived for long term retention.


Identity and Access Management (IAM) enables you to create and manage users, groups, roles, policies and permissions to allow and deny their access to resources.


Elastic Kubernetes Service (EKS) helps you to control the resource allocation and traffic management for cloud applications and Microservices. It offers automated scheduling, rollouts, rollback, self-healing, horizontal scaling, load balancing, zero downtime and etc.


Elastic Container Service (ECS) runs your containers on a cluster of EC2 instances pre-installed with Docker.


Elastic Container Registry (ECR) is where you can store your docker images.


Elastic Block Store (EBS) provides storage volumes to use with EC2 instances. You can mount these volumes as devices on your instances.


Snapshots are incremental backups, which means your next backup will be based on your last snapshot.


Virtual Private Cloud (VPC) is a virtual network that you define to secure and easy access to resources.

  • Route Table contains set of rules and decides where network traffic should be directed.
  • Internet Gateway (IGW) allows resources within your VPC to access the internet.
  • Network Address Translation Gateway (NAT Gateway) allows private subnet(s) to connect to the internet and also prevent initial connection from the internet.
  • Classless Interdomain Routing (CIDR) is a method for allocating IP addresses.
  • Subnet is a smaller network inside a large network.
  • VPC endpoint enables you to create a private connection between your VPC and other AWS services without requiring access over the internet.
  • Network Access Control List (NACL) and Security Group both act as a virtual firewall for controlling traffic of subnets or instances.
Security Group NACL
Operates at instance level Operates at subnet level
Can allow rules only Can allow or deny rules


Load Balancer (LB) distributes incoming traffic between multiple target groups or across EC2 instances.

Classic Load Balancer (CLB) provides basic routing across multiple EC2 instances. It uses Layer 4 (TCP, UDP, TLS) and Layer 7 (HTTP, HTTPs).

Network Load Balancer (NLB) is a Static/Private IP and TCP port based routing. It works at Layer 4 (TCP, UDP, TLS).

Application Load Balancer (ALB) is a (path, host, HTTP header or query string) based routing. It works at Layer 7 (HTTP, HTTPs). Its good for Microservices and Container based apps.


You may need to install awscli, boto3 via pip3

aws ec2 describe-instances
aws ec2 {start,stop,terminate}-instances --instance-ids <instance_id>
aws s3 ls
aws ec2 create-volume --size 10 --region us-east-1 --availability-zone us-east-1a --volume-type gp2
aws iam create-service-linked-role --aws-service-name ""