Saturday 3 August 2019

Concepts of AWS part-1

Nowadays we have so many cloud services hosted on the internet by various providers like Apple iCloud, Google Cloud Platform, Microsoft Azure, Amazon Web Services , IBM Cloud, Salesforce and many others.
Everybody has there own perception of how things are uploaded/downloaded/accessed from a cloud. But people are not keen to learn about how things actually work in this process.
Because of the versatility and vastness of Amazon Web Services I have chosen this to understand and clear my concept of cloud architecture.

Lets start with understanding what is AWS and its services first. In the end we would be able to create a cloud architecture ourself by connecting all the dots together.

What is AWS?

AWS stands for Amazon Web Services.

Amazon's Cloud services provide great flexibility in provisioning, duplicating and scaling resources to balance the requirements of users, hosted applications and solutions.
Cloud services are built, operated and managed by a cloud service provider, which works to ensure end-to-end availability, reliability and security of the cloud.

AWS ensures the three aspects of security, i.e., Confidentiality, integrity, and availability of user's data.

There are three basic types of cloud services:

  • Software as a service (SaaS)
  • Infrastructure as a service (IaaS)
  • Platform as a service (PaaS)

In addition to these services above, AWS also offers Function as a Service (FaaS), which is the concept on which Serverless computing is build.
These services are the building blocks that can be used to create and deploy any type of application in the cloud.
Currently there are around 165 services that are being offered by AWS.
If you want to know more about the services offered by AWS. Please feel free to follow this link.

History of AWS

  • In 2003, Chris Pinkham and Benjamin Black presented a paper on how Amazon's own internal infrastructure should look like. They suggested to sell it as a service and prepared a business case on it. They prepared a six-page document and had a look over it to proceed with it or not. They decided to proceed with the documentation.
  • In 2004, the first web service SQS which stands for "Simple Queue Service" was officially launched. 
  • In 2006, AWS (Amazon Web Services) was officially re-launched, combining the three initial service offerings of Amazon S3 cloud storage, SQS and EC2.
  • In 2007, over 180,000 developers had signed up for the AWS.
  • In 2014, AWS claimed its aim was to achieve 100% renewable energy usage in the future.
  • In 2015, AWS breaks its revenue and reaches to $6 Billion USD per annum. The revenue was growing 90% every year.
  • By 2016, revenue doubled and reached $13 Billion USD per annum.
  • In 2018, AWS launched a Machine Learning Speciality Certs. It heavily focused on automating Artificial Intelligence and Machine learning.

Advantages of AWS

  1. High Availability and durability (99.9999999%)
  2. High Scalability/Elasticity (expand/shrink on demand)
  3. Fault tolerance (Reliable/Resilient)
  4. Based on the concept of Pay-As-You-Go - Pay for the resources when you need them.
  5. Cost-effectiveness - No long term commitments/huge investments in physical infrastructure.
  6. Loosely coupled architecture - Best fit for adopting microservice architecture.

How to SignUp to the AWS platform

  • First visit this website https://aws.amazon.com/, then click on the Complete Sign Up to create an account and fill the required details.
  • Now, fill your contact information.
  • After providing the contact information, fill your payment information.(Don't worry nothing will be deducted from your account)
  • After providing your payment information, confirm your identity by entering your phone number and security check code, and then click on the "Contact me" button.
  • AWS will contact you to verify whether the provided contact number is correct or not via a phone call.
  • The final step is the confirmation step. Click on the link to log in again; it redirects you to the "Management Console".
AWS provides 4 plans, you can choose as per your usage/features: 
  • Basic - Free
  • Developer - Starting at $29 per month
  • Business - Starting at $100 per month
  • Enterprise - Starting at $15,000 per month

Wondering how much percentage of internet is comprised of AWS??

AWS hosts about 5% of all websites and accounts for about 40% of all Internet traffic.
You can check by blocking all the traffic coming from IP address ranges of AWS hosted servers, which is shared by AWS here
There is a simple script called AWS Blocker created by a developer which retrieve the official list of AWS IPv4 and IPv6 ranges, then block them all using iptables.
After running the above script on your linux machine, you won’t be able to listen to Spotify, book a flight on Expedia, or look at rooms on Airbnb & moreover not able to watch your favorite seasons on Netflix :'(
This is what the internet would look if Amazon Web Services suddenly ceased to exist.


In the next blog, we will deeply discuss about the components that make AWS such an amazing cloud platform in the coming future. Components of AWS part-2


1 comment: