In this tutorial, we will be talking about what are Terraform providers and modules and how we can set up AWS providers in Terraform?

Providers are nothing but plugins of Terraform. Providers add the capability to talk to different resources. As we can see there are multiple providers here like AWS, GCP, Azure, and many more. Using these providers we can talk to one or all of them from one script.

Module is a code that we can reuse. It is just like npm package in node. We will see how to make our own modules in future videos.


In this tutorial, we will be talking about why we need terraform and how to install it.

Just imagine you and one of your other friends is working in a startup as DevOps engineer. You use the AWS management console or GCP console to manage your infrastructure. But now your company received funding and now your CTO is thinking to add 5 more engineers in DevOps. There are multiple questions you can ask here:

  1. Who is going to teach them how we operate?
  2. Is there a way of doing things the same?
  3. How can we control consistency among ourselves…

What all streams we have (which we can think of on top of our head):

  • Frontend
  • Backend
  • Data science
  • Devops
  • Cyber security/Hacking

In short every stream is GOOD.

But we will talk about all the streams, what we have to do in them and how to pick one.

Whatever you see on your laptop, phone, desktop screens is called Frontend. Like a button on a website is a part of Frontend.

Technologies to learn to be a Frontend developer:

Basics

  • HTML
  • CSS
  • JavaScript

Advance (Pick One)

  • React.js (best in the market)
  • Angular
  • Vue

It holds the business logic. For example…


Just imagine if there are 20 people who are working in Devops/SRE managing 2000 servers, 50 s3 buckets, 200 code pipelines, 30 different IAM roles. Just imagine how many clicks you have to do just to add 100 new ec2 and remove 50 old ec2s and you would be spending at least 2 hours on it may be more.

What if I tell you it is all possible within 10 mins you just have to copy paste some lines of. Are you scared of code? Me too. Do not worry it is not literally code. …


With increase in data in databases a lot of the companies started adopting NoSQL. But is SQL the best solution? Obviously, not. There are few things in which SQL is far better than NoSQL so some midsize companies to big companies have different databases for different kinds of data.

A database of e-commerce can be in MySQL and MongoDB. Now what all tables or collections to put in MongoDB or MySQL. I like to divide the data in 2 categories:

  • Vertical data
  • Horizontal data

Is kind of data which is too much than any other data in other tables like…


I have built startup tech teams from scratch. What I have seen is with less than 6 people in the team it is easy to manage team without any project management tools but when the team grows it becomes difficult to track lots of things like:

  1. Progress of the development
  2. Employee efforts
  3. Feature release
  4. Equal distribution of work
  5. Tentative date of release

We need to use project management tools so that we can track work and employees.

Having a Defined Process

Defining a process in development helps a manager to keep track of employees and work. But it comes with some disadvantages like in…


Index maintain a data structure like B-Tree which needs to be updated every time a new insert is there, that column is updated or deleted. So, writes could be expensive…


There are a lot of No-SQL Databases out there Dynamo DB is one of them. If you just want to learn about DynamoDB just jump to the DyanmoDB section.

No-SQL Databases are that database which is not tabular. Unlike SQL these databases can be a Key-Value Database, Document Database, or Graph Database.

Graph Database

These databases are relation first databases. Unlike SQL Graph Databases treat relationships between data as important as data itself. It can be very useful for scenarios where we have a lot of connected data. So, let's suppose we have a social networking site and there are…


You must be on Flutter 2 but your null-safety must be off.

Go to your pubspec.yaml file and see if the environment sdk ≥2.12.0

environment:
sdk: '>=2.12.0 <3.0.0'

If no then run the following command. If yes, then you do not need to follow the steps you are already on null-safety.

dart migrate

It might throw you some error like:

Please upgrade the packages containing these libraries to null safe versions before continuing.  To see what null safe package versions are available, run the following command: `dart pub outdated --mode=null-safety`.To skip this check and try to migrate anyway, re-run…


How do we know if the data sent by client is what we asked for.

Assuming MERN tech stack

We need pageSize and pageNumber as query parameters in a URL. By default these parameters should be number but what if client/Frontend does not send number? It could crash our server.

Reasons we should have data validation checks:

  • Prevent malicious database commands to reach our database
  • Give client exact error why request is failing
  • Reduce response time
  • Does not crash server

We should place validation check right after we receive request. I will tell you in order

1. Validation check

2…

I am a YouTuber and a blogger who loves technology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store