AWS concepts from A to Z
Tags: beginners, aws, architect
Published: 2018-12-10 18:12:25

---
title: AWS concepts from A to Z
published: true
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/gg4w6doj5dpjbozm5g09.png
description: The AWS list of services grows each month, here's a list to help you get to grips with some of them
tags: #beginners #aws #architect 
---

Getting to grips with AWS services can be quite a challenge. My glossary of terminology was inspired by [AWS in Plain English](https://expeditedsecurity.com/aws-in-plain-english/), so I know my Athena from my Aurora and CloudTrail from my CloudFront.




![AWS](https://thepracticaldev.s3.amazonaws.com/i/79zge7qikw4haemrlnz8.png)

------------------


   [Alarm](#chapter-1)
   [Bucket](#chapter-2)
   [CLI](#chapter-3)
   [DB Snapshot](#chapter-4)
   [Edge Location](#chapter-5)
   [Firehose](#chapter-6)
   [Group](#chapter-7)
   [Hosted Zone](#chapter-8)
   [Instance Type](#chapter-9)
   [Job flow](#chapter-10)
   [KMS](#chapter-11)
   [Lifecycle](#chapter-12)
   [Messages](#chapter-13)
   [NAT Gateway](#chapter-14)
   [On Demand Instance](#chapter-15)
   [Persistant storage](#chapter-16)
   [Query](#chapter-17)
   [Read replica](#chapter-18)
   [Scaling](#chapter-19)
   [Tagging](#chapter-20)
   [Unit](#chapter-21)
   [Virtual Private Cloud](#chapter-22)
   [WAF](#chapter-23)
   [X.509 certificate](#chapter-24)
   [Yobibyte](#chapter-25)
   [Zone](#chapter-26)

---------------

<a name="chapter-1"></a>
### Alarm

When you first begin using Amazon Web Services, you may want to add a Billing Alarm. Making sure you don't run into unexpected charges is important since it's so easy to forget something is running.

{% link https://dev.to/kylegalbraith/how-to-better-watch-your-aws-costs-before-you-forget-566g %}

---

<a name="chapter-2"></a>
### Bucket

An [S3 bucket](https://aws.amazon.com/s3/) stores objects, similar to files and folders on your local machine.  Each object consists of:

- <strong>Key</strong> - the name of the object
- <strong>Value</strong> - the data in the file itself made of bytes 
- <strong>VersionID</strong>
- <strong>Metadata</strong> 

There are five storage tiers:
- <strong>S3</strong> - Most expensive and reliable option
- <strong>S3:IA</strong> - For storing non-critical data that CANNOT be easily reproduced and needs to be retrieved quickly
- <strong>S3:IA-One Zone</strong> - For storing non-critical data that CAN be easily reproduced and needs to be retrieved quickly.
- <strong>Glacier</strong> - Extremely cheap long-term storage
- <strong>Deep Glacier</strong> - For long-term storage with a 12-hour retrieval time for 'cold' data

Learn more about S3 with [David](https://dev.to/david_ojeda)


{% link https://dev.to/david_ojeda/aws-s3-pt-1---the-basics-55bp %}

---

<a name="chapter-3"></a>
### CLI

The [AWS CLI](https://aws.amazon.com/cli/) allows you to issue commands from the command line. It's useful for uploading files to S3 buckets and launching EC2 instances.

Learn more about the CLI:


{% link https://dev.to/mdminhazulhaque/aws-cli-cheatsheet-15f2 %}

---

<a name="chapter-4"></a>
### DB Snapshot

[Amazon RDS](https://aws.amazon.com/rds/) creates a storage volume snapshot of your entire instance. Creating this snapshot results in a brief I/O suspension that lasts from a few seconds to a few minutes. Multi-AZ DB instances are not affected by this I/O suspension since the backup is taken on the standby.

When you create a DB snapshot, you need to identify which DB instance to back up, and then give your DB snapshot a name so you can restore from it later. You can do this using the AWS Management Console, the AWS CLI, or the RDS API.

Learn how to automate this process with [Jeremy](https://dev.to/goozenburger)

{% link https://dev.to/goozenburger/automating-restoration-of-production-databases-into-test-using-aws-rds-56f4 %}

---

<a name="chapter-5"></a>
### Edge location

[Amazon CloudFront](https://aws.amazon.com/cloudfront/) is the AWS CDN.  It caches information closest to the user so the next user can download a copy faster.  CloudFront can distribute all website content, including dynamic, static, streaming and interactive, from services like S3 or your non-AWS server.

Learn more about CloudFront with [Kyle](https://dev.to/kylegalbraith)

{% link https://dev.to/kylegalbraith/how-to-easily-boost-the-delivery-of-static-websites-inaws-m46 %}

---

<a name="chapter-6"></a>
### Firehose

[Amazon Kinesis Data Firehose](https://aws.amazon.com/kinesis/data-firehose/) is a reliable way to stream data in near real-time.  Data can be streamed to S3, Amazon's data warehousing solution, [Redshift](https://dev.to/ronsoak/the-r-a-g-redshift-analyst-guide-what-is-redshift-fc1) or [Elasticsearch](https://aws.amazon.com/elasticsearch-service/). 

Kinesis allows data to be streamed in real-time from a producer to a processor or storage option. This is a huge change from batch processing, the traditional way to land data from one location to another.


{% link https://dev.to/aws-builders/event-streaming-and-aws-kinesis-4877 %}

---

<a name="chapter-7"></a>
### Group

[AWS Identify and Access Management](https://aws.amazon.com/iam/) allows you to securely control individual and group access to your resources.  

Users by default have no access until you assign them a role.  Roles define a set of permissions for making AWS service requests and are most often used to assign groups of users permissions to perform tasks or access services.

Learn more about IAM with [David's](https://dev.to/david_ojeda) practical example:

{% link https://dev.to/david_ojeda/aws-iam-pt-2---a-practical-example-13b6 %}

---

<a name="chapter-8"></a>
### Hosted Zone

[Amazon Route 53](https://aws.amazon.com/route53/) is Amazon's Domain Name System (DNS) web service. It is designed to give developers a cost-effective way to route end users to Internet applications by translating names like www.example.com into the numeric IP addresses like 192.0.2.1 that computers use to connect.  

AWS named the service Route 53 because all DNS requests are handled through port 53.

Learn more about hosting a static website with [Mario](https://dev.to/mariordev)

{% link https://dev.to/mariordev/host-a-static-site-on-aws-s3-5ai9 %}

---

<a name="chapter-9"></a>
### Instance Type

EC2 is a service that provides virtual machines in the cloud where you only pay for the capacity you use and choose from ‘families’ of instance types that are good for different use cases.

<strong>General Purpose</strong> - a balance of compute, memory and networking resources
<strong>Compute Optimised</strong> - ideal for compute-bound applications that benefit from the high-performance processor
<strong>Memory-Optimised</strong> - fast performance for workloads that process large data sets in memory
<strong>Accelerated Optimised</strong> - hardware accelerators, or co-processors
<strong>Storage Optimised</strong> - high, sequential read and write access to very large data sets on local storage


{% link https://dev.to/harri_etty/the-introduction-to-servers-i-wish-i-d-had-44jl %}

---


<a name="chapter-10"></a>
### Job Flow

[Amazon EMR](https://aws.amazon.com/emr/) provides a scalable framework to run Spark and Hadoop processes over an S3 data lake. The run job on an EMR template launches an Amazon EMR cluster based on the parameters provided and starts running steps based on the specified schedule. Once the job completes the EMR cluster is terminated.

There is a growing list of other services that AWS offers for data science and machine learning, learn more about them with [Julien](https://dev.to/juliensimon)

{% link https://dev.to/juliensimon/amazon-sagemaker-summing-up-6-months-of-customer-meetings-3o27 %}

---


<a name="chapter-11"></a>
### KMS

The [AWS KMS Service](https://aws.amazon.com/kms/) makes it easy to create and control encryption keys on AWS which can then be utilised to encrypt and decrypt data safely. The service leverages Hardware Security Modules (HSM) under the hood which guarantees the security and integrity of the generated keys.

Learn more about how to get started with [Lou](https://dev.to/loujaybee)

{% link https://dev.to/loujaybee/how-to-use-aws-kms-in-aws-lambda-10ik %}

---

<a name="chapter-12"></a>
### Lifecycle

If you want to store objects cost-effectively, configure their lifecycle.

The lifecycle configuration defines the actions that Amazon S3 applies to a group of objects. For instance, you might archive objects in Glacier one year after creating them, or transition them to S3:IA 30 days after creating them.

Learn more in this practical example:

 
{% link https://dev.to/veermanhas/how-to-easily-delete-large-s3-buckets-f2e %}

---

<a name="chapter-13"></a>
### Messages

[Amazon SNS](https://aws.amazon.com/sns/) allows applications to send time-critical messages to multiple subscribers through a “push” mechanism, eliminating the need to periodically check or “poll” for updates

[Amazon SQS](https://aws.amazon.com/sqs/) stores messages in a queue. SQS cannot deliver any messages, where an external service (lambda, EC2 etc) is needed to poll SQS and grab messages from SQS.

By using Amazon SNS and Amazon SQS together, messages can be delivered to applications that require immediate notification of an event and also persisted in an Amazon SQS queue for other applications to process later.

Learn more about how it all fits together with [Frank](https://dev.to/frosnerd)

{% link https://dev.to/frosnerd/event-handling-in-aws-using-sns-sqs-and-lambda-2ng %}

---

<a name="chapter-14"></a>
### NAT Gateway

A [virtual private cloud](https://aws.amazon.com/vpc/) (VPC) is a virtual network dedicated to your AWS account. It is logically isolated from other virtual networks in the AWS Cloud. You can launch your AWS resources, such as Amazon EC2 instances, into your VPC.

You can use a NAT device to enable instances in a private subnet to connect to the internet (for example, for software updates) or other AWS services, but prevent the internet from initiating connections with the instances. A NAT device forwards traffic from the instances in the private subnet to the internet or other AWS services and then sends the response back to the instances.

{% link https://dev.to/grahamlyons/everything-you-need-to-know-about-networking-on-aws-4bkf %}

---


<a name="chapter-15"></a>
### On-Demand Instance

There are multiple ways to [pay for](https://aws.amazon.com/ec2/pricing/) Amazon EC2 instances: 

- <strong>On-Demand</strong> -  pay for capacity by hour or per second depending on which instances you run.
- <strong>Reserved Instances</strong> - provide a reservation at 75% off the On-Demand price, giving you confidence in your ability to launch instances when you need them.
- <strong>Spot Instances</strong> - request spare Amazon EC2 computing capacity for up to 90% off the On-Demand price.
- <strong>Dedicated Hosts</strong> - provide EC2 instance capacity on physical servers dedicated for your use.
- <strong>Savings Plan</strong> - provides the benefits of Reserved Instances but with more flexibility to change instance type within the same family while taking advantage of savings

Learn more about pricing with [Chris](https://dev.to/liquid_chickens)

{% link https://dev.to/liquid_chickens/how-to-lower-your-aws-ec2-bill-5l4 %}

---


<a name="chapter-16"></a>
### Persistent storage

[Amazon EBS](https://aws.amazon.com/ebs/) is a persistent storage device that can be attached to a <strong>single</strong> EC2 instance to be used as a file system for databases, application hosting, and storage.

[Amazon EFS](https://aws.amazon.com/efs/) is a managed network file system that can be shared across <strong>multiple</strong> Amazon EC2 instances and is scalable depending on workload.

Learn more about provisioning EBS with [Ashan](https://dev.to/ashanfernando)

{% link https://dev.to/ashanfernando/the-importance-of-capacity-planning-for-ebs-volumes-in-aws-3pd0 %}

---


<a name="chapter-17"></a>
### Query

[Amazon RDS](https://aws.amazon.com/rds/) makes it easy to provision a managed database instance in the cloud.  At the time of writing the following database engines were available.

- [Amazon Aurora](https://dev.to/helenanders26/the-importance-of-database-modernisation-1k86) for MySQL and PostgreSQL
- MySQL 
- PostgreSQL
- MariaDB
- Oracle
- MS SQL Server

For cases when a NoSQL database is more appropriate, AWS offers [DynamoDB](https://aws.amazon.com/dynamodb/).  [Netflix](https://www.youtube.com/watch?v=k8PTetgYzLA) uses DynamoDB to run its A/B testing and personalisation experiments.

Learn more about DynamoDB with [Ivan](https://dev.to/mushketyk)


{% link https://dev.to/mushketyk/should-you-use-dynamodb-5m5 %}

---

<a name="chapter-18"></a>
### Read replica

[Read replication](https://aws.amazon.com/rds/details/read-replicas/) can be part of your disaster recovery plan. Replication means that a secondary database is online and can be queried. This is good for disaster recovery but can also be useful if you utilise one instance for reporting and one for live queries. 

If you are using AWS setting this up takes just a few clicks. You can promote a read replica if the source database instance fails or route traffic here to reduce the load on the source database.

{% link https://dev.to/klauenboesch/backing-up-mysql-in-aws-using-a-read-replica-3ia6 %}

---

<a name="chapter-19"></a>
### Scaling

Auto Scaling launches and terminates Amazon EC2 instances according to user-defined policies, schedules, and alarms. You can use Auto Scaling to maintain a fleet of AWS EC2 instances that adjust to any load. You can also use Auto Scaling to spin up multiple instances in a group at once.

Learn more with this overview from [Ashan](https://dev.to/ashanfernando)

{% link https://dev.to/ashanfernando/deployment-strategies-for-auto-scaling-and-load-balancing-ec2-instances-in-aws--2e6l %}

---

<a name="chapter-20"></a>
### Tagging

Using tags in your [metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) helps to identify who is using each resource and gain some control over costs.  You can then use these in conjunction with the [Monthly Billing Report](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/configurecostallocreport.html)

Learn more about what you should consider when trying to manage costs:


{% link https://dev.to/cloudforecast/aws-tagging-best-practices-guide-part-1-of-3-3f85 %}

---

<a name="chapter-21"></a>
### Unit

CloudWatch is based on metrics. The metrics represent a set of data points ordered by time and published to CloudWatch. Imagine the metric as a variable to be monitored over time, with the data points representing its value.

Each data point has a timestamp and unit of measurement. When you request statistics, the returned data stream contains namespace, metric name, dimension, and unit information.


Learn how to put this into practice with [Alex](https://dev.to/alex_barashkov) by creating a Cloudwatch alarm using Lambda, CloudWatch and SNS.

{% link https://dev.to/alex_barashkov/how-to-send-aws-cloudwatch-alarms-to-slack-596e %}

---

<a name="chapter-22"></a>
### VPC

[A Virtual Private Cloud (VPC)](https://aws.amazon.com/vpc/) is a virtual data centre that exists inside an AWS availability zone that is logically isolated. The components of a VPC are Internet Gateways/Virtual Private Gateways, routes tables, network access control lists, subnets, and security groups.


{% link https://dev.to/damdev95/aws-vpc-what-you-need-to-understand-2dbk %}

---

<a name="chapter-23"></a> 
### WAF

[AWS Web Application Firewall (WAF)](https://aws.amazon.com/waf/faqs/) protects web applications from attacks, like specific user agents, bad bots, or content scrapers, by filtering traffic based on rules that you create. 

<strong>Block IP addresses that exceed request limits</strong>
This lets you control access by IP address, and country, blocking SQL injections, malicious scripts and the length of requests.

<strong>Block IP addresses that submit bad requests</strong>
This solution allows you to block IP addresses using Lambda, CloudWatch and AWS WAF to block requests after a threshold is reached.

AWS WAF can be deployed on Amazon CloudFront, protecting your resources and content at the Edge locations. Learn more about making it work for you with Cloudfront [with Rob](https://dev.to/rob117)

{% link https://dev.to/rob117/serverless-backends-with-aws-cloud-cloudfront-and-waf %}

---

<a name="chapter-24"></a>
### X.509 certificate

You can use x.509 certificates in [AWS Certificate Manager](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) to identify users, computers, applications, services, servers, and other devices internally.

Learn how this works with [Erik](https://dev.to/baens)


{% link https://dev.to/baens/setting-up-a-development-workspace-for-postgres-and-vault-439p %}


---

<a name="chapter-25"></a>
### Yobibyte

OK, I cheated here, but this is a really interesting post from [Kevin](https://dev.to/kbk0125) that puts it all together.

Fun fact: a yobibyte is 2^80 or 1,208,925,819,614,629,174,706,176 bytes.

{% link https://dev.to/kbk0125/amazon-web-services-aws-explained-by-operating-abrewery-2j0 %}

---

<a name="chapter-26"></a>
### Zones

One of the most important introductory concepts to understand is that AWS hosts its infrastructure in data centres called [Availability Zones (AZs)](https://aws.amazon.com/about-aws/global-infrastructure/).  There are multiple AZs in a Region which means that if there is a problem in one AZ another can pick up the slack.  For some services, you can host your application in multiple Regions.

Learn why you should consider this when building on AWS with [Frank](https://dev.to/frosnerd)

{% link https://dev.to/frosnerd/deploying-and-benchmarking-an-aws-rds-mysql-instance-2faf %}