Shamelessly Serverless

Krrish Krishna
2 min readOct 29, 2020

--

Photo by Science in HD on Unsplash

I have been using serverless for some time now but mostly for hosting apps since they were cheaper and costs equivalent to paying nothing with their beginner plan.

I used serverless mainly since I don't want to pay server charges for my learning purposes :-P

Long story short, I initially opted for serverless without knowing its advanced features since they were cheaper/free for my use and they don't need initial setup, maintenance.

I choose to write an article on serverless with AWS lambda since there were not many beginner-friendly notes available and not many of us are able to take advantage of this.

If you're like me want to have a server that is easier to set up and want to handle busty traffic without worrying about underlying setup etc., then you should definitely check serverless architecture.

Note: These are my thoughts and finding which I had experienced using lambda

I don't want to go what is AWS lambda etc., you can find this here https://aws.amazon.com/lambda/

So what I like about being serverless and how I fell in love with this

All you need to do is upload code to a lambda that creates a function you get an ARN (Amazon Resource Name) which will be a unique identifier for the function created and done your app is live. No server configurations needed, no software setup, no maintenance needed.

Traditional EC2 Setup needs creating an instance, scheduled maintenance, software manual updates, security patches, etc.,

In EC2 or any server instance, you rent the server and pay by hours irrelevant to traffic. Since you rent as long as the server is on the billing per hour takes into account

In Lamda or serverless you only pay by invocation memory duration, during downtime you don't need to pay.

In Lamda the server automatically scales up based on traffic, which can be achieved in a traditional server by creating a container but the underlying infrastructure needs to be managed by the system administrator.

All this is abstracted to us by lambda and we don't need to worry about unpredicted traffic. It would automatically scale up and down based on traffic.

So switch shamelessly to serverless if you don't want to manage server infrastructure and let cloud providers do this for us.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--