Codementor Events

How I learned AWS

Published Apr 18, 2018
How I learned AWS

About me

I am Vinay Goel, and I am a final year undergraduate student at IIT Mandi, where I am studying computer science. I am from Karnal, Haryana.

I did my schooling at Pratap public school which is affiliated with CBSE. I have a keen interest in competitive programming, machine learning, and cloud computing.

In 2015, I took part in a programming contest like the ACM-ICPC (Association for Computing Machinery — International Collegiate Programming Contest) regionals, where top teams from IIT’s Nit’s Bits’ I.I.I.T’s go there to compete.

I represented my college at two locations, Chennai and Kolkata, and was in 49th place at Chennai out of 120 teams and 36 place at Kolkata out of 140 teams.

Why I wanted to learn AWS

During my software development Internship at NOVOPAY SOLUTIONS, I worked on AWS Cloud, where I had to alert the POC on AWS Lambda whether it is possible to shift their whole architecture onto AWS Lambda.

AWS Lambda is an event-driven and serverless computing platform provided by Amazon as a part of the Amazon Web Services. It is a computer service that runs code in response to events and automatically manages the computer resources required by that code.

It provides Node.js, Python, and Java. It is preferred over other cloud computing services because it charges per request when hitting the running event.

How I approached learning AWS

First, I understand what AWS is. Why AWS Lambda? To answer this question, I went through the documentation to understand the concepts and their architecture with the help of "Hello World!" examples.

To give the POC feedback, we designed and developed a back-end of the document management service and a RESTful API. Document Management Service manages the file of different types like application/JSON, image file, etc. in the data and takes the request in the post get and delete form.

For that, we developed post controller for post request, get the controller from getting request and delete controller from delete request and a lambda function.

When a user hit a request from the postman, it will first hit on the AWS API Gateway then API gateway passes a JSON object to invoke the lambda function and select the desired controller.

Challenges I faced

  1. How to use an external source like Postman to hit the request on the API Gateway.
  2. How to implement @requestmapping(spring-boot Java) functionality.
  3. What should I use if the size of the Jar file is more than 50 MB?
  4. Should I write the existing code from scratch or just make some changes?
  5. How to migrate the MongoDB on AWS cloud.
  6. Very few experts are there who have some experience with AWS cloud, so I didn't have a chance to get someone's advice/help.

Key takeaways

How to use cloud computing to reduce the cost of the product?
Good experience with Spring-boot Java API and AWS cloud.

Tips and advice

AWS cloud will be the future servers of many companies.
Finally, coders don't have to worry about the servers and server costs because AWS will provide for you.

Discover and read more posts from Vinay Goel
get started