AWS or Amazon Web Services is cloud service provider that provides more than 165 fully featured services. AWS is big shareholder in cloud providers.
The basic cloud services by AWS are –
1. EC2 Machines
4. Security Management(Firewall)
5. Identity Management
6. Load Balancing
7. Auto Scaling
Earlier, organisation had to set up their own servers, storage devices and also electricity to run these servers. It was not an efficient aproach as the demand of servers was not constant. Resources needed to be scaled with increase in traffic. But once the traffic went down, those scaled resouces were useless until next demand. On the other hand scalability of resources used to take time.
So organizations started to move towards cloud where resources can be scaled and downgraded on demand at any time. So cloud is most efficient and productive.
So If you want to learn and use AWS cloud, then there are many free tier services for one year to welcome new user.
Amazon EC2 Instance – Free Tier
EC2 instances are nothing but servers. There are multiple types of ec2 instances on aws. Multiple combinations of resources(CPU, Ram, Storage) create multiple types of instances.
Example: Types of ec2 instances –
m4.large (2vCPU, 8GB Mem, EBS-only, 450 Bandwidth)
c5.large (2vCPU, 4GB Mem, EBS-only, Up to 3,500 Bandwidth)
see all types of instances here
The free tier eligible ec2 instance that which you can use is t2.micro
t2.micro (1vCPU, 1GB Mem, EBS-only, N/W performance low to moderate)
AWS provides 750 Hours per month to use this instance for first year. So if you want to run two t2.micro ec2 instance then you can run two instance for 375 Hours (750/2) simultaneously.
Amazon S3 Storage
Amazon Simple Storage Service(Amazon S3) is an object storage sevice where both large and small organizations can store their any amount of data.
AWS provides free Amazon s3 storage upto 5GB for 12 months. Apart from 5GB and 12 months there are some more limitation too. Amazon s3 free tier allows 20,000 get requests and 2,000 put requests only.
AWS provides in built Relational Database Services(RDS) where you don’t need to install any RDBMS database. You have to just select instance type and number of instance(on which database will run) and select databse according to your use and you are good to go. AWS will manage your backup and replicas itself.
You can use AWS database services for free for first year(12 months).
As I told you database runs on an instance, so if you want to use database for free then you need to run this database on t2.micro instance. So same conditions will be applied with database also. You can run this database 750 Hours per month(on one t2.micro instance) for 12 months.
Please note it doesn’t matter whether you are using t2.micro for you application or for RDS database, your total quota for t2.micro is 750 Hours per month.
The databases which you can run are MySQL, PostgreSQL, MariaDB, Oracle ByOL and SQL Server.
Amazon DynamoDB is fast and flexible, NoSQL key-value and document based fully managed, multiregion, multimaster database with in-memory caching. It provides single-digit milli second performance.
DynamoDB can handle 10 trillion requests in a day and supports peaks of more than 20 million requests per second.
Free tier of DynamoDB provides –
25 GB Storage.
25 provisioned write capacity units.
25 provisioned read capacity units.
Can handle upto 200M requests per month.
AWS lambda is serverless technology which allows you to run your code without managing your servers. Generally you put your code on a server and when user triggers an even your code running on server responds to that event. But this activity is happenning for limited numbers of time in a day then why this server should run entire day. It is not an efficient approach as your server is idle at most of the time.
Lambda allows you to pay only for compute time you consume , you no need to pay anything when your code is not running.
In free tier, you can use –
1 Million free requests per month
Upto 3.2 million seconds of compute time per month
See this video by AWS for more details about Lambda